All pastes #815999 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-12-14 15:51 UTC
rendered paste body
__text:0001FF54 __Registration_generateHashForName__ proc near
__text:0001FF54                                         ; DATA XREF: __inst_meth:0004B76Co
__text:0001FF54
__text:0001FF54 var_48          = dword ptr -48h
__text:0001FF54 var_44          = dword ptr -44h
__text:0001FF54 var_40          = dword ptr -40h
__text:0001FF54 var_3C          = qword ptr -3Ch
__text:0001FF54 var_1C          = dword ptr -1Ch
__text:0001FF54 arg_8           = dword ptr  10h
__text:0001FF54
__text:0001FF54                 push    ebp
__text:0001FF55                 mov     ebp, esp
__text:0001FF57                 push    edi
__text:0001FF58                 push    esi
__text:0001FF59                 push    ebx
__text:0001FF5A                 sub     esp, 3Ch
__text:0001FF5D                 mov     ebx, [ebp+arg_8]
__text:0001FF60                 mov     eax, ds:off_47D78
__text:0001FF65                 mov     [esp+48h+var_44], eax
__text:0001FF69                 mov     [esp+48h+var_48], ebx
__text:0001FF6C                 call    _objc_msgSend
__text:0001FF71                 mov     esi, eax        ; esi = hash
__text:0001FF73                 mov     eax, ds:off_473D4
__text:0001FF78                 mov     [esp+48h+var_44], eax
__text:0001FF7C                 mov     [esp+48h+var_48], ebx
__text:0001FF7F                 call    _objc_msgSend
__text:0001FF84                 mov     [ebp+var_1C], eax ; var_1c = length
__text:0001FF87                 mov     ecx, 0D0552E29h ; ecx = 3495243305
__text:0001FF8C                 mov     eax, esi        ; eax = hash
__text:0001FF8E                 mul     ecx             
__text:0001FF90                 mov     ecx, eax     
__text:0001FF92                 imul    eax, esi, 2Ch   
__text:0001FF95                 lea     ebx, [eax+edx]
__text:0001FF98                 mov     esi, [ebp+var_1C]
__text:0001FF9B                 mov     eax, 4876E800h
__text:0001FFA0                 mul     esi
__text:0001FFA2                 imul    esi, 17h
__text:0001FFA5                 lea     edx, [esi+edx]
__text:0001FFA8                 add     ecx, eax
__text:0001FFAA                 adc     ebx, edx
__text:0001FFAC                 add     ecx, 107A4000h
__text:0001FFB2                 adc     ebx, 5AF3h


//dont worry about the code past here, it is irrelevant

__text:0001FFB8                 mov     dword ptr [esp+48h+var_3C], ecx
__text:0001FFBC                 mov     dword ptr [esp+48h+var_3C+4], ebx
__text:0001FFC0                 mov     [esp+48h+var_40], offset cfstr__12qi ; "%.12qi"
__text:0001FFC8                 mov     eax, ds:off_47450
__text:0001FFCD                 mov     [esp+48h+var_44], eax
__text:0001FFD1                 mov     eax, ds:off_481E4
__text:0001FFD6                 mov     [esp+48h+var_48], eax
__text:0001FFD9                 call    _objc_msgSend
__text:0001FFDE                 mov     [esp+48h+var_40], 1
__text:0001FFE6                 mov     dword ptr [esp+48h+var_3C], 0Ch
__text:0001FFEE                 mov     edx, ds:off_47440
__text:0001FFF4                 mov     [esp+48h+var_44], edx
__text:0001FFF8                 mov     [esp+48h+var_48], eax
__text:0001FFFB                 call    _objc_msgSend
__text:00020000                 add     esp, 3Ch
__text:00020003                 pop     ebx
__text:00020004                 pop     esi
__text:00020005                 pop     edi
__text:00020006                 pop     ebp
__text:00020007                 retn