joyce8/EMBER2024-capa huggingface dataset:
Function at 0x590400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
mov ecx, dword [ecx + 4]
test al, al
je 0x59041d
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x590830
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c741e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x78d5fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0057a0f0
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.CLightBase.0
mov eax, edi
mov dword [edi + 8], vtable.CSingleton_class_CLightManager_.0
mov dword [0x7ad0a0], eax
mov dword [edi], vtable.CLightManager.0
lea esi, [edi + 0xc]
mov dword [edi + 4], vtable.CLightManager.1.0
mov dword [edi + 8], vtable.CLightManager.2.0
push 8
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0061aba4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x20]
mov byte [ebp - 4], 3
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
unpcklps xmm0, xmm0
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x48], vtable.CDynamicPool_class_CLight_.0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], eax
mov eax, edi
mov dword [edi + 0x40], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x591de0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x7e012c], eax
cmp dword [0x7e1e54], eax
je 0x591f2e
push 8
lea ecx, [ebp - 0x18]
mov dword [0x7e1e54], eax
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00594b80
add esp, 0xc
mov dword [0x7e1e24], eax
cmp dword [0x77d8fc], eax
je 0x591f2e
push 0x7e0130
mov dword [0x77d8fc], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x7e012c]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x591e98
sub eax, 0xd
je 0x591e85
sub eax, 1
jne case.default.0x591eaa
mov byte [0x7e013a], al
mov dword [0x7e1604], 0x77d8de
jmp 0x591f13
mov byte [0x7e013a], 1
mov dword [0x7e1604], 0x77d8e4
jmp 0x591f13
mov eax, ecx
mov byte [0x7e013a], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x591eaa
jmp dword [eax*4 + 0x591f3c]
mov byte [0x7e013a], 0
mov dword [0x7e1604], 0x77d8d2
jmp 0x591f13
mov dword [0x7e1604], 0x77d8d8
jmp 0x591f13
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x7e1604], 0x77d8cc
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x7e1604]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.006711e7
movzx ecx, ax
add esp, 4
mov eax, dword [0x7e1604]
mov word [eax + 2], cx
cmp dword [0x7e1e20], 0x4e8
je 0x591f2e
mov eax, dword [0x7e1e24]
mov dword [0x7e1e20], eax
call fcn.00592030
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret
Function at 0x592730
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x59297d
mov ecx, dword [0x7e012c]
cmp dword [0x7e1e50], ecx
je 0x5929cb
cmp byte [0x7e0122], 0
mov eax, 0x404
mov dword [0x7e1e50], ecx
je 0x59279b
cmp cx, ax
jne 0x59279b
mov dword [0x7e01dc], 0x7000404
mov eax, 0x7000404
mov dword [0x7e01e0], 0
jmp 0x59297f
cmp ecx, 0xe0080404
je 0x5927c7
cmp ecx, 0xe0090404
je 0x5927c7
cmp ecx, 0xe00a0404
je 0x5927c7
cmp ecx, 0xe00b0404
je 0x5927c7
cmp ecx, 0xe00e0804
jne 0x592969
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x592969
cmp dword [0x7e0118], 0
jne 0x59288e
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push str.TINTLGNT.IME
push 0xffffffffffffffff
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x59288e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x59288e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x59288e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x59288e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x592969
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x7e012c]
mov ebx, eax
test ebx, ebx
je 0x592969
call fcn.0061b950
mov eax, esp
push eax
push ebx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x592969
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push str._n_r_t_f_
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x592969
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
shl ecx, 8
cmp dword [0x7e0118], 0
jne 0x5929ba
mov eax, 0x404
cmp si, ax
jne 0x592998
cmp ecx, 0x4020000
je 0x5929ba
cmp ecx, 0x4030000
je 0x5929ba
cmp ecx, 0x4040000
je 0x5929ba
cmp ecx, 0x5000000
je 0x5929ba
cmp ecx, 0x5010000
je 0x5929ba
cmp ecx, 0x5020000
je 0x5929ba
cmp ecx, 0x6000000
je 0x5929ba
mov dword [0x7e01e0], 0
mov dword [0x7e01dc], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x592969
cmp ecx, 0x4010000
je 0x5929ba
cmp ecx, 0x4020000
je 0x5929ba
cmp ecx, 0x5030000
jne 0x592969
mov eax, esi
or eax, ecx
mov dword [0x7e01dc], eax
mov eax, dword [edx + 0xc]
mov dword [0x7e01e0], eax
mov eax, dword [edi*4 + 0x7e01dc]
jmp 0x59297f
Function at 0x592ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7e012c]
push ebx
cmp eax, 0xe00e0804
je 0x592cae
cmp eax, 0xe0090404
je 0x592cae
mov ebx, dword [0x7e01dc]
test ebx, ebx
je 0x592cae
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x592c9d
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x704400]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x704402]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x7043e8]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x7043f8]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x592b94
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x592ba4
mov ecx, edx
lea eax, [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x592c88
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 4
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.Keyboard_Mapping
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x592c65
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x592c30
cmp al, 0x22
je 0x592c46
cmp al, 0x23
je 0x592c46
cmp ebx, 0x5010000
je 0x592c40
cmp ebx, 0x5020000
jne 0x592c65
sub al, 0x22
cmp al, 2
ja 0x592c65
push dword [ebp - 0x110]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x110]
mov bl, byte [ebp - 0x109]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0061abe2
mov esp, ebp
pop ebp
ret
Function at 0x592ee0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x7e0120], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x5930a8
cmp byte [0x7e1e38], 0
mov dword [0x7e0128], eax
jne 0x592f42
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x592f42
push 0x7e1e34
push 0x704308
push 1
push 0
push 0x7272a0
mov byte [0x7e1e38], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x7e0140
mov dword [0x7e0140], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x7e0121], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x59302a
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x592f80
mov eax, dword [0x704318]
mov dword [ecx], eax
mov eax, dword [0x70431c]
mov dword [ecx + 4], eax
mov ax, word [0x704320]
mov word [ecx + 8], ax
mov al, byte [0x704322]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x7e013c], eax
test eax, eax
je 0x593023
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x7e013c]
mov dword [0x7e0108], eax
call esi
push str.ImmLockIMCC
push dword [0x7e013c]
mov dword [0x7e010c], eax
call esi
push str.ImmUnlockIMCC
push dword [0x7e013c]
mov dword [0x7e0110], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x7e013c]
mov dword [0x7e0114], eax
call esi
pop esi
test eax, eax
je 0x59302a
push 0xffffffffffffffff
call eax
jmp 0x59302a
mov byte [0x7e0121], 1
push dword [0x7e0128]
mov byte [0x7e0120], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x7e0128]
call sub.IMM32.dll_ImmReleaseContext
call fcn.00591de0
call fcn.00591db0
push 2
call fcn.00594040
add esp, 4
call fcn.00594400
test eax, eax
setne byte [0x7e0122]
call fcn.00591f60
cmp byte [0x7e0122], 0
je 0x5930a8
mov eax, dword [0x7e012c]
and eax, 0x3ff
cmp eax, 4
jne 0x593097
call fcn.005921a0
test eax, eax
je 0x593097
mov al, 1
jmp 0x593099
xor al, al
push 0
mov byte [0x7e0125], al
call fcn.005945c0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.0061abe2
mov esp, ebp
pop ebp
ret 4
Function at 0x593720
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c7520
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x834], eax
cmp byte [eax + 0x20], 0
je 0x593947
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x593947
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 0x830], ebx
test ebx, ebx
je 0x59379e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x82c], edi
test edi, edi
jne 0x5937a9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x593947
mov esi, edi
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x5937d0
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x593963
mov dword [ebp - 0x814], 0xf
cmp esi, 0x10
jae 0x593815
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push edi
push eax
call fcn.00653a50
mov byte [ebp + esi - 0x828], 0
jmp 0x593896
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x593839
mov eax, connect
mov edi, closesocket
push eax
call fcn.00455860
add esp, 4
mov ebx, eax
jmp 0x59386d
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x59385a
push eax
call fcn.00455860
add esp, 4
mov ebx, eax
jmp 0x59386d
test eax, eax
je 0x59386b
push eax
call fcn.0061aba4
add esp, 4
mov ebx, eax
jmp 0x59386d
xor ebx, ebx
push esi
push dword [ebp - 0x82c]
mov dword [ebp - 0x828], ebx
push ebx
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x814], edi
call fcn.00653a50
mov byte [ebx + esi], 0
mov ebx, dword [ebp - 0x830]
add esp, 0xc
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x593911
cmp dword [ebp - 0x814], 0x10
lea ecx, [ebp - 0x828]
push 0x400
cmovae ecx, dword [ebp - 0x828]
lea edx, [ebp - 0x810]
push edx
add eax, ecx
sub eax, ecx
push eax
push ecx
push 0
push dword [0x7e1e24]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x593911
mov ecx, dword [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.005930c0
mov ecx, dword [0x7e1608]
test ecx, ecx
je 0x593911
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x814]
cmp ecx, 0x10
jb 0x593947
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x59393d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x593968
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret
call fcn.0044c6a0
call fcn.0065ecef
int3
Function at 0x596d80
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x596d99
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x596df0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c77c5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x78d5fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CWikiRenderTarget.0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
lea ebx, [edi + 0xc]
mov dword [ebx], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
push 0x50
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0x3f800000
call fcn.0061aba4
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x596eaf
mov ecx, eax
call fcn.00594c80
mov esi, eax
jmp 0x596eb1
xor esi, esi
push 0x50
push 0x16
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 2
push dword [ebp + 8]
call fcn.00594dd0
test al, al
je 0x596eff
lea eax, [ebp + 0xc]
cmp ebx, eax
je 0x596edd
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x596ee9
mov eax, dword [ecx]
jmp 0x596ee5
test esi, esi
je 0x596ee9
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.CWikiRenderTarget::CWikiRenderTarget:_Could_not_create_CGraphicRenderTargetTexture__dx_d
call fcn.00566650
add esp, 0xc
test esi, esi
je 0x596f1e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push str.CWikiRenderTarget::CWikiRenderTarget:_Could_not_create_CGraphicRenderTargetTexture
lea ecx, [ebp - 0x20]
call fcn.00596f40
push 0x752894
lea eax, [ebp - 0x20]
push eax
call fcn.006541b2
int3
Function at 0x59e740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c7d6d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x78d5fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0061aba4
mov edi, eax
add esp, 4
test edi, edi
je 0x59e7dd
push 1
mov dword [ebp - 4], 0
call fcn.006197e7
add esp, 4
mov dword [edi + 4], eax
jmp 0x59e7df
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.0059d4a0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x59e83b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x59e83b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x59e858
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x59e87b
cmp byte [ebp + 0xc], 0
je 0x59e867
push esi
call fcn.00619c7f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x59e887
mov esi, str.ios_base::badbit_set
jmp 0x59e897
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0044d230
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0044dc20
push 0x75d30c
lea eax, [ebp - 0x28]
push eax
call fcn.006541b2
int3
Function at 0x5c6620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c902e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x78d5fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00573780
lea eax, [edi + 4]
mov dword [ebp - 4], 0
mov dword [eax], vtable.IPhysicsWorld.0
mov dword [0x7e51ac], eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
mov dword [edi], vtable.CMapManager.1.0
mov dword [eax], vtable.CMapManager.0
call fcn.005deaa0
lea esi, [edi + 0x20]
mov byte [ebp - 4], 2
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0
call fcn.00613800
mov dword [edi + 0xb0], 0
mov eax, edi
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0xf
mov byte [edi + 0xc0], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0xbc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5c93f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c9400
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x5c9427
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x5c9415
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5e5b00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cb1cf
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x78d5fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CRaceData.0
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0xf
mov byte [edi + 0x38], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0xf
mov byte [edi + 0x68], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0xf
mov byte [edi + 0x80], 0
lea esi, [edi + 0x98]
mov byte [ebp - 4], 4
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xa0]
mov byte [ebp - 4], 5
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 6
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xb0]
mov byte [ebp - 4], 7
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0xb8]
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xc0]
mov byte [ebp - 4], 9
push 0x38
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xc8]
mov byte [ebp - 4], 0xa
push 0x38
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061aba4
add esp, 0x1c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.005e7e50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret