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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb766
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x10], 0
mov eax, 1
test eax, eax
je 0x42b38a
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d3af
add esp, 4
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp - 0x83c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 2
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x820], 0
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp - 0x824]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x42b347
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x840], edx
mov eax, dword [ebp - 0x840]
push eax
call fcn.0054d555
add esp, 4
xor al, al
jmp 0x42b4c6
mov ecx, dword [ebp - 0x820]
cmp ecx, dword [ebp - 0x824]
jae 0x42b365
mov edx, dword [ebp - 0x820]
shr edx, 2
mov dword [ebp - 0x14], edx
jmp 0x42b38a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x844], eax
mov ecx, dword [ebp - 0x844]
push ecx
call fcn.0054d555
add esp, 4
mov edx, dword [ebp - 0x14]
shl edx, 1
mov dword [ebp - 0x14], edx
jmp 0x42b2bd
mov dword [ebp - 0x828], 0
jmp 0x42b3a5
mov eax, dword [ebp - 0x828]
add eax, 1
mov dword [ebp - 0x828], eax
mov ecx, dword [ebp - 0x828]
cmp ecx, dword [ebp - 0x14]
jae 0x42b4ab
mov edx, dword [ebp - 0x828]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
je 0x42b49c
push 0x400
lea edx, [ebp - 0x81c]
push edx
push 0
mov eax, dword [ebp - 0x82c]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x42b422
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x828]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4]
push eax
push str.GetModuleFileNameEx___failed_on_PID__u___d__r_n
call fcn.0054eca8
add esp, 0xc
jmp 0x42b48f
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0x850]
call fcn.004b3550
mov dword [ebp - 4], 0
lea edx, [ebp - 0x850]
push edx
lea eax, [ebp - 0x838]
push eax
call fcn.00413220
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x850]
call fcn.004b3860
push 0
push 0x5fefa8
lea ecx, [ebp - 0x838]
call fcn.004b4b20
movzx ecx, al
test ecx, ecx
je 0x42b47d
mov byte [ebp - 0x15], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.004b3860
mov edx, dword [ebp - 0x82c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x42b4a6
jmp 0x42b4ab
jmp 0x42b396
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x854], ecx
mov edx, dword [ebp - 0x854]
push edx
call fcn.0054d555
add esp, 4
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x42c520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x42c560
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x1b4], eax
mov esp, ebp
pop ebp
ret
Function at 0x42cd90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x150], 0
push 0x118
push 0
lea edx, [ebp - 0x14c]
push edx
call fcn.00555bf0
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
jne 0x42ce2a
mov dword [ebp - 0x15c], 0x5ff388
jmp 0x42ce34
mov dword [ebp - 0x15c], 0x5ff390
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x144]
push edx
movzx eax, word [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
push str._u._u._u._u._s__u
mov eax, dword [ebp + 8]
push eax
call fcn.004b4d50
add esp, 0x20
mov ecx, dword [ebp - 0x154]
or ecx, 1
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 4

Function at 0x42cff0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d069
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42d05f
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
cmp dword [ebp - 0x14], 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x42e1f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 8], edx
cmp dword [ebp - 0xc], 5
jne 0x42e245
cmp dword [ebp - 8], 0
jne 0x42e245
mov dword [ebp - 0x10], 1
jmp 0x42e24c
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x42e560
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
push 0xa
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push 0x5fdfa0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
movzx eax, byte [ebp - 5]
test eax, eax
je 0x42e5a7
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
cmp dword [ebp - 4], 0x20
setg al
mov esp, ebp
pop ebp
ret
Function at 0x42e6a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x430], 0
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x42e866
xor ecx, ecx
mov word [ebp - 0x224], cx
lea edx, [ebp - 0x430]
push edx
push 0
push 0
call sub.pdh.dll_PdhOpenQueryW
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42e866
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], str.LogicalDisk
lea eax, [ebp - 0x228]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], str.Avg._Disk_Queue_Length
mov dword [ebp - 0x444], 0x100
push 0
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x1c]
push eax
call sub.pdh.dll_PdhMakeCounterPathW
mov dword [ebp - 0x42c], eax
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x430]
push eax
call sub.pdh.dll_PdhAddCounterW
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42e854
mov ecx, dword [ebp - 0x430]
push ecx
call sub.pdh.dll_PdhCollectQueryData
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x448], 0
jmp 0x42e7b1
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ebp + 0xc]
cmp dword [ebp - 0x448], eax
jae 0x42e854
cmp dword [ebp - 0x42c], 0
je 0x42e7d3
jmp 0x42e854
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x430]
push ecx
call sub.pdh.dll_PdhCollectQueryData
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42e815
lea edx, [ebp - 0x440]
push edx
push 0
push 0x1200
mov eax, dword [ebp - 4]
push eax
call sub.pdh.dll_PdhGetFormattedCounterValue
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42e84f
sub esp, 8
fld qword [ebp - 0x438]
fstp qword [esp]
lea ecx, [ebp - 0x428]
push ecx
push str._s___3.1f_r_n
call fcn.0054eca8
add esp, 0x10
fld1
fcomp qword [ebp - 0x438]
fnstsw ax
test ah, 0x41
jne 0x42e84f
jmp 0x42e854
jmp 0x42e7a2
mov edx, dword [ebp - 0x430]
push edx
call sub.pdh.dll_PdhCloseQuery
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x42e880
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e9c0
push 5
push str.wscsvc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42e9b6
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x3e8
mov dword [ebp - 0x14], 0
jmp 0x42e8dd
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
jae 0x42e9ac
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x42e902
jmp 0x42e90d
cmp dword [ebp - 0x2c], 4
jne 0x42e90d
jmp 0x42e9ac
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0xc], 0
jne 0x42e9a7
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
cmp dword [ebp - 0x34], 0
jbe 0x42e9a7
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0054ea24
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42e9a7
mov byte [ebp - 0x35], 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x42e975
jmp 0x42e991
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 4
jne 0x42e984
mov byte [ebp - 0x35], 1
jmp 0x42e991
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 3
jne 0x42e991
mov byte [ebp - 0x35], 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.0054eaee
add esp, 4
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x42e9a7
jmp 0x42e9ac
jmp 0x42e8d4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esp, ebp
pop ebp
ret
Function at 0x42e9d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x588
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x63eaa4], 0
jl 0x42ea02
cmp dword [0x63eaa4], 0
setne al
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov al, 1
jmp 0x42eb73
mov byte [ebp - 5], 0
call fcn.00422da0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42eb5e
mov edx, dword [str.._:]
mov dword [ebp - 0x20], edx
mov eax, dword [0x5fe33c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x5fe340]
mov dword [ebp - 0x18], ecx
mov dx, word [0x5fe344]
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x70], ax
push 0x4e
push 0
lea ecx, [ebp - 0x6e]
push ecx
call fcn.00555bf0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ax, word [ebp - 0x278]
mov word [ebp - 0x18], ax
push 0
push 0
push 3
push 0
push 3
push 0x100081
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42eb54
lea edx, [ebp - 0x380]
mov dword [ebp - 0x27c], edx
push 0
lea eax, [ebp - 0x280]
push eax
push 0x100
lea ecx, [ebp - 0x380]
push ecx
push 0
push 0
push 0x560000
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42eb4a
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 8]
push ecx
push str.DosDevicesPhysicalDrive_d
push 0x28
lea edx, [ebp - 0x70]
push edx
call fcn.0054e0f2
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
push 0xff
lea ecx, [ebp - 0x588]
push ecx
call fcn.0054d766
add esp, 0xc
push 0
lea edx, [ebp - 0x280]
push edx
push 1
lea eax, [ebp - 0x381]
push eax
push 0x1fe
lea ecx, [ebp - 0x588]
push ecx
push 0x22e04c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42eb4a
movzx eax, byte [ebp - 0x381]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov byte [ebp - 5], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
neg edx
sbb edx, edx
neg edx
mov dword [0x63eaa4], edx
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x42ecc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb686
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x42ed89
push 0x5ff920
lea ecx, [ebp - 0x228]
call fcn.004b3550
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x234]
call fcn.004b3550
mov byte [ebp - 4], 1
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00412f50
add esp, 0xc
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004b3860
mov eax, dword [ebp + 8]
jmp 0x42eda9
mov eax, dword [0x63e870]
push eax
mov ecx, dword [ebp + 8]
call fcn.004b3550
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
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.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x42edd0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc998
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x20]
push eax
call fcn.0042ecc0
add esp, 4
mov dword [ebp - 4], 0
push 0xa
push 0x131
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42eee4
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x42eee4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42eeda
push 0
push 0x80
push 2
push 0
push 0
push 0x1f01ff
lea ecx, [ebp - 0x20]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x42ee9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x42ee9c
mov byte [ebp - 0x11], 1
jmp 0x42eeca
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42eebc
jmp 0x42eeca
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x24]
je 0x42eec6
jmp 0x42eeca
mov byte [ebp - 0x11], 1
cmp dword [ebp - 0x30], 0xffffffff
je 0x42eeda
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x42ef1d
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.0042f060
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x42ef07
mov byte [ebp - 0x11], 0
jmp 0x42ef1d
push 1
call fcn.0047eaf0
add esp, 4
movzx edx, al
test edx, edx
je 0x42ef1d
call fcn.0042b170
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x42ef34
lea ecx, [ebp - 0x20]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x35], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004b3860
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42ef60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc968
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042ecc0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004bc0e0
add esp, 4
movzx edx, al
test edx, edx
jne 0x42efc8
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x19]
jmp 0x42f04b
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.0042f060
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42f024
movzx edx, byte [ebp + 8]
test edx, edx
je 0x42effb
push 1
call fcn.0047eaf0
add esp, 4
movzx eax, al
test eax, eax
je 0x42effb
call fcn.0042b170
lea ecx, [ebp - 0x18]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x1a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x1a]
jmp 0x42f04b
mov byte [ebp - 0x1b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x1b]
jmp 0x42f04b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43b400
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x768
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x3c], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43b44e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._5d_OpenProcess_failed_with__d_r_n
call fcn.0054d5e0
add esp, 0xc
jmp 0x43b5ba
lea edx, [ebp - 0xc]
push edx
push 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43b47f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._5d_OpenProcessToken_failed_with__d_r_n
call fcn.0054d5e0
add esp, 0xc
jmp 0x43b5b0
lea edx, [ebp - 0x140]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x2c]
push eax
push 0x100
mov ecx, dword [ebp - 0x30]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43b536
mov dword [ebp - 0x148], 0x208
mov dword [ebp - 0x55c], 0x208
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x55c]
push ecx
lea edx, [ebp - 0x558]
push edx
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x350]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x43b536
mov ecx, dword [0x63e870]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004b38f0
cmp dword [ebp - 0x55c], 0
jbe 0x43b523
lea edx, [ebp - 0x558]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004b38f0
push 0x5c
mov ecx, dword [ebp + 0x10]
call fcn.004b3a80
lea eax, [ebp - 0x350]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004b3b40
mov byte [ebp - 5], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x38]
push edx
push 4
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x43b587
push 0x104
lea edx, [ebp - 0x768]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jbe 0x43b587
lea edx, [ebp - 0x768]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.004b38f0
mov byte [ebp - 5], 1
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x18
lea ecx, [ebp - 0x28]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [0x643678]
test eax, eax
jne 0x43b5b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x43db80
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00555bf0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43dbcb
mov al, 1
jmp 0x43dcbd
mov byte [ebp - 1], 0
cmp dword [ebp - 0x124], 5
jae 0x43dbde
mov byte [ebp - 1], 1
jmp 0x43dc2d
cmp dword [ebp - 0x124], 5
jne 0x43dc2d
cmp dword [ebp - 0x120], 0
jne 0x43dc0b
movzx edx, word [ebp - 0x14]
cmp edx, 3
jge 0x43dc09
call fcn.0043db40
movzx eax, al
test eax, eax
jne 0x43dc09
mov byte [ebp - 1], 1
jmp 0x43dc2d
cmp dword [ebp - 0x120], 1
jne 0x43dc2d
movzx ecx, word [ebp - 0x14]
cmp ecx, 1
jge 0x43dc2d
call fcn.0043db40
movzx edx, al
test edx, edx
jne 0x43dc2d
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43dcbb
push str.WinHTTP_5.1_operating_system_component_is_missing._r_n_r_nThis_version_of_Hitman_Pro_needs_this_component_for_network_communication._r_n_r_nClick_OK_for_more_information.
push 0x200
lea ecx, [ebp - 0x328]
push ecx
call fcn.0054ee1e
add esp, 0xc
push 0x31
push 0x600364
lea edx, [ebp - 0x328]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 2
je 0x43dcb7
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x32d], al
push 0xa
push 0
push 0
push str.http:__www.surfright.nl_support_winhttp
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movzx eax, byte [ebp - 0x32d]
test eax, eax
je 0x43dcb7
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x43dcbd
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret