joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7180
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0x4a7200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.0923202a112b28272f25626e610626352720352b2c2f
call fcn.00447530
lea eax, [ebp - 0x1c]
push eax
call fcn.004a7b30
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.00441d60
push eax
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x1c]
call fcn.004419f0
push 0
call fcn.00687048
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret

Function at 0x4a72d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x10]
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00678240
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0xc]
sub edx, dword [ebp - 4]
sub edx, 5
mov eax, dword [ebp - 4]
mov dword [eax + 1], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
sub eax, 5
mov ecx, dword [ebp - 4]
mov dword [ecx + 1], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret 8
Function at 0x4a7360
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70d8e0
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x28]
call fcn.004419d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.00447050
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
je 0x4a7446
push 0x7250d4
push 0x7250d8
call fcn.006822aa
add esp, 8
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push str._HackShield__Error_while_decrypting_this_text:
call fcn.006872b7
add esp, 8
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00441d60
push eax
call fcn.006872b7
add esp, 8
mov ecx, dword [ebp - 0x44]
push ecx
push 0x725124
call fcn.006872b7
add esp, 8
mov edx, dword [ebp - 0x44]
push edx
call fcn.00682164
add esp, 4
push 0xffffffffffffffff
call fcn.00687048
push 0x725049
mov ecx, dword [ebp + 8]
call fcn.00447530
mov eax, dword [ebp - 0x4c]
or eax, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
mov eax, dword [ebp + 8]
jmp 0x4a752a
mov ecx, dword [ebp + 0xc]
call fcn.00447050
shr eax, 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], 0
jmp 0x4a7465
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x48]
jbe 0x4a7503
mov dword [ebp - 0x50], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.004a6440
mov byte [ebp - 4], 1
push 2
mov eax, dword [ebp - 0x48]
shl eax, 1
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0044dcc0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
push eax
push 0x4a9430
lea ecx, [ebp - 0xfc]
call fcn.004a6810
push eax
call fcn.004a3e20
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004419f0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.004a67f0
movzx edx, byte [ebp - 0x50]
push edx
lea ecx, [ebp - 0x28]
call fcn.00448c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.004a68c0
jmp 0x4a745c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.004474f0
mov ecx, dword [ebp - 0x4c]
or ecx, 1
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret
Function at 0x4aaff0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70dc14
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7b7fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004aaf60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CGuildMarkManager.0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004aaf20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004908c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0049d460
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.004419d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004aaf40
mov byte [ebp - 4], 5
push str.mark
call fcn.00696a84
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x4ab09a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x1900
jae 0x4ab0b8
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0049d260
jmp 0x4ab091
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ae260
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70de4d
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x4ae3c8
lea ecx, [ebp - 0x28]
call fcn.004419d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00567d70
add esp, 4
push 0x224
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.00678c60
add esp, 0xc
mov dword [ebp - 0x24c], 0x224
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Module32First
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
je 0x4ae3ac
lea ecx, [ebp - 0x28]
call fcn.00441d60
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004ae560
add esp, 8
test eax, eax
je 0x4ae36e
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00488700
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x238]
mov dword [eax], ecx
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x24d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
mov al, byte [ebp - 0x24d]
jmp 0x4ae3ca
push 0x224
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.00678c60
add esp, 0xc
mov dword [ebp - 0x24c], 0x224
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call sub.KERNEL32.dll_Module32Next
mov dword [ebp - 0x258], eax
jmp 0x4ae300
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004419f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret
Function at 0x4b28f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
call fcn.004af100
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.004b2190
push 0x726b3c
mov ecx, dword [ebp + 8]
push ecx
call fcn.006822aa
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cvtss2sd xmm0, dword [ebp - 0x20]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x24]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x28]
sub esp, 8
movsd qword [esp], xmm0
push str.CenterPos__f__f__f_n
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005a1b20
add esp, 0x24
cvtss2sd xmm0, dword [ebp - 0x10]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0xc]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 8]
sub esp, 8
movsd qword [esp], xmm0
push str.CameraSetting__f__f__f_n
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005a1b20
add esp, 0x24
cvtss2sd xmm0, dword [ebp - 0x14]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x18]
sub esp, 8
movsd qword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 0x1c]
sub esp, 8
movsd qword [esp], xmm0
push str.CmrPos__f__f__f_n
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005a1b20
add esp, 0x24
cvttss2si eax, dword [ebp - 0x14]
push eax
cvttss2si ecx, dword [ebp - 0x18]
push ecx
cvttss2si edx, dword [ebp - 0x1c]
push edx
cvttss2si eax, dword [ebp - 0x10]
push eax
cvttss2si ecx, dword [ebp - 0xc]
push ecx
cvttss2si edx, dword [ebp - 8]
push edx
cvttss2si eax, dword [ebp - 0x20]
push eax
cvttss2si ecx, dword [ebp - 0x24]
push ecx
cvttss2si edx, dword [ebp - 0x28]
push edx
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005a1b20
add esp, 0x30
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00682164
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret 4

Function at 0x4b8460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push 0x40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5054a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x710403
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x7b7fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x11c
call fcn.00489950
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x24], ax
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
push 0xdc
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x3c
push eax
call fcn.00678c60
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x118], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x11c
call fcn.00489970
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5419d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x73a988
push 0x73a98c
call fcn.006822aa
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5419f8
xor al, al
jmp 0x541a23
mov eax, dword [ebp - 4]
push eax
push 0xc8
push 1
mov ecx, dword [ebp - 8]
add ecx, 0x2650
push ecx
call fcn.00682729
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call fcn.00682164
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x541d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x264c], 0
jne 0x541d57
jmp 0x541dd0
push 0x73a99c
call dword [sym.imp.python27.dll_Py_BuildValue]
add esp, 4
push eax
push str.OnSaveInterfaceStatus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x264c]
push edx
call fcn.00638f80
add esp, 0xc
push 0x73a9b8
push str.interface.cfg
call fcn.006822aa
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x541da7
push str.Cannot_open_interface.cfg
call fcn.00567380
add esp, 4
jmp 0x541dd0
mov eax, dword [ebp - 8]
push eax
push 0xc8
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x2650
push ecx
call fcn.006824e0
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call fcn.00682164
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x548cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x712c0d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x7b7fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00441fd0
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00548f80
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00548920
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00549450
mov dword [ebp - 0x20], 0x548bd0
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.0048cbd0
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.0068d18d
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x548d5f
lea ecx, [ebp - 0x14]
call fcn.0054c0d0
jmp 0x548d70
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.006479d6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00549450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x549920
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x104]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movsx edx, byte [ebp + eax - 0x105]
cmp edx, 0x5c
je 0x549974
push 0x73bc18
lea eax, [ebp - 0x104]
push eax
call fcn.0068bcd0
add esp, 8
push str.metin2client.dat
lea ecx, [ebp - 0x104]
push ecx
call fcn.0068bcd0
add esp, 8
call fcn.004a7640
push eax
lea edx, [ebp - 0x204]
push edx
call fcn.0068bcc0
add esp, 8
push 0x73bc30
call fcn.00681de0
add esp, 4
push eax
push 0x73bc38
lea eax, [ebp - 0x204]
push eax
call fcn.0068bec8
add esp, 0xc
test eax, eax
jne 0x5499e9
call fcn.004a7640
mov esi, eax
push str.locale_
call fcn.00681de0
add esp, 4
add esi, eax
push esi
lea ecx, [ebp - 0x204]
push ecx
call fcn.0068bcc0
add esp, 8
lea edx, [ebp - 0x104]
push edx
push 0x1ff
lea eax, [ebp - 0x404]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x404]
test edx, edx
jne 0x549a40
push 0x1ff
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x7d1860]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x404]
test edx, edx
jne 0x549a78
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea ecx, [ebp - 0x404]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0x73bc48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x404]
test edx, edx
jne 0x549a9f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.0068bcc0
add esp, 8
lea edx, [ebp + 8]
push edx
mov ecx, 0x7d1864
call fcn.004da220
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x408]
call fcn.00488700
mov eax, dword [ebp - 0x408]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret
Function at 0x54c810
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00682164
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.00682164
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0068f043
add esp, 4
push 0x200
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0054d5c0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.0068f0ad
add esp, 8
mov eax, 1
pop ebp
ret

Function at 0x54e1b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7d2e98], 0
jne 0x54e1be
jmp 0x54e200
push 0
mov eax, dword [0x7d2e98]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x7d2e98]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54e1ea
mov edx, dword [0x7d2e98]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x7d2e98], 0
mov eax, dword [0x7d2e9c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop ebp
ret

Function at 0x5680b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
je 0x5680c6
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x5680cb
jmp 0x568190
mov edx, dword [ebp + 8]
push edx
call fcn.00681de0
add esp, 4
cmp eax, 3
jb 0x5680f1
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3a
jne 0x5680f1
mov edx, dword [ebp + 8]
add edx, 3
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00681de0
add esp, 4
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0065d695
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x56817e
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x56813e
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x568173
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00678c60
add esp, 0xc
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00681e70
add esp, 0xc
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x56811e
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0065d69e
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x5690a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x5690cf
xor eax, eax
jmp 0x5690eb
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x5690f0
Capabilities:
Get file size
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x1c], 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp - 4]
imul eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
push 0
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x14]
push ecx
push 0
push 2
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5691ae
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00568540
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
je 0x5691a4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x56ae50
Capabilities:
Get system information on windows
Print debug messages
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x130], ecx
cmp dword [ebp + 0x10], 0
jne 0x56ae7f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x114]
mov dword [edx + 0x134], ecx
jmp 0x56ae8b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x134], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x130]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x134]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x114]
jbe 0x56aeaf
xor eax, eax
jmp 0x56afed
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x130]
xor edx, edx
div dword [ebp - 8]
imul eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x130]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x134]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x130]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x130]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x134]
push ecx
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x12c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x12c], 0
jne 0x56af4f
push str.CMappedFile::Map__m_hFM_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x56afed
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x138], 0
jne 0x56af98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CMappedFile::Map__m_lpMapData__lu
call fcn.00567380
add esp, 8
xor eax, eax
jmp 0x56afed
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x138]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [eax + 0x13c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x13c]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x128], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x13c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x134]
push edx
mov ecx, dword [ebp - 4]
call fcn.0056ae20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x134]
mov esp, ebp
pop ebp
ret 0xc