joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53a970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b10f8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x695e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
mov dword [ebp - 4], 0
call fcn.0058554c
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov dword [esi + 0x22], eax
cmovae ecx, dword [ebp + 8]
push ecx
push 0x104
push eax
call fcn.0058ace3
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x53bde0
push 0
push 0
call fcn.0058b46b
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x53a9fc
push dword [ebp + 8]
call fcn.0058559d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x53aa10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x53c180
push 0
push 0
call fcn.0058b46b
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x53b130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b10f8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x695e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
mov dword [ebp - 4], 0
call fcn.0058554c
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov dword [esi + 0x22], eax
cmovae ecx, dword [ebp + 8]
push ecx
push 0x104
push eax
call fcn.0058ace3
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x53c8b0
push 0
push 0
call fcn.0058b46b
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x53b1bc
push dword [ebp + 8]
call fcn.0058559d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x53b1d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1238
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x695e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [0x6caf54]
mov eax, 0x2aaaaaab
mov esi, dword [0x6caf50]
mov edx, edi
sub edx, esi
mov dword [ebp - 4], 0
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x53b259
cmp esi, edi
je 0x53b253
cmp dword [esi + 0x14], 0x10
jb 0x53b235
push dword [esi]
call fcn.0058559d
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x53b225
mov esi, dword [0x6caf50]
mov dword [0x6caf54], esi
cmp byte [ebp + 0x20], 0
lea eax, [ebp + 8]
je 0x53b2dc
push 0x6caf50
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403dc0
mov ecx, ebx
call fcn.0053d830
mov edi, dword [0x6caf54]
mov eax, 0x2aaaaaab
mov esi, dword [0x6caf50]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x53b2eb
cmp esi, edi
je 0x53b2eb
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x53b2c0
cmp dword [esi + 0x14], 0x10
jb 0x53b2ca
mov eax, dword [esi]
jmp 0x53b2cc
mov eax, esi
push eax
call edi
add esi, 0x18
cmp esi, dword [0x6caf54]
jne 0x53b2c0
jmp 0x53b2eb
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp + 0x1c], 0x10
jb 0x53b2fc
push dword [ebp + 8]
call fcn.0058559d
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 0x1c
Function at 0x53b770
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x264], eax
test ebx, ebx
je 0x53b8a3
test eax, eax
je 0x53b8a3
push esi
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x53b844
cmp byte [ebp - 0x25c], 0
je 0x53b844
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
push 0x5bc628
push esi
call edi
test eax, eax
je 0x53b83c
push 0x5bc62c
push esi
call edi
test eax, eax
je 0x53b83c
movzx eax, byte [esi]
mov byte [ebp - 0x260], al
movzx eax, byte [esi + 1]
mov byte [ebp - 0x25f], al
lea eax, [ebp - 0x68]
push 0x64
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 0x25e], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x53b852
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.0058aee7
add esp, 0xc
test eax, eax
je 0x53b867
add esi, 4
cmp byte [esi], 0
jne 0x53b7d1
mov esi, dword [ebp - 0x264]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x268]
add eax, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.00585d34
mov esp, ebp
pop ebp
ret 8
Function at 0x53c480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1398
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x695e80]
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 ebx, ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0
push 2
mov dword [ebp - 4], 0
mov dword [ebp - 0x168], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x53c5c2
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x53c5bb
lea esp, [esp]
push dword [ebp - 0x160]
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0053c5f0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x53c581
cmp dword [ebp - 0x14], 0x10
jb 0x53c52b
push dword [ebp - 0x28]
call fcn.0058559d
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x14], 0x10
jae 0x53c559
mov eax, dword [esi + 0x10]
inc eax
je 0x53c564
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005856f0
add esp, 0xc
jmp 0x53c564
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x2c], 0x10
jb 0x53c592
push dword [ebp - 0x40]
call fcn.0058559d
add esp, 4
cmp dword [ebp - 0x18], 0
jbe 0x53c5a6
lea eax, [ebp - 0x28]
mov ecx, 0x6caf50
push eax
call fcn.004186f0
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x53c500
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x53c5d3
push dword [ebp - 0x28]
call fcn.0058559d
add esp, 4
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.00585d34
mov esp, ebp
pop ebp
ret
Function at 0x53c5f0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b13cb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x695e80]
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 ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
push 0
push 0x5b8782
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00403ef0
push esi
push 0
push 0x400
mov byte [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x53c6a6
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00410590
cmp dword [ebp - 0x21c], 0x10
jb 0x53c710
push dword [ebp - 0x230]
call fcn.0058559d
add esp, 4
jmp 0x53c710
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x53c6c5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x53c6f7
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0053b770
push esi
test eax, eax
je 0x53c6bd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.004116c0
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00410590
lea ecx, [ebp - 0x230]
call fcn.004037c0
mov eax, edi
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.00585d34
mov esp, ebp
pop ebp
ret 8
Function at 0x53ce70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b14f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x695e80]
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 dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov edi, 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x53cef9
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00403cc0
test al, al
je 0x53cef6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp esi, eax
je 0x53cfcf
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov bl, byte [esi]
cmp edi, 0x10
mov byte [ebp - 0x44], bl
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
cmp edi, 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
test eax, eax
je 0x53cf40
sub eax, ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 1
push eax
call fcn.0053db10
cmp bl, 0x5c
je 0x53cf68
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
dec eax
add eax, ecx
cmp esi, eax
jne 0x53cfbf
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00456830
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0058b698
add esp, 8
test eax, eax
je 0x53cfaa
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0058b6f8
add esp, 4
test eax, eax
jne 0x53cfc8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
mov edi, dword [ebp - 0x14]
inc esi
jmp 0x53cf04
mov edi, dword [ebp - 0x14]
xor bl, bl
jmp 0x53cfd1
mov bl, 1
cmp edi, 0x10
jb 0x53cfe1
push dword [ebp - 0x28]
call fcn.0058559d
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x53d004
push dword [ebp - 0x40]
call fcn.0058559d
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x53d027
push dword [ebp + 8]
call fcn.0058559d
add esp, 4
mov al, bl
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.00585d34
mov esp, ebp
pop ebp
ret 0x18
Function at 0x53e080
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
push dword [0x6caf8c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 2
mov word [ebp - 0x14], ax
movzx eax, word [esi + 0x18]
push eax
call sub.WSOCK32.dll_htons
cmp dword [esi + 0x14], 0x10
mov word [ebp - 0x12], ax
jb 0x53e0c4
mov esi, dword [esi]
push esi
call sub.WSOCK32.dll_inet_addr
push 6
push 1
push 2
mov dword [ebp - 0x10], eax
call sub.WSOCK32.dll_socket
push 0x10
lea ecx, [ebp - 0x14]
mov dword [0x6caf88], eax
push ecx
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x53e102
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret 4
push 0x12a
call fcn.0058554c
mov esi, eax
lea ecx, [edi + 0x10]
push ecx
push 0x104
lea ecx, [esi + 0x10]
push ecx
call fcn.0058ace3
lea ecx, [edi + 0x114]
push ecx
lea eax, [esi + 0x114]
push 0x10
push eax
call fcn.0058ace3
mov eax, dword [edi + 0x124]
push 0
push 0
push esi
push 0x53e1c0
mov dword [esi + 0x124], eax
mov al, byte [edi + 0x128]
push 0
push 0
mov byte [esi + 0x128], al
call fcn.0058b46b
mov ecx, dword [ebp - 4]
add esp, 0x34
mov dword [0x6caf8c], eax
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.00585d34
mov esp, ebp
pop ebp
ret 4

Function at 0x53e580
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x5c5958
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi], eax
test eax, eax
je 0x53e5d2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCreateFile
push eax
call esi
push str.IcmpSendEcho
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.IcmpCloseHandle
push dword [edi]
mov dword [edi + 8], eax
call esi
mov dword [edi + 0xc], eax
pop esi
lea eax, [ebp - 0x194]
push eax
push 0x201
call sub.WSOCK32.dll_WSAStartup
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00585d34
mov esp, ebp
pop ebp
ret
Function at 0x53e620
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0xffffffff
call sub.WSOCK32.dll_inet_addr
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
jne 0x53e66b
push esi
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x53e661
or eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp + 8], eax
push ebx
push 0x20
call fcn.00584c9a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x53e6c2
push 0x3c
call fcn.00584c9a
mov esi, eax
add esp, 4
test esi, esi
jne 0x53e6a1
push ebx
call fcn.00586c38
add esp, 4
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call eax
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, 0xffffffff
jne 0x53e6ce
push ebx
call fcn.00586c38
push esi
call fcn.00586c38
add esp, 8
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
movzx eax, ax
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x53e716
mov dword [ebp + 0xc], eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push 0x3c
push esi
push 0
mov eax, dword [eax + 8]
push 0x20
push ebx
push dword [ebp + 8]
push ecx
call eax
cmp dword [esi + 4], 0
jne 0x53e70e
mov eax, dword [esi + 8]
add dword [edi], eax
jne 0x53e70b
mov dword [edi], 1
inc dword [ebp - 8]
dec dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
jne 0x53e6e1
mov eax, dword [edi]
xor edx, edx
div dword [ebp - 0x10]
mov ecx, 1
test eax, eax
push esi
cmove eax, ecx
mov dword [edi], eax
call fcn.00586c38
push ebx
call fcn.00586c38
mov eax, dword [ebp - 4]
add esp, 8
push dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
call ecx
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x550470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0236
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x695e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.CReinforceManager.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 0x14
mov byte [ebp - 4], 1
call fcn.004f06a0
push 0x14
lea ecx, [edi + 0x28]
call fcn.004f06a0
mov dword [edi + 0x4c], 0
mov eax, edi
mov dword [edi + 0x50], 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 0x56c570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2c95
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x695e80]
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.CTileManager.0
lea ecx, [edi + 0x34]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.004539c0
mov dword [edi + 0x34], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
lea esi, [edi + 0x54]
mov byte [ebp - 4], 1
push 8
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.0058554c
add esp, 4
test eax, eax
jne 0x56c61f
call fcn.00584bb9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x68]
mov byte [ebp - 4], 2
push 8
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.0058554c
add esp, 4
test eax, eax
jne 0x56c66e
call fcn.00584bb9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
lea esi, [edi + 0x88]
mov byte [ebp - 4], 4
push 8
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.0058554c
add esp, 4
test eax, eax
jne 0x56c6db
call fcn.00584bb9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x9c]
mov byte [ebp - 4], 5
push 8
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.0058554c
add esp, 4
test eax, eax
jne 0x56c72d
call fcn.00584bb9
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov eax, edi
mov dword [edi + 0xc], 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 0x57bd50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push closesocket
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x57be21
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x57bdbb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x57bda2
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x57bda3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1a], 0
je 0x57be21
mov ecx, dword [0x6c9eb4]
test ecx, ecx
je 0x57be21
push dword [ebp - 0xe]
call fcn.004a0cb0
push dword [ebp - 0x10]
mov ecx, dword [0x6c9eb4]
call fcn.004a0c90
movss xmm0, dword [ebp - 0xa]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x6c7950
push 0
call fcn.004fb940
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00585d34
mov esp, ebp
pop ebp
ret 4
Function at 0x57c360
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x57c461
push esi
push 0
mov ecx, 0x5ef6e0
call fcn.0045b4b0
push eax
lea eax, [ebp - 0x108]
push str._sdata
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x108]
add esp, 0xc
push 0
push eax
call esi
push dword [edi + 0x16]
mov ecx, 0x5ef6e0
push 0
call fcn.0045b4b0
push eax
lea eax, [ebp - 0x108]
push str._sdata_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
call esi
test bl, 1
je 0x57c424
mov eax, dword [edi + 0x16]
mov ecx, 0x5ef6e0
push eax
push eax
push 0
call fcn.0045b4b0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x108]
push str._sdata_d_d.uii
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.0057be40
jmp 0x57c42a
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x57c460
mov eax, dword [edi + 0x16]
mov ecx, 0x5ef6e0
push eax
push eax
push 0
call fcn.0045b4b0
push eax
lea eax, [ebp - 0x108]
push str._sdata_d_d.uis
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.0057c480
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00585d34
mov esp, ebp
pop ebp
ret 4

Function at 0x57c480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6c9eb4]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x57c517
push edi
call fcn.0049f590
movss xmm0, dword [0x6c7990]
push 0
push 0x80
push 2
mov dword [ebp - 0xe], eax
mov eax, dword [0x6c9eb4]
push 0
push 0
push 0x40000000
mov ax, word [eax + 0x666]
push esi
mov word [ebp - 0x10], ax
movss dword [ebp - 0xa], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x57c516
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push 0
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x6060801
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00585d34
mov esp, ebp
pop ebp
ret 4