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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3cc8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6d5760]
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.005b6294
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.005bc1d3
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x56c4e0
push 0
push 0
call fcn.005bcab5
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x56b3fc
push dword [ebp + 8]
call fcn.005b62e5
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 0x56b410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3cc8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6d5760]
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.005b6294
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.005bc1d3
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x56c880
push 0
push 0
call fcn.005bcab5
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x56b49c
push dword [ebp + 8]
call fcn.005b62e5
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 0x56b4b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x56cc20
push 0
push 0
call fcn.005bcab5
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x56bbd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3cc8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6d5760]
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.005b6294
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.005bc1d3
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x56d350
push 0
push 0
call fcn.005bcab5
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x56bc5c
push dword [ebp + 8]
call fcn.005b62e5
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 0x56bc70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3ea8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6d5760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [0x719740]
mov eax, 0x2aaaaaab
mov esi, dword [0x71973c]
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 0x56bcf9
cmp esi, edi
je 0x56bcf3
cmp dword [esi + 0x14], 0x10
jb 0x56bcd5
push dword [esi]
call fcn.005b62e5
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x56bcc5
mov esi, dword [0x71973c]
mov dword [0x719740], esi
cmp byte [ebp + 0x20], 0
lea eax, [ebp + 8]
je 0x56bd7c
push 0x71973c
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.00407830
mov ecx, ebx
call fcn.0056e280
mov edi, dword [0x719740]
mov eax, 0x2aaaaaab
mov esi, dword [0x71973c]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x56bd8b
cmp esi, edi
je 0x56bd8b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x56bd60
cmp dword [esi + 0x14], 0x10
jb 0x56bd6a
mov eax, dword [esi]
jmp 0x56bd6c
mov eax, esi
push eax
call edi
add esi, 0x18
cmp esi, dword [0x719740]
jne 0x56bd60
jmp 0x56bd8b
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 0x56bd9c
push dword [ebp + 8]
call fcn.005b62e5
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 0x56c210
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x6d5760]
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 0x56c343
test eax, eax
je 0x56c343
push esi
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x56c2e4
cmp byte [ebp - 0x25c], 0
je 0x56c2e4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
push 0x5f7de4
push esi
call edi
test eax, eax
je 0x56c2dc
push 0x5f7de8
push esi
call edi
test eax, eax
je 0x56c2dc
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 0x56c2f2
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.005bc531
add esp, 0xc
test eax, eax
je 0x56c307
add esi, 4
cmp byte [esi], 0
jne 0x56c271
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.005b6a74
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.005b6a74
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 8
Function at 0x56cf20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4008
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x6d5760]
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], pe_nt_image_headers32
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x56d062
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x56d05b
lea esp, [esp]
push dword [ebp - 0x160]
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0056d090
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x56d021
cmp dword [ebp - 0x14], 0x10
jb 0x56cfcb
push dword [ebp - 0x28]
call fcn.005b62e5
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x14], 0x10
jae 0x56cff9
mov eax, dword [esi + 0x10]
inc eax
je 0x56d004
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005b6430
add esp, 0xc
jmp 0x56d004
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 0x56d032
push dword [ebp - 0x40]
call fcn.005b62e5
add esp, 4
cmp dword [ebp - 0x18], 0
jbe 0x56d046
lea eax, [ebp - 0x28]
mov ecx, 0x71973c
push eax
call fcn.0041c010
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x56cfa0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x56d073
push dword [ebp - 0x28]
call fcn.005b62e5
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.005b6a74
mov esp, ebp
pop ebp
ret
Function at 0x56d090
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd75b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6d5760]
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 0x5eb3bc
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00407960
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 0x56d146
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00413d70
cmp dword [ebp - 0x21c], 0x10
jb 0x56d1b0
push dword [ebp - 0x230]
call fcn.005b62e5
add esp, 4
jmp 0x56d1b0
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x56d165
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x56d197
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0056c210
push esi
test eax, eax
je 0x56d15d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.00414e30
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00413d70
lea ecx, [ebp - 0x230]
call fcn.00407230
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.005b6a74
mov esp, ebp
pop ebp
ret 8
Function at 0x56d8c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4128
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6d5760]
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 0x56d949
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00407730
test al, al
je 0x56d946
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 0x56da1f
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 0x56d990
sub eax, ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 1
push eax
call fcn.004432c0
cmp bl, 0x5c
je 0x56d9b8
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 0x56da0f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042e5a0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.005bcd24
add esp, 8
test eax, eax
je 0x56d9fa
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.005bcce2
add esp, 4
test eax, eax
jne 0x56da18
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 0x56d954
mov edi, dword [ebp - 0x14]
xor bl, bl
jmp 0x56da21
mov bl, 1
cmp edi, 0x10
jb 0x56da31
push dword [ebp - 0x28]
call fcn.005b62e5
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x56da54
push dword [ebp - 0x40]
call fcn.005b62e5
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x56da77
push dword [ebp + 8]
call fcn.005b62e5
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.005b6a74
mov esp, ebp
pop ebp
ret 0x18
Function at 0x56e7f0
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 [0x6d5760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
push dword [0x719778]
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 0x56e834
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 [0x719774], eax
push ecx
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x56e872
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 4
push 0x12a
call fcn.005b6294
mov esi, eax
lea ecx, [edi + 0x10]
push ecx
push 0x104
lea ecx, [esi + 0x10]
push ecx
call fcn.005bc1d3
lea ecx, [edi + 0x114]
push ecx
lea eax, [esi + 0x114]
push 0x10
push eax
call fcn.005bc1d3
mov eax, dword [edi + 0x124]
push 0
push 0
push esi
push 0x56e930
mov dword [esi + 0x124], eax
mov al, byte [edi + 0x128]
push 0
push 0
mov byte [esi + 0x128], al
call fcn.005bcab5
mov ecx, dword [ebp - 4]
add esp, 0x34
mov dword [0x719778], eax
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 4

Function at 0x56ecf0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x6015f8
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi], eax
test eax, eax
je 0x56ed42
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.005b6a74
mov esp, ebp
pop ebp
ret
Function at 0x56ed90
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 0x56eddb
push esi
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x56edd1
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.005b591a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x56ee32
push 0x3c
call fcn.005b591a
mov esi, eax
add esp, 4
test esi, esi
jne 0x56ee11
push ebx
call fcn.005b7978
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 0x56ee3e
push ebx
call fcn.005b7978
push esi
call fcn.005b7978
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 0x56ee86
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 0x56ee7e
mov eax, dword [esi + 8]
add dword [edi], eax
jne 0x56ee7b
mov dword [edi], 1
inc dword [ebp - 8]
dec dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
jne 0x56ee51
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.005b7978
push ebx
call fcn.005b7978
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 0x580d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3036
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d5760]
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.004159f0
push 0x14
lea ecx, [edi + 0x28]
call fcn.004159f0
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 0x59c750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5a45
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d5760]
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.00568460
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.005b6294
add esp, 4
test eax, eax
jne 0x59c7ff
call fcn.005b5839
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.005b6294
add esp, 4
test eax, eax
jne 0x59c84e
call fcn.005b5839
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.005b6294
add esp, 4
test eax, eax
jne 0x59c8bb
call fcn.005b5839
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.005b6294
add esp, 4
test eax, eax
jne 0x59c90d
call fcn.005b5839
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 0x5ac160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6d5760]
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 0x5ac231
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 0x5ac1cb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x5ac1b2
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 0x5ac1b3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1a], 0
je 0x5ac231
mov ecx, dword [0x718694]
test ecx, ecx
je 0x5ac231
push dword [ebp - 0xe]
call fcn.004cd450
push dword [ebp - 0x10]
mov ecx, dword [0x718694]
call fcn.004cd430
movss xmm0, dword [ebp - 0xa]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x716118
push 0
call fcn.0052e0f0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 4
Function at 0x5ac770
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x5ac871
push esi
push 0
mov ecx, 0x62ebb8
call fcn.00488150
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, 0x62ebb8
push 0
call fcn.00488150
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 0x5ac834
mov eax, dword [edi + 0x16]
mov ecx, 0x62ebb8
push eax
push eax
push 0
call fcn.00488150
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.005ac250
jmp 0x5ac83a
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x5ac870
mov eax, dword [edi + 0x16]
mov ecx, 0x62ebb8
push eax
push eax
push 0
call fcn.00488150
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.005ac890
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.005b6a74
mov esp, ebp
pop ebp
ret 4

Function at 0x5ac890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x718694]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x5ac927
push edi
call fcn.004cbcc0
movss xmm0, dword [0x716158]
push 0
push 0x80
push 2
mov dword [ebp - 0xe], eax
mov eax, dword [0x718694]
push 0
push 0
push 0x40000000
mov ax, word [eax + 0x68a]
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 0x5ac926
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.005b6a74
mov esp, ebp
pop ebp
ret 4