joyce8/EMBER2024-capa huggingface dataset:
Function at 0x521710
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.0x52172c.10
movzx eax, byte [eax + 0x521898]
jmp dword [eax*4 + 0x521864]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x52172c.10
call fcn.00520ab0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00520b30
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00520bb0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00520c20
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x52172c.10
call fcn.00520c90
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00520ca0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005209e0
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x36]
test ecx, ecx
je case.0x52172c.10
push 8
call fcn.00440e80
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00520ce0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00520ed0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6df860
call fcn.00441700
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.0x52172c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x52172c.10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x52172c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.005215e0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x523b00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x104]
mov ebx, ecx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x523b24
movsx eax, byte [esi]
push eax
call fcn.0057d9ea
add esp, 4
test eax, eax
je 0x523bb5
lea ecx, [ebp - 0x104]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x523b62
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x523bb4
lea esp, [esp]
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0057bc40
mov edx, dword [ebp - 0x110]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x5a6934
push eax
call fcn.0057a74f
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x523b70
pop edi
lea edx, [ebp - 0x104]
push edx
push 0x20
push 0x6eee48
call fcn.0057d935
mov eax, dword [0x6eee88]
mov esi, dword [ebp + 0xc]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x709c04]
jne 0x523bfb
cmp dword [0x6eee68], 0
je 0x523bfb
cmp dword [0x6eee84], 0
jne 0x523bfb
mov ecx, 0x6eee68
call fcn.005160a0
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x104]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 8
Function at 0x523ca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov bl, 0x53
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
cmp byte [esi + 1], bl
jb 0x523cd9
push 0
push 0xb6
push str.MHNetwork.cpp
call fcn.00524f90
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x56734661
mov dword [ebp - 0x28], 0x31313561
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], bl
mov dword [ebp - 0x22], 0x61637646
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], bl
mov dword [ebp - 0x1b], 0x40215e59
mov dword [ebp - 0x17], 0x5a767324
mov dword [ebp - 0x13], 0x26317241
mov dword [ebp - 0xf], 0x2a21405e
mov dword [ebp - 0xb], 0x786673
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x523d28
sub eax, ecx
mov ecx, eax
mov eax, dword [ebp - 0x30]
xor edx, edx
lea ebx, [ecx - 1]
div ebx
lea ebx, [ecx - 1]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
movzx edx, byte [ebp + edx - 0x2c]
xor byte [esi + 1], dl
xor edx, edx
div ebx
mov al, byte [ebp + edx - 0x2c]
xor byte [esi + 2], al
movzx edx, byte [edi + 0x11c]
mov byte [esi], dl
mov eax, dword [edi + 0x118]
inc byte [edi + 0x11c]
test eax, eax
je 0x523d82
mov edi, dword [edi + 0x114]
mov edx, dword [edi]
push ecx
push esi
push eax
mov eax, dword [edx + 0x14]
push edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 8
Function at 0x524f90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6f0878], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
je 0x524ff7
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x6f0778
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x6f0778
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x525135
int3
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x525017
push eax
push edx
push ecx
lea eax, [ebp - 0x204]
push str._s_line:_d__msg:_s_
push eax
call fcn.0057a74f
add esp, 0x14
jmp 0x52502d
push edx
push ecx
lea eax, [ebp - 0x204]
push str._s_line:_d_
push eax
call fcn.0057a74f
add esp, 0x10
push 0xff
lea ecx, [ebp - 0x103]
push 0
push ecx
mov byte [ebp - 0x104], 0
call fcn.0057a0c0
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x20e]
movzx ecx, word [ebp - 0x212]
movzx edx, word [ebp - 0x214]
push eax
push ecx
push edx
lea eax, [ebp - 0x104]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.0057a74f
add esp, 0x14
cmp dword [0x6f08d0], 0
jne 0x525135
push esi
push edi
push 0
lea ecx, [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x525101
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x104]
push 0x5b649c
push eax
call fcn.0057a6f1
mov esi, eax
add esp, 8
test esi, esi
je 0x525133
call fcn.00525250
push eax
lea ecx, [ebp - 0x204]
push ecx
push str._stime:_s_n
push esi
call fcn.0057b0c1
push esi
call fcn.0057a3f0
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x2a0]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x2a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x5250b6
mov dword [0x6f08d0], 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret
Function at 0x526240
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x1ff
lea eax, [ebp - 0x303]
push 0
push eax
mov byte [ebp - 0x304], 0
call fcn.0057a0c0
add esp, 0xc
test esi, esi
je 0x526298
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
lea edx, [ebp - 0x304]
push str._s_line:_d__msg:_s_
push edx
call fcn.0057a74f
add esp, 0x14
jmp 0x5262b1
mov eax, dword [ebp + 0xc]
push eax
push edi
lea ecx, [ebp - 0x304]
push str._s_line:_d_
push ecx
call fcn.0057a74f
add esp, 0x10
push 0xff
lea edx, [ebp - 0x103]
push 0
push edx
mov byte [ebp - 0x104], 0
call fcn.0057a0c0
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x30e]
movzx edx, word [ebp - 0x312]
movzx eax, word [ebp - 0x314]
push ecx
push edx
push eax
lea ecx, [ebp - 0x104]
push str.._Log_Debug__4d_02d_02d.txt
push ecx
call fcn.0057a74f
add esp, 0x14
cmp dword [0x6f0c18], 0
jne 0x5263b5
push 0
lea edx, [ebp - 0x39c]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x526383
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x104]
push 0x5b649c
push ecx
call fcn.0057a6f1
mov esi, eax
add esp, 8
test esi, esi
je 0x5263b5
call fcn.00525250
push eax
lea edx, [ebp - 0x304]
push edx
push str._stime:_s_n
push esi
call fcn.0057b0c1
push esi
call fcn.0057a3f0
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x3a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x526338
mov dword [0x6f0c18], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret
Function at 0x535b00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1095
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0xa
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.00574770
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00537c80
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
push 0x80
push str.g_PoolSTLIST
push 0x6cddf0
mov byte [ebp - 4], 9
call fcn.0057c070
add esp, 0xc
mov dword [0x6cddec], 0x32
cmp dword [0x6cdde4], edi
jne 0x535c8b
push 0x64
push 0x6cdde4
call fcn.005372e0
mov eax, dword [0x6cdde4]
add esp, 8
mov dword [0x6cdde8], eax
push 0x1e
lea ecx, [esi + 0x94]
mov dword [esi + 0x64], edi
call fcn.005466f0
push 0x1e
lea ecx, [esi + 0xb8]
call fcn.005466f0
push 0x1e
lea ecx, [esi + 0xdc]
call fcn.005466f0
push 0x1e
lea ecx, [esi + 0x100]
call fcn.005466f0
push 3
lea ecx, [esi + 0x124]
call fcn.005466f0
mov dword [esi + 0x16c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53a610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a16fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
xor edi, edi
mov dword [esi], vtable.CSkillObjectTargetList.0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
push 1
mov dword [ebp - 4], edi
call fcn.005466f0
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xb7]
mov word [esi + 0x30], cx
movzx edx, word [eax + 0xad]
mov word [esi + 0x32], dx
mov dword [esi + 0x2c], edi
movzx ecx, word [eax + 0x27]
mov word [esi + 0x34], cx
movzx edx, word [eax + 0x29]
mov word [esi + 0x36], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x545050
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x54507d
mov ecx, esi
call fcn.00545010
push 0x5b8cf0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret

Function at 0x545320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1d3e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
xor edi, edi
mov dword [esi], vtable.CMHAudioManager.0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
mov dword [0x70c850], edi
push 0x20
mov dword [ebp - 4], edi
mov dword [esi + 0x46], edi
call fcn.005466f0
fld1
xor eax, eax
fst dword [esi + 0x28]
fst dword [esi + 0x2c]
mov word [esi + 0x40], ax
fstp dword [esi + 0x30]
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x548210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
cmp dword [eax], 0x10
je 0x54838f
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
push 0x92
mov dword [ebp + 8], esi
add esi, 0x358
push 0
push esi
call fcn.0057a0c0
add esp, 0xc
mov ecx, edi
call fcn.005464d0
push 0
mov ecx, edi
call fcn.005464e0
test eax, eax
je 0x548377
push ebx
jmp 0x548260
mov edi, dword [eax]
mov ecx, eax
call fcn.00546120
mov ecx, dword [ebp + 8]
mov bl, al
add bl, byte [ecx + 0x528]
mov ecx, 0x70c8b0
mov byte [ebp - 4], bl
mov edx, dword [ebp - 4]
push edx
call fcn.005479e0
test eax, eax
je case.0x5482a4.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x5482a4.10
movzx ecx, byte [ecx + 0x5483dc]
jmp dword [ecx*4 + 0x548398]
movzx edx, word [edi + 0x2e]
mov eax, dword [eax]
mov dword [esi + edx*4 - 4], eax
jmp case.0x5482a4.10
movzx ecx, word [edi + 0x2e]
fld dword [eax + 8]
fstp dword [ebp - 8]
test cx, cx
je case.0x5482a4.10
fld dword [eax + 4]
fstp dword [esi + ecx*4 + 0x24]
fld dword [ebp - 8]
fstp dword [esi + ecx*4 + 0x3c]
jmp case.0x5482a4.10
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x5c], ecx
jmp case.0x5482a4.10
mov edx, dword [eax + 0x10]
mov dword [esi + 0x58], edx
jmp case.0x5482a4.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x5482a4.10
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x64], ecx
jmp case.0x5482a4.10
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x68], edx
jmp case.0x5482a4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x5482a4.10
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x70], ecx
jmp case.0x5482a4.10
mov edx, dword [eax + 0x20]
mov dword [esi + 0x74], edx
jmp case.0x5482a4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x5482a4.10
fld dword [eax + 0x24]
movzx ecx, bl
fstp dword [esi + 0x7c]
mov word [esi + 0x80], cx
jmp case.0x5482a4.10
fld dword [eax + 0x28]
fstp dword [esi + 0x82]
jmp case.0x5482a4.10
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x86], edx
jmp case.0x5482a4.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8a], eax
jmp case.0x5482a4.10
mov ecx, dword [eax + 0x34]
mov dword [esi + 0x8e], ecx
mov ecx, dword [ebp + 0x10]
push 0
call fcn.005464e0
test eax, eax
jne 0x548260
pop ebx
mov ecx, dword [0x6d22d4]
call fcn.00448c50
mov ecx, dword [0x6d22d4]
call fcn.00448910
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x54a210
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0x1f2]
test ecx, ecx
jne 0x54a223
xor eax, eax
pop ebp
ret 8
pop ebp
jmp fcn.0054e1e0
Function at 0x54b910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1f2], 0
push edi
je 0x54b9bd
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x54b9bd
push 0
push 1
push 0x70c978
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x54b9bd
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [0x70c964], ecx
mov edx, dword [eax + 4]
mov dword [0x70c968], edx
mov eax, dword [eax + 8]
mov dword [0x70c96c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [0x70c958], ecx
mov edx, dword [eax + 4]
mov dword [0x70c95c], edx
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov dword [0x70c960], eax
mov ecx, dword [esi + 0x1f2]
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0x54b880
push 0
push 0
mov dword [0x70c974], ecx
mov dword [0x70c970], edi
mov dword [0x6ceb84], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x54b9c5
push eax
push 0x70c978
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x556210
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2720
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], vtable.CEffectManager.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
push fcn.005559c0
push 0x555670
push 2
mov dword [ebp - 4], eax
push 0xc
lea eax, [esi + 0x34]
push eax
call fcn.0057c40c
xor eax, eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
push 0xa
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
call fcn.00574770
push 0x20
lea ecx, [esi + 4]
mov byte [ebp - 4], 3
call fcn.005466f0
push 0x20
lea ecx, [esi + 0x4c]
call fcn.005466f0
push 0x190
call fcn.0057a150
xor edi, edi
add esp, 4
cmp eax, edi
je 0x5562ce
mov dword [eax], vtable.CMemoryPoolTempl_class_CDamageNumber_.0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov byte [eax + 0x10], 0
jmp 0x5562d0
xor eax, eax
push 0x190
mov dword [esi + 0x2c], eax
call fcn.0057a150
add esp, 4
cmp eax, edi
je 0x5562f6
mov dword [eax], vtable.CMemoryPoolTempl_class_CEffect_.0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov byte [eax + 0x10], 0
jmp 0x5562f8
xor eax, eax
mov edi, dword [esi + 0x2c]
push 0x80
lea ecx, [edi + 0x10]
push str.CDamageNumber
push ecx
mov dword [esi + 0x28], eax
call fcn.0057c070
lea ebx, [edi + 4]
add esp, 0xc
cmp dword [ebx], 0
mov dword [edi + 0xc], 0x28
jne 0x556333
push 0x3c
push ebx
call fcn.005573d0
mov edx, dword [ebx]
add esp, 8
mov dword [edi + 8], edx
mov edi, dword [esi + 0x28]
push 0x80
lea eax, [edi + 0x10]
push str.CEffect
push eax
call fcn.0057c070
lea ebx, [edi + 4]
add esp, 0xc
cmp dword [ebx], 0
mov dword [edi + 0xc], 0x32
jne 0x55636b
push 0x64
push ebx
call fcn.005574f0
mov ecx, dword [ebx]
add esp, 8
mov dword [edi + 8], ecx
mov eax, esi
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x560700
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x560720
push 0
push 0x72
push str.DirectoryManager.cpp
call fcn.00524f90
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x560738
cmp esi, 0x11
je 0x560738
mov eax, dword [edi + esi*4 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x5681b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a317e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
push 0x40
mov byte [ebp - 4], 2
call fcn.005466f0
push 0x40
lea ecx, [esi + 0x24]
call fcn.005466f0
push 0x40
lea ecx, [esi + 0x48]
call fcn.005466f0
mov ecx, esi
call fcn.00567d10
mov ecx, esi
call fcn.00567b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret