joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452b90
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov eax, 0x1860
call fcn.0049b530
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x185c], eax
mov eax, dword [esp + 0x1864]
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x228
lea edx, [esp + 0x1028]
push edi
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x102c], edi
call fcn.00499a30
add esp, 0xc
push 0x206
lea eax, [esp + 0x145e]
push edi
push eax
mov word [esp + 0x1464], di
call fcn.00499a30
add esp, 0xc
push 0x206
lea ecx, [esp + 0x1256]
push edi
push ecx
mov word [esp + 0x125c], di
call fcn.00499a30
add esp, 0xc
push 0xffc
lea edx, [esp + 0x28]
push edi
push edx
mov dword [esp + 0x2c], edi
call fcn.00499a30
add esp, 0xc
push edi
push 2
mov dword [esp + 0x24], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x452c68
lea eax, [esp + 0x1020]
push eax
push ebp
mov dword [esp + 0x1028], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x452c70
cmp ebp, edi
je 0x452c68
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x452db3
push str.QQ.exe
lea ecx, [esp + 0x1048]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x452d8d
mov edx, dword [esp + 0x1028]
push edx
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x452d8d
lea eax, [esp + 0x1c]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x452d8d
mov eax, dword [esp + 0x20]
push 0x208
lea edx, [esp + 0x1254]
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x452d8d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CompanyName
lea ecx, [esp + 0x145c]
lea ebx, [esp + 0x1254]
call fcn.00452a30
add esp, 4
lea ecx, [esp + 0x1458]
push str.Tencent
push ecx
call fcn.00496a59
add esp, 8
test eax, eax
jne 0x452d8d
push 0x206
lea edx, [esp + 0x1666]
push edi
push edx
mov word [esp + 0x166c], di
call fcn.00499a30
add esp, 0xc
push str.LegalCopyright
lea ecx, [esp + 0x1664]
call fcn.00452a30
add esp, 4
test eax, eax
je 0x452d7d
lea eax, [esp + 0x1660]
push str.2008
push eax
call fcn.00496499
add esp, 8
test eax, eax
lea ebx, [esp + 0x1028]
je 0x452d84
mov esi, dword [esp + 0x18]
jmp 0x452d88
lea ebx, [esp + 0x1028]
mov esi, dword [esp + 0x14]
call fcn.00452fb0
lea ecx, [esp + 0x1020]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x452c70
cmp ebp, edi
je 0x452dae
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x186c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00495cb8
add esp, 0x1860
ret
Function at 0x452dd0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov eax, 0x1658
call fcn.0049b530
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x1654], eax
mov eax, dword [esp + 0x165c]
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x228
lea edx, [esp + 0x1028]
push esi
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x102c], esi
call fcn.00499a30
add esp, 0xc
push 0x206
lea eax, [esp + 0x145e]
push esi
push eax
mov word [esp + 0x1464], si
call fcn.00499a30
add esp, 0xc
push 0x206
lea ecx, [esp + 0x1256]
push esi
push ecx
mov word [esp + 0x125c], si
call fcn.00499a30
add esp, 0xc
push 0xffc
lea edx, [esp + 0x28]
push esi
push edx
mov dword [esp + 0x2c], esi
call fcn.00499a30
add esp, 0xc
push esi
push 2
mov dword [esp + 0x24], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x452ea8
lea eax, [esp + 0x1020]
push eax
push ebp
mov dword [esp + 0x1028], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x452eaf
cmp ebp, esi
je 0x452ea8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x452f90
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1048]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x452f6a
mov eax, dword [esp + 0x1028]
push eax
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x452f6a
lea ecx, [esp + 0x1c]
push ecx
push 0x1000
lea edx, [esp + 0x28]
push edx
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x452f6a
mov ecx, dword [esp + 0x20]
push 0x208
lea eax, [esp + 0x1254]
push eax
push ecx
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x452f6a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CompanyName
lea ecx, [esp + 0x145c]
lea ebx, [esp + 0x1254]
call fcn.00452a30
add esp, 4
lea edx, [esp + 0x1458]
push str.Tencent
push edx
call fcn.00496a59
add esp, 8
test eax, eax
jne 0x452f6a
mov esi, dword [esp + 0x14]
lea ebx, [esp + 0x1028]
call fcn.00452fb0
xor esi, esi
lea eax, [esp + 0x1020]
push eax
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x452eaf
cmp ebp, esi
je 0x452f8b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x1664]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00495cb8
add esp, 0x1658
ret
Function at 0x453710
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x4b8be2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push edi
mov eax, dword [0x4e44b4]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], esi
mov byte [esi + 4], bl
push ebx
push ebx
push 3
push ebx
push 3
push ebx
mov dword [esp + 0x44c], ebx
push str..PhysicalDrive0
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45381c
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x400
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00499a30
add esp, 0xc
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x400
lea edx, [esp + 0x34]
push edx
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x453815
mov edi, dword [esp + 0x38]
movsx ecx, byte [esp + edi + 0x28]
lea edi, [esp + edi + 0x28]
push ecx
call fcn.00496ec4
add esp, 4
test eax, eax
je 0x453815
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x453801
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00402d90
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00495cb8
add esp, 0x428
ret
Function at 0x453dd0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4b9d28
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e44b4]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xfc]
xor ebx, ebx
cmp ebp, ebx
jne 0x453e1f
xor al, al
jmp 0x453fe7
lea esi, [esp + 0xcc]
call fcn.00453710
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf8], ebx
call fcn.00453850
add esp, 4
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
lea ecx, [esp + 0xb0]
push ecx
lea edi, [esp + 0x98]
mov byte [esp + 0xf8], 2
call fcn.00453be0
add esp, 4
push 0x5c
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.00499a30
mov eax, dword [esp + 0xdc]
mov edi, 0x10
add esp, 0xc
cmp dword [esp + 0xe4], edi
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x70], ebx
jae 0x453ecf
lea eax, [esp + 0xd0]
mov ecx, dword [esp + 0xe0]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00452580
mov eax, dword [esp + 0x84]
add esp, 8
cmp dword [esp + 0x90], edi
jae 0x453ef8
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00452580
mov eax, dword [esp + 0xa0]
add esp, 8
cmp dword [esp + 0xac], edi
jae 0x453f24
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0xa8]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00452580
push ebp
lea esi, [esp + 0x24]
call fcn.00452860
add esp, 0xc
cmp dword [esp + 0xac], edi
jb 0x453f5c
mov eax, dword [esp + 0x98]
push eax
call fcn.00495fd1
add esp, 4
cmp dword [esp + 0xc8], edi
mov esi, 0xf
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
jb 0x453f8f
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00495fd1
add esp, 4
cmp dword [esp + 0x90], edi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x453fba
mov edx, dword [esp + 0x7c]
push edx
call fcn.00495fd1
add esp, 4
cmp dword [esp + 0xe4], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x453fe5
mov eax, dword [esp + 0xd0]
push eax
call fcn.00495fd1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00495cb8
add esp, 0xe4
ret
Function at 0x454180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x454197
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4541c8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4541c4
cmp esi, eax
jae 0x4541c8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4541b4
cmp esi, eax
jb 0x4541ce
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x454b80
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub esp, 0x78
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push esi
mov esi, dword [eax]
xor eax, eax
cmp esi, 0xffffffff
push edi
mov edi, ecx
je 0x454c4d
push 0x44
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00499a30
mov eax, dword [edi]
or dword [esp + 0x50], 0x101
add esp, 0xc
mov dword [esp + 0x50], esi
mov ecx, 7
mov esi, str.ipconfig__all
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 1
push 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
push 0
lea eax, [esp + 0x80]
push eax
push 0
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x454c37
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00495cb8
add esp, 0x78
ret 4
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.00495cb8
add esp, 0x78
ret 4
Function at 0x454c60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b9846
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push esi
push edi
mov eax, dword [0x4e44b4]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov eax, dword [esp + 0x438]
mov edx, dword [0x4eac50]
mov ebp, dword [esp + 0x43c]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xc]
mov esi, ecx
mov ecx, 0x4eac50
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x430], 0
mov eax, dword [esi]
test eax, eax
je 0x454cf0
cmp eax, 0xffffffff
je 0x454cf0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x454e39
mov dword [esi], 0xffffffff
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x454dc6
mov edi, dword [esp + 0x18]
test edi, edi
je 0x454dc6
mov edx, dword [0x4eac50]
mov eax, dword [edx]
push 1
push edi
mov ecx, 0x4eac50
call eax
test eax, eax
je 0x454e64
test edi, edi
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
jl 0x454e69
cmp edi, dword [esi - 8]
jg 0x454e69
push edi
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esi - 0xc], edi
push esi
mov byte [edi + esi], 0
call fcn.00495dea
add esp, 0x10
mov byte [esp + 0x430], 1
mov eax, dword [esi - 0xc]
push eax
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00457110
lea eax, [esi - 0x10]
mov byte [esp + 0x430], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454da3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x454d13
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
call fcn.00454e80
push esi
call fcn.004558b0
push esi
call fcn.00455db0
mov dword [esp + 0x430], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454e0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00495cb8
add esp, 0x424
ret 8
lea eax, [edi - 0x10]
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x454e10
call fcn.00456b40
push 0x80070057
call fcn.004276f0
int3
Function at 0x459dc0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, eax
call fcn.004589e0
mov eax, dword [edi + 0x3c]
xor ebx, ebx
push eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
call fcn.004961ac
push 2
push ebx
push ebp
mov dword [edi + 0x3c], ebx
call fcn.00498283
push ebp
call fcn.0049be65
push ebx
push ebx
push ebp
mov esi, eax
call fcn.00498283
add esp, 0x20
cmp esi, ebx
je 0x459e5b
lea ecx, [esi + 1]
push ecx
call fcn.00494ec8
push ebp
push 1
push esi
push eax
mov dword [edi + 0x3c], eax
call fcn.00497ff3
mov edx, dword [edi + 0x3c]
mov byte [esi + edx], bl
mov eax, dword [edi + 0x3c]
add esp, 0x14
call fcn.00457f20
mov byte [edi + 0x2c], bl
cmp byte [eax], 0xef
jne 0x459e48
cmp byte [eax + 1], 0xbb
jne 0x459e48
cmp byte [eax + 2], 0xbf
jne 0x459e48
mov byte [edi + 0x2c], 1
add eax, 3
cmp eax, ebx
je 0x459e65
cmp byte [eax], bl
je 0x459e65
mov edx, dword [edi]
push ebx
push eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
mov eax, dword [edi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, 0xe
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x30], eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x45c030
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x45c040
xor al, al
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
ret
Function at 0x4605c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7858
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e44b4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
mov dword [esp + 0x24], 0
call fcn.00460450
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x18]
add esp, 0x10
test eax, eax
je 0x46062c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x472190
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e44b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x20]
push ecx
xor esi, esi
mov dword [ebp - 0x24], esi
push 3
push eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], esi
mov word [ebp - 0x1c], si
call fcn.0047e1c0
add esp, 0xc
cmp dword [ebp - 0xc], esi
jne 0x4721da
cmp dword [ebp - 8], 8
jb 0x47221b
mov edx, dword [ebp - 0x1c]
push edx
jmp 0x472213
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], esi
jae 0x4721e9
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [ebp - 0x24]
mov esi, eax
push esi
push edx
mov ecx, edi
call fcn.004720d0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], 8
jb 0x47221b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00495fd1
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00495cb8
mov esp, ebp
pop ebp
ret 4

Function at 0x472230
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x4e8f64], 0
je 0x472245
xor al, al
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.00495ce0
add esp, 4
test eax, eax
je 0x472263
push 0
mov ecx, eax
call fcn.004718a0
mov dword [0x4e8f64], eax
jmp 0x47226d
mov dword [0x4e8f64], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
mov word [ebp - 0x18], 0
lea edi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x472290
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405680
mov ecx, dword [0x4e8f64]
lea eax, [ebp - 0x1c]
push eax
call fcn.00472190
cmp dword [ebp - 4], 8
pop edi
jb 0x4722cb
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00495fd1
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x472420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x4e44b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0
je 0x4725a8
cmp byte [0x4e8f83], 0
je 0x4725a8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.00499b28
add esp, 8
test eax, eax
je 0x47247d
mov word [eax + 2], 0
push str.debug_message.exe
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0049a4bf
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x4724a7
mov eax, dword [esi + 4]
mov dword [ebp - 0x230], eax
jmp 0x4724b0
lea ecx, [esi + 4]
mov dword [ebp - 0x230], ecx
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - 0x22c], edx
call fcn.004738d0
add esp, 8
cmp dword [ebp - 0x214], 0
jne 0x4724f1
cmp dword [ebp - 0x210], 8
jb 0x4725a8
mov edx, dword [ebp - 0x224]
push edx
jmp 0x4725a0
push 0x44
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.00499a30
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x284]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x284], 0x44
call fcn.0041a660
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x472570
mov ecx, dword [ebp - 0x240]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x240]
push eax
call esi
jmp 0x472590
push 0x40010
push 0x4c2a44
push 0
lea ecx, [ebp - 0x228]
call fcn.0041a660
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x210], 8
jb 0x4725a8
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00495fd1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00495cb8
mov esp, ebp
pop ebp
ret
Function at 0x473ab0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 0x104
cmp dword [ecx + 0x14], edx
jae 0x473af9
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], edx
jae 0x473af9
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x473ad7
mov eax, dword [eax + 4]
jmp 0x473ada
add eax, 4
cmp dword [ecx + 0x18], edx
jb 0x473ae4
mov ecx, dword [ecx + 4]
jmp 0x473ae7
add ecx, 4
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x473b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x473b22
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret

Function at 0x473b80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x473b91
mov eax, dword [eax + 4]
jmp 0x473b94
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x473ba8
shr eax, 4
and eax, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x473c60
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x473c7e
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret

Function at 0x473e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e44b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
ja 0x473f0c
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00405140
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00475a60
mov ecx, eax
call fcn.00475ff0
push eax
mov ecx, esi
call fcn.00475e00
lea ecx, [ebp - 0x248]
call fcn.00475620
lea ecx, [ebp - 0x264]
call fcn.00475620
cmp dword [ebp - 0x214], 8
jb 0x473efb
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00495fd1
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495cb8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.00495cb8
mov esp, ebp
pop ebp
ret
Function at 0x473f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4e44b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0x104
mov word [ebp - 0x20c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x473fda
cmp eax, 0x104
ja 0x473fda
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00405140
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x260]
call fcn.00475a60
mov ecx, eax
call fcn.00475ff0
push eax
mov ecx, esi
call fcn.00475e00
lea ecx, [ebp - 0x244]
call fcn.00475620
lea ecx, [ebp - 0x260]
call fcn.00475620
cmp dword [ebp - 0x210], 8
jb 0x473fc9
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00495fd1
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495cb8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.00495cb8
mov esp, ebp
pop ebp
ret