joyce8/EMBER2024-capa huggingface dataset:
Function at 0x511aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x6d9f74]
sub esp, 0x14
test ecx, ecx
je 0x511b2d
push edi
call fcn.004b3cb0
movss xmm0, dword [0x709310]
push 0
push 0x80
push 2
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [0x6d9f74]
push 0
push 0x40000000
push dword [ebp + 8]
mov ax, word [eax + 0x698]
mov word [ebp - 0x14], ax
movss dword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x511b2c
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x6060801
push eax
push 4
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x518670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CGuildFieldWar.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 0x14
mov dword [ebp - 4], 0
call fcn.0047ae10
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b983
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CEventMap.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
lea edi, [ebx + 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xbc]
mov byte [edi + 1], 0
call fcn.0044e4b0
lea ecx, [ebx + 0xdc]
mov byte [ebp - 4], 1
call fcn.0044e4b0
lea ecx, [ebx + 0xfc]
mov byte [ebp - 4], 2
call fcn.0044e4b0
lea ecx, [ebx + 0x11c]
mov byte [ebp - 4], 3
call fcn.0044e4b0
push 0x3e8
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.0047ae10
push 0x79
push 0
push edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x13c], 0
call sub.MSVCR120.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0xb8], 0
mov eax, ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51ff00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ba43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push 0xa
mov byte [ebp - 4], 1
call fcn.0047ae10
push 0x14
lea ecx, [edi + 0x24]
call fcn.0047ae10
mov ecx, edi
call fcn.00520ba0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x526e90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589676
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 4]
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FameManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x64
mov byte [ebp - 4], 1
call fcn.0047ae10
push 0x64
lea ecx, [edi + 0x28]
call fcn.0047ae10
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5276a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
test eax, eax
jne 0x5276f6
push 0x5a4854
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x52772b
mov edx, dword [ebp + 0xc]
mov ecx, edx
push edi
lea edi, [ecx + 1]
jmp 0x5276d0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5276d0
push esi
sub ecx, edi
push 1
push ecx
push edx
call dword [sym.imp.MSVCR120.dll_fwrite]
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
cmp eax, 1
jne 0x52772b
push 0x5a4858
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x52772b
push dword [ebp + 0xc]
push 0x5a485c
push esi
call dword [sym.imp.MSVCR120.dll_fprintf]
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x528d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x528d7e
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x59005c
push ebx
call dword [sym.imp.MSVCR120.dll_fopen]
lea edx, [edi + 0x30]
mov dword [edi + 4], eax
add esp, 8
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x528d97
mov eax, dword [edi + 4]
test eax, eax
je 0x528d74
push esi
mov esi, dword [sym.imp.MSVCR120.dll_fseek]
push 2
push 0
push eax
call esi
push dword [edi + 4]
call dword [sym.imp.MSVCR120.dll_ftell]
push 0
push 0
push dword [edi + 4]
mov dword [ebp + 8], eax
call esi
add esp, 0x1c
mov ecx, edi
call fcn.005284b0
push dword [edi + 4]
lea esi, [edi + 0x18]
push 1
push 0xc
push esi
call dword [sym.imp.MSVCR120.dll_fread]
mov eax, dword [esi]
lea ecx, [edi + 0x134]
sub eax, dword [edi + 0x1c]
add esp, 0x10
sub eax, dword [edi + 0x20]
push eax
call fcn.00406e40
test eax, eax
jne 0x528e38
push ebx
lea eax, [ebp - 0x100]
push str.Bin_File_Version_Error_____s
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x100]
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [edi + 0x134]
call fcn.00406e20
test eax, eax
je 0x528ee2
mov esi, dword [ebp + 8]
add esi, 0xfffffff2
push esi
call fcn.00585e5e
add esp, 4
mov dword [edi + 0x28], eax
test eax, eax
je 0x528e2d
push esi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [edi + 0x134]
push dword [edi + 0x1c]
push esi
push dword [edi + 0x28]
push dword [edi + 4]
call fcn.00406ca0
test eax, eax
jne 0x528eba
push ebx
lea eax, [ebp - 0x200]
push str.File_Open_Error_:__s
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x200]
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [edi + 4]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 0x2c], 1
mov eax, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [edi + 4]
mov esi, dword [sym.imp.MSVCR120.dll_fread]
lea eax, [edi + 0x24]
push 1
push 1
push eax
call esi
mov eax, dword [edi + 0x20]
add esp, 0x10
test eax, eax
je 0x528f16
push eax
call fcn.00585e5e
push dword [edi + 4]
mov dword [edi + 0x28], eax
push dword [edi + 0x20]
push 1
push eax
call esi
add esp, 0x14
push dword [edi + 4]
lea eax, [edi + 0x25]
push 1
push 1
push eax
call esi
push dword [edi + 4]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x14
mov dword [edi + 4], 0
mov ecx, edi
call fcn.00528450
test eax, eax
je 0x528e2d
mov ecx, edi
call fcn.005283d0
test eax, eax
je 0x528e2d
pop esi
mov dword [edi + 0x2c], 1
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x52a363
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push esi
mov esi, ecx
cmp eax, 0x4e
ja case.0x52a26c.10
movzx eax, byte [eax + 0x52a3d8]
jmp dword [eax*4 + 0x52a3a4]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x52a26c.10
call fcn.00529280
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529300
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529390
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005291b0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x52a26c.10
call fcn.00529260
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529220
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005298b0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je case.0x52a26c.10
push 8
call fcn.0045f850
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529490
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005296c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6d3af8
call fcn.004675a0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x52a26c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x52a26c.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x52a26c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.00529c80
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x52a430
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x52a43f
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x52a481
je 0x52a474
sub eax, 0x100
je 0x52a467
dec eax
jne 0x52a48f
cmp dword [ebp + 0x10], 0x11
jne 0x52a48f
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.0052a250
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.0052a0e0
cmp eax, 0x10f
je 0x52a498
cmp eax, 0x286
je 0x52a498
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0052a140
Function at 0x52c430
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x114]
mov ebx, ecx
mov eax, edi
mov dword [ebp - 4], ebx
sub esi, edi
mov edi, edi
mov dl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], dl
test dl, dl
jne 0x52c450
movsx eax, byte [edi]
push eax
call dword [sym.imp.MSVCR120.dll_isalpha]
add esp, 4
test eax, eax
je 0x52c4d6
lea eax, [ebp - 0x114]
push eax
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x52c489
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x52c4d6
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
movsx eax, word [esi + 0xa]
push eax
push dword [ecx]
lea eax, [ebp - 0x10]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x114]
push 0x5923a8
push eax
call ebx
mov eax, dword [esi + 0xc]
lea edi, [edi + 1]
lea ecx, [eax + edi*4]
add esp, 0xc
cmp dword [ecx], 0
jne 0x52c498
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x114]
push dword [ebp + 0xc]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
xor ecx, ecx
mov dword [ebx + 0x14], eax
test eax, eax
pop edi
setne cl
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x52deb0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x398
push esi
push 0x1ff
lea eax, [ebp - 0x30f]
mov byte [ebp - 0x310], 0
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
test eax, eax
je 0x52defe
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push dword [ebp + 8]
push 0x5a4a88
push eax
call esi
add esp, 0x14
jmp 0x52df15
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push dword [ebp + 8]
push str._s_line:_d_
push eax
call esi
add esp, 0x10
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push str.._Log_Debug__4d_02d_02d.txt
push eax
call esi
add esp, 0x14
cmp dword [0x6ebda0], 0
jne 0x52dfff
push edi
push 0
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x52dfd2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x110]
push 0x5a4ab0
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x52dffe
call fcn.0052d6a0
push eax
lea eax, [ebp - 0x310]
push eax
push str._stime:_s_n
push esi
call dword [sym.imp.MSVCR120.dll_fprintf]
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0x10]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x52df8e
mov dword [0x6ebda0], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x538170
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c3bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push 0xa
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.005842c0
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.0053b790
lea edi, [esi + 0x94]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea ebx, [esi + 0xb8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea eax, [esi + 0xdc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x100]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x124]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
push 0x80
push 0x5a5788
push 0x6af960
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCR120.dll_strncpy]
add esp, 0xc
mov dword [0x6af95c], 0x32
cmp dword [0x6af954], 0
jne 0x538374
push 0x64
push 0x6af954
call fcn.005385d0
mov eax, dword [0x6af954]
add esp, 8
mov dword [0x6af958], eax
push 0x1e
mov ecx, edi
mov dword [esi + 0x64], 0
call fcn.0047ae10
push 0x1e
mov ecx, ebx
call fcn.0047ae10
push 0x1e
lea ecx, [esi + 0xdc]
call fcn.0047ae10
push 0x1e
lea ecx, [esi + 0x100]
call fcn.0047ae10
push 3
lea ecx, [esi + 0x124]
call fcn.0047ae10
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x53dd90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CSkillObjectTargetList.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 1
mov dword [ebp - 4], 0
call fcn.0047ae10
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xb7]
mov word [esi + 0x30], ax
movzx eax, word [ecx + 0xad]
mov word [esi + 0x32], ax
mov dword [esi + 0x2c], 0
movzx eax, word [ecx + 0x27]
mov word [esi + 0x34], ax
movzx eax, word [ecx + 0x29]
mov ecx, dword [ebp - 0xc]
mov word [esi + 0x36], ax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x546810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x404]
mov edi, ecx
push 0
push eax
call sub.MSVCR120.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x546843
sub ecx, edx
push ecx
push ebx
mov ecx, edi
call fcn.005467b0
xor edx, edx
mov ecx, dword [edi + 0x28]
mov esi, eax
div dword [edi + 0x24]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x54687d
cmp dword [ecx], esi
je 0x546873
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x546866
jmp 0x54687d
cmp dword [ecx + 4], 0
jne 0x54690e
cmp dword [edi + 0x20], 0xcd
jb 0x5468b1
push 0x33
mov ecx, edi
call fcn.00546930
lea eax, [ebp - 0x404]
push 0x5a6878
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi]
push 0
push 0
push 0
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18c]
mov dword [ebp - 4], eax
test eax, eax
je 0x54690e
mov ecx, dword [edi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x114]
mov eax, dword [edi]
push dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov ecx, edi
call fcn.00546770
test eax, eax
je 0x5468f8
mov ecx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
push eax
lea ecx, [edi + 4]
call fcn.00584380
push esi
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 0x20]
call fcn.00453ff0
push dword [ebp + 0x14]
mov eax, dword [edi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x546ae0
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x4c]
mov edi, eax
add edx, 0x493e0
cmp edi, edx
jbe 0x546b0e
mov ecx, esi
call fcn.00546a10
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x546b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CMHAudioManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [0x708db8], 0
push 0x20
mov dword [ebp - 4], 0
mov dword [esi + 0x4c], 0
call fcn.0047ae10
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov word [esi + 0x44], ax
mov dword [esi + 0x34], eax
mov eax, esi
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x2c], 0x3f800000
mov dword [esi + 0x30], 0x3f800000
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5495a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x10
je 0x54971c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x94
push 0
mov eax, dword [ebx]
mov dword [ebp + 8], eax
lea esi, [eax + 0x37c]
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, ebx
call fcn.00547e80
push 0
mov ecx, ebx
call fcn.00547d10
test eax, eax
je 0x549704
push edi
lea esp, [esp]
mov edi, dword [eax]
mov ecx, eax
call fcn.00547a10
mov bl, al
mov ecx, 0x708e18
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x56c]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.00548c20
test eax, eax
je case.0x549633.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x549633.10
movzx ecx, byte [ecx + 0x549768]
jmp dword [ecx*4 + 0x549724]
movzx ecx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x549633.10
movzx ecx, word [edi + 0x30]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x549633.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x549633.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x549633.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x84], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x88], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x549633.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x90], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00547d10
test eax, eax
jne 0x5495f0
pop edi
mov ecx, dword [0x6c426c]
call fcn.00469b30
mov ecx, dword [0x6c426c]
call fcn.004698a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10