joyce8/EMBER2024-capa huggingface dataset:
Function at 0x535030
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x114
mov eax, dword [0x6d74f0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
mov esi, dword [esp + 0x120]
lea edx, [esp + 0x18]
mov ebx, ecx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x535057
movsx eax, byte [esi]
push eax
call fcn.0059663a
add esp, 4
test eax, eax
je 0x5350cf
lea ecx, [esp + 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x53513a
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x5350ce
nop
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00591f60
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x20]
push 0x5b093c
push eax
call fcn.00591984
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x535090
pop edi
lea edx, [esp + 0x18]
push edx
push 0x20
push 0x6ede9c
call fcn.00596585
mov eax, dword [0x6edee0]
mov esi, dword [esp + 0x130]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x708550]
jne 0x535117
cmp dword [0x6edec0], 0
je 0x535117
cmp dword [0x6ededc], 0
jne 0x535117
mov ecx, 0x6edec0
call fcn.00524e80
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
mov eax, ecx
mov ecx, dword [esp + 0x118]
pop esi
pop ebx
xor ecx, esp
call fcn.0059146f
add esp, 0x114
ret 8

Function at 0x5351c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6d74f0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov bl, 0x53
push edi
mov edi, ecx
cmp byte [esi + 1], bl
jb 0x5351f7
push 0
push 0xb6
push str.MHNetwork.cpp
call fcn.00536660
add esp, 0xc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x56734661
mov dword [esp + 0x14], 0x31313561
mov byte [esp + 0x18], 0x41
mov byte [esp + 0x19], bl
mov dword [esp + 0x1a], 0x61637646
mov byte [esp + 0x1e], 0x4d
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov dword [esp + 0x21], 0x40215e59
mov dword [esp + 0x25], 0x5a767324
mov dword [esp + 0x29], 0x26317241
mov dword [esp + 0x2d], 0x2a21405e
mov dword [esp + 0x31], 0x786673
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x535254
sub eax, ecx
mov ecx, eax
xor edx, edx
lea ebx, [ecx - 1]
mov eax, ebp
div ebx
dec ecx
mov al, byte [esp + edx + 0x10]
xor byte [esi + 1], al
xor edx, edx
mov eax, ebp
div ecx
mov cl, byte [esp + edx + 0x10]
xor byte [esi + 2], cl
mov dl, byte [edi + 0x11c]
mov byte [esi], dl
mov eax, dword [edi + 0x118]
inc byte [edi + 0x11c]
test eax, eax
je 0x5352a6
mov edi, dword [edi + 0x114]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
push ebp
push esi
push eax
push edi
call edx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059146f
add esp, 0x2c
ret 8
Function at 0x536660
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x6d74f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6eebf8], 0
je 0x5366ba
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x6eeaf8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x6eeaf8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x5366b5
int3
jmp 0x536886
cmp dword [ebp + 0x10], 0
je 0x5366e2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_line:_d__msg:_s_
lea eax, [ebp - 0x118]
push eax
call fcn.00591984
add esp, 0x14
jmp 0x5366fe
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_line:_d_
lea eax, [ebp - 0x118]
push eax
call fcn.00591984
add esp, 0x10
mov byte [ebp - 0x218], 0
push 0xff
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.005912a0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx ecx, word [ebp - 0x12]
push ecx
movzx edx, word [ebp - 0x14]
push edx
push str.._Log_Assert__4d_02d_02d.txt
lea eax, [ebp - 0x218]
push eax
call fcn.00591984
add esp, 0x14
cmp dword [0x6eec50], 0
jne 0x536886
push 0
lea ecx, [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
jne 0x5367df
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c0464
lea ecx, [ebp - 0x218]
push ecx
call fcn.00591926
add esp, 8
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x5367da
call fcn.005369e0
push eax
lea edx, [ebp - 0x118]
push edx
push str._stime:_s_n
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.00592bd1
add esp, 0x10
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.00591625
add esp, 4
jmp 0x536886
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x224]
shl ecx, 0x10
or ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x220], 0xf4240
ja 0x53687c
push 0x5c0464
lea eax, [ebp - 0x218]
push eax
call fcn.00591926
add esp, 8
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x53687a
call fcn.005369e0
push eax
lea ecx, [ebp - 0x118]
push ecx
push str._stime:_s_n
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.00592bd1
add esp, 0x10
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.00591625
add esp, 4
jmp 0x536886
mov dword [0x6eec50], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059146f
mov esp, ebp
pop ebp
ret
Function at 0x5378e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b8
mov eax, dword [0x6d74f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.005912a0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x537938
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_line:_d__msg:_s_
lea ecx, [ebp - 0x218]
push ecx
call fcn.00591984
add esp, 0x14
jmp 0x537954
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_line:_d_
lea ecx, [ebp - 0x218]
push ecx
call fcn.00591984
add esp, 0x10
mov byte [ebp - 0x318], 0
push 0xff
push 0
lea edx, [ebp - 0x317]
push edx
call fcn.005912a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0xe]
push ecx
movzx edx, word [ebp - 0x12]
push edx
movzx eax, word [ebp - 0x14]
push eax
push str.._Log_Debug__4d_02d_02d.txt
lea ecx, [ebp - 0x318]
push ecx
call fcn.00591984
add esp, 0x14
cmp dword [0x6eef98], 0
jne 0x537adc
push 0
lea edx, [ebp - 0x3b0]
push edx
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0xffffffff
jne 0x537a35
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c0464
lea edx, [ebp - 0x318]
push edx
call fcn.00591926
add esp, 8
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
je 0x537a30
call fcn.005369e0
push eax
lea eax, [ebp - 0x218]
push eax
push str._stime:_s_n
mov ecx, dword [ebp - 0x3b4]
push ecx
call fcn.00592bd1
add esp, 0x10
mov edx, dword [ebp - 0x3b4]
push edx
call fcn.00591625
add esp, 4
jmp 0x537adc
lea eax, [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x324]
shl edx, 0x10
or edx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], edx
mov eax, dword [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x320], 0xf4240
ja 0x537ad2
push 0x5c0464
lea ecx, [ebp - 0x318]
push ecx
call fcn.00591926
add esp, 8
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
je 0x537ad0
call fcn.005369e0
push eax
lea edx, [ebp - 0x218]
push edx
push str._stime:_s_n
mov eax, dword [ebp - 0x3b8]
push eax
call fcn.00592bd1
add esp, 0x10
mov ecx, dword [ebp - 0x3b8]
push ecx
call fcn.00591625
add esp, 4
jmp 0x537adc
mov dword [0x6eef98], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059146f
mov esp, ebp
pop ebp
ret
Function at 0x5597f0
Capabilities:
Print debug messages

Disassembly:
push ebp
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
mov eax, dword [edi + 0x4c]
add eax, 0x493e0
cmp ebp, eax
jbe 0x559858
cmp dword [edi + 0x10], 0
jle 0x55984a
push esi
lea ecx, [edi + 4]
call fcn.0058c210
mov esi, eax
test esi, esi
je 0x559849
mov ecx, dword [esi + 8]
push ecx
call fcn.00554930
mov edx, dword [esi + 4]
add esp, 4
push edx
lea ecx, [edi + 0x20]
call fcn.004d0110
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
push 0x5c2cb0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [edi + 0x4c], ebp
pop edi
pop ebp
ret
Function at 0x55e650
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x55e65f
xor eax, eax
ret 8
jmp 0x562cc0
mov edx, dword [esp + 4]
fld dword [edx]
sub esp, 8
fld qword [0x5b6e40]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x562dc4
fldz
fcom dword [edx]
fnstsw ax
test ah, 0x41
je 0x562dc2
fld dword [edx + 8]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x562dc4
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x41
je 0x562dc6
push esi
fnstcw word [esp + 0x10]
mov esi, dword [esp + 0x14]
fld dword [esi + 8]
fld qword [0x5b5a38]
movzx eax, word [esp + 0x10]
fdiv st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fxch st(1)
fistp qword [esp + 4]
mov eax, dword [esp + 4]
push eax
fldcw word [esp + 0x14]
fld dword [esi]
fdiv st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 8]
mov eax, dword [esp + 8]
push eax
fldcw word [esp + 0x18]
fld dword [edx + 8]
fdiv st(1)
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
push eax
fldcw word [esp + 0x1c]
fdivr dword [edx]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
fldcw word [esp + 0x20]
call fcn.00561dc0
pop esi
add esp, 8
ret 8
fstp st(0)
fstp st(0)
push str._____________________________.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 8
ret 8

Function at 0x55fb60
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
push edi
je 0x55fc0f
mov edi, dword [esp + 0x14]
test edi, edi
je 0x55fc0f
push 0
push 1
push 0x70b240
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x55fc0f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [0x70b1ec], ecx
mov edx, dword [eax + 4]
mov dword [0x70b1f0], edx
mov eax, dword [eax + 8]
mov dword [0x70b1f4], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [0x70b1e0], ecx
mov edx, dword [eax + 4]
mov dword [0x70b1e4], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov dword [0x70b1e8], eax
mov ecx, dword [esi + 0x1f4]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x55fad0
push 0
push 0
mov dword [0x70b23c], ecx
mov dword [0x70b238], edi
mov dword [0x6d5ec0], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x55fc16
push eax
push 0x70b240
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
xor eax, eax
pop esi
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 0x10
Function at 0x564a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xa0]
mov ecx, edi
call fcn.0040fbc0
mov ebp, 1
cmp dword [ebx + 0x88], ebp
jbe 0x564bc9
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x5b1318]
fstp qword [esp + 0x14]
jmp 0x564a80
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x564a97
mov ecx, dword [ecx]
test ecx, ecx
je 0x564a97
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x564aaa
mov eax, dword [eax]
test eax, eax
je 0x564aaa
mov eax, dword [eax]
test eax, eax
jne 0x564aae
xor edx, edx
jmp 0x564ab0
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x564ac1
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x564ae3
fadd dword [0x5b0f58]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x564b06
mov eax, dword [eax]
test eax, eax
je 0x564b06
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x564b18
mov edx, dword [edx]
test edx, edx
je 0x564b18
mov edx, dword [edx]
test edx, edx
jne 0x564b1c
xor edx, edx
jmp 0x564b1e
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x564b2f
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x564b51
fadd dword [0x5b0f58]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x564b6f
push 1
mov ecx, edi
call fcn.0040f9b0
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x564b7e
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x564b9b
push 0xc
call fcn.00591376
add esp, 4
test eax, eax
je 0x564be1
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov edx, dword [edi + 4]
mov esi, dword [edx + esi*4]
test esi, esi
je 0x564bb9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
inc dword [edi + 0x10]
inc ebp
cmp ebp, dword [ebx + 0x88]
jb 0x564a80
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.005669f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.00592395
push 0x5d9380
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.005922c1
int3
Function at 0x564c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.0040fbc0
xor ebp, ebp
cmp dword [ebx + 0x88], ebp
jbe 0x564d99
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x5b1318]
fstp qword [esp + 0x14]
jmp 0x564c50
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x564c67
mov ecx, dword [ecx]
test ecx, ecx
je 0x564c67
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x564c7a
mov eax, dword [eax]
test eax, eax
je 0x564c7a
mov eax, dword [eax]
test eax, eax
jne 0x564c7e
xor edx, edx
jmp 0x564c80
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x564c91
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x564cb3
fadd dword [0x5b0f58]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x564cd6
mov eax, dword [eax]
test eax, eax
je 0x564cd6
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x564ce8
mov edx, dword [edx]
test edx, edx
je 0x564ce8
mov edx, dword [edx]
test edx, edx
jne 0x564cec
xor edx, edx
jmp 0x564cee
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x564cff
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x564d21
fadd dword [0x5b0f58]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x564d3f
push 1
mov ecx, edi
call fcn.0040f9b0
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x564d4e
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x564d6b
push 0xc
call fcn.00591376
add esp, 4
test eax, eax
je 0x564db1
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov edx, dword [edi + 4]
mov esi, dword [edx + esi*4]
test esi, esi
je 0x564d89
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
inc dword [edi + 0x10]
inc ebp
cmp ebp, dword [ebx + 0x88]
jb 0x564c50
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.005669f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.00592395
push 0x5d9380
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.005922c1
int3
Function at 0x574dd0
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x574dee
push 0
push 0x72
push str.DirectoryManager.cpp
call fcn.00536660
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x574e06
cmp esi, 0x11
je 0x574e06
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
ret 4
Function at 0x58ac70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x6d74f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x74c], ecx
cmp dword [ebp + 8], 0
jne 0x58ac96
xor eax, eax
jmp 0x58aefb
cmp dword [ebp + 0xc], 0
jne 0x58aca3
xor eax, eax
jmp 0x58aefb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x744], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 0x331]
push edx
call fcn.00591c70
add esp, 0x10
mov eax, dword [ebp - 0x74c]
add eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0x33c], 0
push 0x200
push 0
lea ecx, [ebp - 0x330]
push ecx
call fcn.005912a0
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push str._02X
mov eax, dword [ebp - 4]
push eax
call fcn.005937e9
add esp, 0xc
test eax, eax
jle 0x58ad44
cmp dword [ebp - 0x33c], 0x200
jge 0x58ad44
mov ecx, dword [ebp - 0x33c]
mov dl, byte [ebp - 0x130]
mov byte [ebp + ecx - 0x330], dl
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
jmp 0x58acef
push 0x100
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.00589710
add esp, 0xc
mov cl, byte [ebp + 0x14]
mov byte [ebp - 5], cl
mov dword [ebp - 0x338], 0
jmp 0x58ad80
mov edx, dword [ebp - 0x338]
add edx, 0x10
mov dword [ebp - 0x338], edx
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x744]
jge 0x58ae7a
mov ecx, dword [ebp + 8]
push ecx
push 0x10
push 1
lea edx, [ebp - 0x740]
push edx
call fcn.00591c70
add esp, 0x10
cmp eax, 0x10
je 0x58adf5
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea eax, [ebp - 0x740]
push eax
call fcn.005912a0
add esp, 0xc
push 0x118
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.005912a0
add esp, 0xc
xor eax, eax
jmp 0x58aefb
lea edx, [ebp - 0x740]
push edx
lea eax, [ebp - 0x740]
push eax
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.00589a10
add esp, 0x10
mov dword [ebp - 0x748], 0
jmp 0x58ae2f
mov edx, dword [ebp - 0x748]
add edx, 1
mov dword [ebp - 0x748], edx
cmp dword [ebp - 0x748], 0x10
jge 0x58ae75
mov eax, dword [ebp - 0x338]
add eax, dword [ebp - 0x748]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x748]
mov dl, byte [ebp + edx - 0x740]
mov byte [ecx + eax], dl
movsx eax, byte [ebp - 5]
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x748]
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx + ecx]
add eax, ecx
mov byte [ebp - 5], al
jmp 0x58ae20
jmp 0x58ad71
mov edx, dword [ebp + 8]
push edx
push 1
push 1
lea eax, [ebp - 0x129]
push eax
call fcn.00591c70
add esp, 0x10
movsx ecx, byte [ebp - 0x331]
movsx edx, byte [ebp - 0x129]
cmp ecx, edx
jne 0x58aeb2
movsx eax, byte [ebp - 0x331]
movsx ecx, byte [ebp - 5]
cmp eax, ecx
je 0x58aef6
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea edx, [ebp - 0x740]
push edx
call fcn.005912a0
add esp, 0xc
push 0x118
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.005912a0
add esp, 0xc
xor eax, eax
jmp 0x58aefb
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0059146f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x59146f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d74f0]
jne 0x591479
repz ret
jmp fcn.00599457

Function at 0x59f603
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6d74f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0059d638
and dword [ebp - 0x14], 0
cmp dword [0x70e6dc], 0
mov dword [ebp - 0x18], eax
jne 0x59f6b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x59f75e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x59f75e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5c706c
push ebx
mov dword [0x70e6dc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x70e6e0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x70e6e4], eax
call edi
push eax
call esi
mov dword [0x70e6ec], eax
test eax, eax
je 0x59f6b6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x70e6e8], eax
mov eax, dword [0x70e6e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x59f70f
cmp dword [0x70e6ec], ecx
je 0x59f70f
push eax
call esi
push dword [0x70e6ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x59f70f
test ebx, ebx
je 0x59f70f
call edi
test eax, eax
je 0x59f706
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x59f706
test byte [ebp - 8], 1
jne 0x59f70f
or dword [ebp + 0x10], 0x200000
jmp 0x59f742
mov eax, dword [0x70e6e0]
cmp eax, dword [ebp - 0x18]
je 0x59f742
push eax
call esi
test eax, eax
je 0x59f742
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x59f742
mov eax, dword [0x70e6e4]
cmp eax, dword [ebp - 0x18]
je 0x59f742
push eax
call esi
test eax, eax
je 0x59f742
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x70e6dc]
call esi
test eax, eax
je 0x59f75e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x59f760
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059146f
leave
ret