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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6b48
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xa37210]
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.0057b17d
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.0058100f
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x5358d0
push 0
push 0
call fcn.005813b3
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x5344ec
push dword [ebp + 8]
call fcn.0057b1ce
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 0x534500
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x535c70
push 0
push 0
call fcn.005813b3
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x534c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6b48
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xa37210]
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.0057b17d
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.0058100f
mov ecx, dword [esi + 0x22]
mov al, byte [ebp + 0x20]
push 0
push 0
mov byte [ecx + 0x104], al
push dword [esi + 0x22]
push 0x5363a0
push 0
push 0
call fcn.005813b3
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x534cac
push dword [ebp + 8]
call fcn.0057b1ce
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 0x534cc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6c18
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0xa37210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [0xa6b6f4]
mov eax, 0x2aaaaaab
mov esi, dword [0xa6b6f0]
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 0x534d49
cmp esi, edi
je 0x534d43
cmp dword [esi + 0x14], 0x10
jb 0x534d25
push dword [esi]
call fcn.0057b1ce
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x534d15
mov esi, dword [0xa6b6f0]
mov dword [0xa6b6f4], esi
cmp byte [ebp + 0x20], 0
lea eax, [ebp + 8]
je 0x534dcc
push 0xa6b6f0
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.00407670
mov ecx, ebx
call fcn.00537300
mov edi, dword [0xa6b6f4]
mov eax, 0x2aaaaaab
mov esi, dword [0xa6b6f0]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x534ddb
cmp esi, edi
je 0x534ddb
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x534db0
cmp dword [esi + 0x14], 0x10
jb 0x534dba
mov eax, dword [esi]
jmp 0x534dbc
mov eax, esi
push eax
call edi
add esi, 0x18
cmp esi, dword [0xa6b6f4]
jne 0x534db0
jmp 0x534ddb
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 0x534dec
push dword [ebp + 8]
call fcn.0057b1ce
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 0x535260
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0xa37210]
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 0x535393
test eax, eax
je 0x535393
push esi
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x535334
cmp byte [ebp - 0x25c], 0
je 0x535334
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
push 0x5b9444
push esi
call edi
test eax, eax
je 0x53532c
push 0x5b9448
push esi
call edi
test eax, eax
je 0x53532c
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 0x535342
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.00581297
add esp, 0xc
test eax, eax
je 0x535357
add esi, 4
cmp byte [esi], 0
jne 0x5352c1
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.0057b964
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.0057b964
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0057b964
mov esp, ebp
pop ebp
ret 8
Function at 0x535f70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6e88
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0xa37210]
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 0x5360b2
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x5360ab
lea esp, [esp]
push dword [ebp - 0x160]
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.005360e0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x536071
cmp dword [ebp - 0x14], 0x10
jb 0x53601b
push dword [ebp - 0x28]
call fcn.0057b1ce
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x14], 0x10
jae 0x536049
mov eax, dword [esi + 0x10]
inc eax
je 0x536054
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0057b320
add esp, 0xc
jmp 0x536054
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 0x536082
push dword [ebp - 0x40]
call fcn.0057b1ce
add esp, 4
cmp dword [ebp - 0x18], 0
jbe 0x536096
lea eax, [ebp - 0x28]
mov ecx, 0xa6b6f0
push eax
call fcn.0041b110
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x535ff0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x5360c3
push dword [ebp - 0x28]
call fcn.0057b1ce
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.0057b964
mov esp, ebp
pop ebp
ret
Function at 0x5360e0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0xa37210]
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 0x5af7d2
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.004077a0
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 0x536196
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.004135d0
cmp dword [ebp - 0x21c], 0x10
jb 0x536200
push dword [ebp - 0x230]
call fcn.0057b1ce
add esp, 4
jmp 0x536200
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x5361b5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5361e7
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00535260
push esi
test eax, eax
je 0x5361ad
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.00414770
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.004135d0
lea ecx, [ebp - 0x230]
call fcn.005377b0
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.0057b964
mov esp, ebp
pop ebp
ret 8
Function at 0x5369c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0xa37210]
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 0x536a49
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00407570
test al, al
je 0x536a46
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 0x536b1f
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 0x536a90
sub eax, ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 1
push eax
call fcn.005375e0
cmp bl, 0x5c
je 0x536ab8
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 0x536b0f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0044cd20
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.005815e0
add esp, 8
test eax, eax
je 0x536afa
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00581640
add esp, 4
test eax, eax
jne 0x536b18
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 0x536a54
mov edi, dword [ebp - 0x14]
xor bl, bl
jmp 0x536b21
mov bl, 1
cmp edi, 0x10
jb 0x536b31
push dword [ebp - 0x28]
call fcn.0057b1ce
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x536b54
push dword [ebp - 0x40]
call fcn.0057b1ce
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x536b77
push dword [ebp + 8]
call fcn.0057b1ce
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.0057b964
mov esp, ebp
pop ebp
ret 0x18
Function at 0x537960
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 [0xa37210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
push dword [0xa6b72c]
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 0x5379a4
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 [0xa6b728], eax
push ecx
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x5379e2
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4
push 0x12a
call fcn.0057b17d
mov esi, eax
lea ecx, [edi + 0x10]
push ecx
push 0x104
lea ecx, [esi + 0x10]
push ecx
call fcn.0058100f
lea ecx, [edi + 0x114]
push ecx
lea eax, [esi + 0x114]
push 0x10
push eax
call fcn.0058100f
mov eax, dword [edi + 0x124]
push 0
push 0
push esi
push 0x537aa0
mov dword [esi + 0x124], eax
mov al, byte [edi + 0x128]
push 0
push 0
mov byte [esi + 0x128], al
call fcn.005813b3
mov ecx, dword [ebp - 4]
add esp, 0x34
mov dword [0xa6b72c], eax
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4

Function at 0x537e60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x5bd328
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi], eax
test eax, eax
je 0x537eb2
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.0057b964
mov esp, ebp
pop ebp
ret
Function at 0x537f00
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 0x537f4b
push esi
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x537f41
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.0057a872
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x537fa2
push 0x3c
call fcn.0057a872
mov esi, eax
add esp, 4
test esi, esi
jne 0x537f81
push ebx
call fcn.0057c868
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 0x537fae
push ebx
call fcn.0057c868
push esi
call fcn.0057c868
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 0x537ff6
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 0x537fee
mov eax, dword [esi + 8]
add dword [edi], eax
jne 0x537feb
mov dword [edi], 1
inc dword [ebp - 8]
dec dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
jne 0x537fc1
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.0057c868
push ebx
call fcn.0057c868
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 0x54a510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5d76
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xa37210]
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.00422350
push 0x14
lea ecx, [edi + 0x28]
call fcn.00422350
mov dword [edi + 0x4c], 0
mov eax, edi
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 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 0x565e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8665
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xa37210]
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.004547e0
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.0057b17d
add esp, 4
test eax, eax
jne 0x565eff
call fcn.0057a791
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.0057b17d
add esp, 4
test eax, eax
jne 0x565f4e
call fcn.0057a791
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.0057b17d
add esp, 4
test eax, eax
jne 0x565fbb
call fcn.0057a791
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.0057b17d
add esp, 4
test eax, eax
jne 0x56600d
call fcn.0057a791
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 0x575700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa37210]
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 0x5757d1
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 0x57576b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x575752
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 0x575753
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1a], 0
je 0x5757d1
mov ecx, dword [0xa6a654]
test ecx, ecx
je 0x5757d1
push dword [ebp - 0xe]
call fcn.0049d3c0
push dword [ebp - 0x10]
mov ecx, dword [0xa6a654]
call fcn.0049d3a0
movss xmm0, dword [ebp - 0xa]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0xa67ef8
push 0
call fcn.004f5090
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4
Function at 0x575d30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x575e31
push esi
push 0
mov ecx, 0x71a8c8
call fcn.0045b9a0
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, 0x71a8c8
push 0
call fcn.0045b9a0
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 0x575df4
mov eax, dword [edi + 0x16]
mov ecx, 0x71a8c8
push eax
push eax
push 0
call fcn.0045b9a0
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.005757f0
jmp 0x575dfa
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x575e30
mov eax, dword [edi + 0x16]
mov ecx, 0x71a8c8
push eax
push eax
push 0
call fcn.0045b9a0
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.00575e50
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0057b964
mov esp, ebp
pop ebp
ret 4

Function at 0x575e50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0xa6a654]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x575ee7
push edi
call fcn.0049be70
movss xmm0, dword [0xa67f38]
push 0
push 0x80
push 2
mov dword [ebp - 0xe], eax
mov eax, dword [0xa6a654]
push 0
push 0
push 0x40000000
mov ax, word [eax + 0x678]
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 0x575ee6
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.0057b964
mov esp, ebp
pop ebp
ret 4