joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d410
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x818
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
call fcn.004bd9e0
test al, al
jne 0x40d45e
push str.Cannot_Load_Mob_AI
mov eax, dword [0x587970]
add eax, 0xe0
push eax
call fcn.004efdc0
add esp, 8
xor al, al
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.0051a8be
add esp, 0x818
ret
call fcn.00408c70
test al, al
jne 0x40d481
mov ecx, dword [0x587970]
add ecx, 0xe0
push str.Cannot_Load_String_DB_File
push ecx
call fcn.004efdc0
add esp, 8
push str..Configps_game.ini
push 0x400
lea edx, [esp + 0x410]
push edx
push 0
push str.GameDef
push 0x56fd58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x40d446
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ebx, [esp + 0x310]
lea edx, [esp + 0x210]
lea ecx, [esp + 0x410]
call fcn.004e1670
mov eax, dword [0x587970]
add esp, 8
test eax, eax
je 0x40d4e3
add eax, 0xe0
jmp 0x40d4e5
xor eax, eax
push 0x3c
push 0xa
lea edx, [esp + 0x110]
push edx
mov dword [0x109c32c], eax
lea eax, [esp + 0x314]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x21c]
push edx
push 1
mov ecx, 0x109bed0
call fcn.004f4a10
test al, al
jne 0x40d525
push str.DB_gamedef_connect_error
jmp 0x40d433
call fcn.004d7990
test al, al
jne 0x40d545
mov ecx, dword [0x587970]
push str.DB_table_load_error
add ecx, 0xe0
push ecx
jmp 0x40d43e
call fcn.004e0ca0
test al, al
jne 0x40d565
mov edx, dword [0x587970]
push str.NPC_data_load_error
add edx, 0xe0
push edx
jmp 0x40d43e
mov ecx, 0x109bed0
call fcn.004f45a0
mov ecx, 0x109bed0
call fcn.004f47a0
call fcn.004d5fd0
call fcn.0041ab20
test al, al
jne 0x40d591
push str.World_InitMaps_error
jmp 0x40d433
call fcn.0040b500
mov ecx, dword [esp + 0x814]
pop ebx
xor ecx, esp
mov al, 1
call fcn.0051a8be
add esp, 0x818
ret
Function at 0x40e490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x551333
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.00410db0
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [esp + 0x18], 0
call fcn.0040ec50
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x40e800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5512d3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.00410e20
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [esp + 0x18], 0
call fcn.0040f1c0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4114e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x150
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
mov esi, dword [0x587964]
lea eax, [esp + 8]
push eax
push str..dataMobID.ini
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x41152a
push str..dataMobID.ini
push 0x56fe6c
push str.MOB_ID
push str.INIT_MOBID_SET
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str..dataMobID.ini
push 1
push str.MOB_ID
push str.INIT_MOBID_SET
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x14c]
mov dword [esi + 8], eax
pop esi
xor ecx, esp
call fcn.0051a8be
add esp, 0x150
ret
Function at 0x415300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x551193
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.004185f0
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [esp + 0x18], 0
call fcn.00415d80
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x41bbe0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x551a28
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
lea esi, [edi + 0x38]
call fcn.00415000
lea eax, [edi + 0x64]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.00415290
lea ecx, [edi + 0xac]
push ecx
mov byte [esp + 0x1c], 1
call fcn.0041dfd0
lea edx, [edi + 0xf4]
push edx
mov byte [esp + 0x1c], 2
call fcn.0041e270
lea eax, [edi + 0x13c]
push eax
mov byte [esp + 0x1c], 3
call fcn.0041e500
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0xfa0
lea ecx, [edi + 0x18c]
push ecx
call esi
lea eax, [edi + 0x1a8]
mov dword [edi + 0x184], eax
mov dword [eax + 4], eax
mov eax, dword [edi + 0x184]
mov dword [eax], eax
mov edx, dword [edi + 0x184]
push 0xfa0
lea eax, [edi + 0x1b8]
push eax
mov dword [edi + 0x188], edx
mov dword [edi + 0x1a4], ebx
call esi
lea eax, [edi + 0x1d4]
mov dword [edi + 0x1b0], eax
mov dword [eax + 4], eax
mov eax, dword [edi + 0x1b0]
mov dword [eax], eax
mov ecx, dword [edi + 0x1b0]
push 0xfa0
lea edx, [edi + 0x1e4]
push edx
mov dword [edi + 0x1b4], ecx
mov dword [edi + 0x1d0], ebx
call esi
lea eax, [edi + 0x200]
mov dword [edi + 0x1dc], eax
mov dword [eax + 4], eax
mov eax, dword [edi + 0x1dc]
mov dword [eax], eax
mov eax, dword [edi + 0x1dc]
push 0xfa0
lea ecx, [edi + 0x210]
push ecx
mov dword [edi + 0x1e0], eax
mov dword [edi + 0x1fc], ebx
call esi
lea eax, [edi + 0x22c]
mov dword [edi + 0x208], eax
mov dword [eax + 4], eax
mov eax, dword [edi + 0x208]
mov dword [eax], eax
mov edx, dword [edi + 0x208]
push 0xfa0
lea eax, [edi + 0x23c]
push eax
mov dword [edi + 0x20c], edx
mov dword [edi + 0x228], ebx
call esi
lea eax, [edi + 0x258]
mov dword [edi + 0x234], eax
mov dword [eax + 4], eax
mov eax, dword [edi + 0x234]
mov dword [eax], eax
mov ecx, dword [edi + 0x234]
push 0xfa0
lea edx, [edi + 0x268]
push edx
mov dword [edi + 0x238], ecx
mov dword [edi + 0x254], ebx
call esi
lea eax, [edi + 0x284]
mov dword [edi + 0x260], eax
mov dword [eax + 4], eax
mov eax, dword [edi + 0x260]
mov dword [eax], eax
mov eax, dword [edi + 0x260]
mov dword [edi + 0x264], eax
mov dword [edi + 0x280], ebx
mov dword [edi + 0x2ec], ebx
mov dword [edi + 0x2f0], ebx
mov dword [edi + 0x2f4], ebx
mov dword [edi + 0x2f8], ebx
mov dword [edi + 0x2fc], ebx
mov byte [edi + 0x300], bl
mov dword [edi + 0x304], ebx
push 0x50
lea ecx, [edi + 0x28c]
push ebx
push ecx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x2dc], ebx
mov dword [edi + 0x2e4], ebx
mov dword [edi + 0x2e0], ebx
mov dword [edi + 0x308], ebx
mov dword [edi + 0x30c], ebx
mov dword [edi + 0x310], ebx
mov dword [edi + 0x314], ebx
mov dword [edi + 0x10], edi
mov dword [edi + 0x20], ebx
call fcn.0051d6f0
add esp, 0xc
mov dword [edi + 0x24], ebx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x41e040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x550fe3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.00421d90
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [esp + 0x18], 0
call fcn.0041eb40
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x41e2e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x550f83
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.00421e00
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [esp + 0x18], 0
call fcn.0041f080
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x41e570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x550f23
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.00421e70
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [esp + 0x18], 0
call fcn.0041f5c0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x42dbc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push edi
push str..datamap.ini
push 0xff
lea eax, [esp + 0x14]
push eax
push 0
push str.MapCount
push str.BASE
call ebx
test eax, eax
ja 0x42dc08
mov ecx, 0x30
mov word [esp + 0xc], cx
lea edx, [esp + 0xc]
push edx
call fcn.0051ba99
add esp, 4
push str..datamap.ini
push 0xff
mov dword [0x587bcc], eax
lea eax, [esp + 0x14]
push eax
push 0
push str.HUGameStartMapPos
push str.BASE
call ebx
test eax, eax
ja 0x42dc4c
mov ecx, 6
mov esi, str.1___813.0___39.0__1710.0
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
mov esi, 0x587bd0
mov edi, 0x5858c0
call fcn.0042d100
add esp, 4
push str..datamap.ini
push 0xff
lea edx, [esp + 0x14]
push edx
push 0
push str.ELGameStartMapPos
push str.BASE
call ebx
test eax, eax
ja 0x42dc95
mov ecx, 6
mov esi, str.1__1489.0___30.0__1720.0
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea eax, [esp + 0xc]
push eax
mov esi, 0x587bd4
mov edi, 0x585cc0
call fcn.0042d100
add esp, 4
push str..datamap.ini
push 0xff
lea ecx, [esp + 0x14]
push ecx
push 0
push str.BAGameStartMapPos
push str.BASE
call ebx
test eax, eax
ja 0x42dcde
mov ecx, 6
mov esi, str.2__1726.0__262.0___334.0
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edx, [esp + 0xc]
push edx
mov esi, 0x587bd8
mov edi, 0x5860c0
call fcn.0042d100
add esp, 4
push str..datamap.ini
push 0xff
lea eax, [esp + 0x14]
push eax
push 0
push str.DEGameStartMapPos
push str.BASE
call ebx
test eax, eax
ja 0x42dd27
mov ecx, 6
mov esi, str.2___419.0__230.0___723.0
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
mov esi, 0x587bdc
mov edi, 0x5864c0
call fcn.0042d100
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 4
push str..datamap.ini
push 0
push str.ReBirthAddSkillID
push str.DEFAULT_SET_ZONE
call esi
push str..datamap.ini
push 0
push str.ReBirthAddSkillLV
push str.DEFAULT_SET_ZONE
mov word [0x587be0], ax
call esi
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebx
mov byte [0x58794f], al
xor ecx, esp
mov al, 1
call fcn.0051a8be
add esp, 0x104
ret
Function at 0x42fb50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
cmp dword [edi + 0x40], ebp
push esi
mov dword [esp + 0x14], ebp
jle 0x42fd0a
mov eax, dword [edi + 0x44]
lea ecx, [eax + ebp]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov byte [esp + 0xf], 0
call fcn.00424450
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x42fcf5
mov ecx, dword [edi + 0x44]
cmp dword [ecx + ebp + 0xc], 0
lea esi, [ecx + ebp]
je 0x42fcf5
mov edx, ecx
mov eax, dword [edx + ebp + 0xc]
fld dword [eax + 8]
sub esp, 8
fstp dword [esp + 4]
fld dword [eax]
fstp dword [esp]
push edi
call fcn.0041bad0
test al, al
je 0x42fcf5
cmp byte [ebx], 1
jne 0x42fbd7
mov al, byte [ebx + 0x124]
cmp al, 7
je 0x42fcf5
cmp al, 8
je 0x42fcf5
cmp dword [esi], 8
jne 0x42fc64
mov eax, dword [edi + 0x44]
mov esi, dword [eax + ebp + 0xc]
fld dword [esi + 8]
call fcn.005250c0
fld dword [esi]
mov ebx, eax
call fcn.005250c0
test eax, eax
jl 0x42fc1d
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x42fc1d
test ebx, ebx
jl 0x42fc1d
cmp ebx, ecx
jge 0x42fc1d
imul ecx, ebx
lea edx, [edi + 8]
add ecx, eax
push edx
call fcn.00422410
test al, al
je 0x42fc60
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + ebp + 0xc]
fld dword [ecx + 8]
mov edx, dword [eax + ebp]
add eax, ebp
sub esp, 0x10
fstp qword [esp + 8]
fld dword [ecx]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x78]
fstp qword [esp]
push ecx
mov ecx, dword [0x587970]
push edx
push eax
add ecx, 0xe0
push str.npc_guard_move_block_map_d_npctype_d_npctypeid_d_posx_.3f_posz.3f
push ecx
call fcn.004efdc0
add esp, 0x24
mov byte [esp + 0xf], 1
mov ebx, dword [esp + 0x10]
mov eax, dword [0x587964]
lea esi, [eax + 0x60]
mov dword [esp + 0x10], eax
call fcn.004121c0
mov esi, eax
test esi, esi
je 0x42fcf5
cmp dword [esi + 0x14], 0
jne 0x42fc92
mov edx, dword [esp + 0x10]
add edx, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x44]
add eax, ebp
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx + ebp]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + ebp + 4]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x44]
mov eax, dword [edx + ebp + 0xc]
fld dword [eax]
fstp dword [esi + 8]
fld dword [eax + 4]
fstp dword [esi + 0xc]
fld dword [eax + 8]
fstp dword [esi + 0x10]
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + ebp + 0x10]
fld dword [ecx]
call fcn.005250c0
cmp byte [esp + 0xf], 0
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x50], ebx
je 0x42fcee
mov dword [esi + 0x68], 0xffffffff
mov ebx, eax
call fcn.0041d4c0
mov eax, dword [esp + 0x14]
inc eax
add ebp, 0x14
cmp eax, dword [edi + 0x40]
mov dword [esp + 0x14], eax
jl 0x42fb65
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x43a4a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x550d13
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x18]
push ecx
mov ecx, esi
call fcn.0043e690
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov byte [esp + 0x18], 0
call fcn.0043b850
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x455e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esi + 0x144c], al
mov dword [esi + 0x1544], eax
mov dword [esi + 0x1554], eax
mov dword [esi + 0x554c], eax
call edi
mov dword [esi + 0x5550], eax
fld dword [esi + 0xd0]
fstp dword [esi + 0x5554]
fld dword [esi + 0xd4]
fstp dword [esi + 0x5558]
fld dword [esi + 0xd8]
fstp dword [esi + 0x555c]
fld dword [esi + 0xd0]
fstp dword [esi + 0x5560]
fld dword [esi + 0xd4]
fstp dword [esi + 0x5564]
fld dword [esi + 0xd8]
fstp dword [esi + 0x5568]
fldz
fst dword [esi + 0x556c]
fst dword [esi + 0x5570]
fst dword [esi + 0x5574]
fstp dword [esi + 0x5578]
call edi
mov ebx, eax
call fcn.00495ad0
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.00493730
Function at 0x464ca0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
push 0x10
mov ecx, 0x5845b0
mov edx, 0x5868c0
call fcn.004e7070
add esp, 4
mov edi, 0x5868e0
mov ebp, 0x7f
xor ebx, ebx
lea eax, [edi - 0x10]
push eax
mov eax, 0x10
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x6a09e667
mov dword [esp + 0x20], 0xbb67ae85
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
call fcn.004e6db0
add esp, 4
mov ecx, esi
call fcn.004e6e40
add edi, 0x20
sub ebp, 1
jne 0x464cd2
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051a8be
add esp, 0x74
ret
Function at 0x48cf00
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
call fcn.004119b0
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x48d023
mov dword [esi + 0x20], ebp
movzx eax, word [ebp]
mov dword [esi + 8], eax
mov byte [esi + 0xc], bl
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1e], bl
cmp dword [ebp + 0x128], ebx
jne 0x48cf47
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
jmp 0x48cf61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp + 0x128]
imul ecx, ecx, 0xea60
add ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0x124]
cmp eax, ebx
jne 0x48cf70
mov dword [esi + 0x18], ebx
jmp 0x48cf7c
imul eax, eax, 0xea60
add eax, dword [esi + 0x10]
mov dword [esi + 0x18], eax
lea ebx, [edi + 0x11f8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x11f0]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x11f0]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [edi + 0x11f0]
mov eax, dword [edx]
mov dword [eax + 4], esi
mov ecx, dword [edi + 0x11f0]
mov dword [ecx], esi
mov esi, 1
add dword [edi + 0x1210], esi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0x147]
cmp al, 3
jne 0x48cfd3
add dword [edi + 0x5864], esi
jmp 0x48cfdd
cmp al, 2
jne 0x48cfdd
add dword [edi + 0x5868], esi
mov eax, dword [edi + 0x582c]
mov cx, word [ebp]
mov edx, 0xa01
mov dword [esp + 0xe], eax
mov word [esp + 0xc], dx
mov dx, word [ebp + 0x128]
push 0xa
lea eax, [esp + 0x10]
mov word [esp + 0x16], cx
mov ecx, dword [0x58796c]
push eax
mov word [esp + 0x1c], dx
call fcn.004ed2d0
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret 4
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 4
Function at 0x48dc10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xcc
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0xc8], eax
cmp byte [esp + 0xd4], 0
push ebx
push ebp
push esi
mov ebx, edx
mov ebp, dword [ebx + 0x20]
push edi
mov edi, ecx
jne 0x48dd0f
mov ecx, dword [esp + 0xe0]
movzx edx, word [ebx + 8]
mov eax, 0x903
mov word [esp + 0x14], ax
push 0x16
lea eax, [esp + 0x18]
mov dword [esp + 0x1a], ecx
xor esi, esi
push eax
mov ecx, edi
mov word [esp + 0x22], dx
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x26], esi
mov dword [esp + 0x2a], esi
mov byte [esp + 0x2e], 0
mov byte [esp + 0x2f], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0
call fcn.004ed0e0
push esi
mov eax, ebx
mov esi, edi
call fcn.0048d030
lea esi, [esp + 0x2c]
call fcn.00467f60
movzx edx, word [ebx + 8]
mov word [esp + 0x83], dx
mov ecx, 0x502
lea eax, [ebp + 2]
lea edx, [esp + 0x85]
mov word [esp + 0x2c], cx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48dcc6
xor eax, eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov byte [esp + 0xae], al
mov byte [esp + 0xaf], al
push 0xa3
lea eax, [esp + 0x30]
mov byte [esp + 0xa9], cl
mov ecx, dword [0x587974]
push eax
call fcn.004ed210
jmp 0x48ddf5
cmp dword [ebp + 0x124], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x48dd37
call esi
mov ecx, dword [ebp + 0x124]
imul ecx, ecx, 0xea60
add ecx, dword [ebx + 0x10]
cmp ecx, eax
ja 0x48ddf5
cmp byte [ebp + 0x15c], 1
jne 0x48dd4f
mov edx, dword [esp + 0xe0]
push edx
xor edx, edx
jmp 0x48ddee
cmp byte [ebp + 0x15d], 0
je 0x48dd7f
mov cx, word [ebx + 8]
push 4
lea edx, [esp + 0x14]
mov eax, 0x907
mov word [esp + 0x16], cx
push edx
mov ecx, edi
mov byte [ebx + 0xc], 1
mov word [esp + 0x18], ax
call fcn.004ed0e0
jmp 0x48ddf5
call esi
movzx esi, byte [ebp + 0x147]
mov edx, 2
add ebp, 0x1a0
mov eax, esi
sub eax, 1
je 0x48ddbc
sub eax, 1
jne 0x48ddd8
mov cl, byte [ebp + 2]
cmp cl, 1
jb 0x48ddd8
movzx eax, word [ebp]
cmp ax, 1
jb 0x48ddd8
cmp ax, 2
ja 0x48ddd8
movzx eax, ax
jmp 0x48ddd2
mov cl, byte [ebp + 4]
cmp cl, 1
jb 0x48ddd8
mov al, byte [ebp + 3]
cmp al, 1
jb 0x48ddd8
cmp al, 3
ja 0x48ddd8
movzx eax, al
cmp byte [eax + ebx + 0x1b], cl
jae 0x48dde6
test edx, edx
je 0x48dde6
dec edx
sub ebp, 0x20
test edx, edx
jge 0x48dd93
jmp 0x48ddf5
mov ecx, dword [esp + 0xe0]
push ecx
mov ecx, edi
call fcn.0048de10
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051a8be
add esp, 0xcc
ret 8
Function at 0x4a04c0
Capabilities:
Hash data using djb2

Disassembly:
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a04c5
sub eax, edx
mov edx, eax
mov eax, 0x1505
mov ecx, 0
je 0x4a04f6
push ebx
push edi
mov edi, edi
movsx edi, byte [ecx + esi]
mov ebx, eax
shl ebx, 5
add ebx, eax
add edi, ebx
inc ecx
mov eax, edi
cmp ecx, edx
jb 0x4a04e0
pop edi
pop ebx
ret