joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409570
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4511b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0042a550
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4095c6
xor eax, eax
jmp 0x409640
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409634
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x409620
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp + 0xc]
jne 0x409620
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x230]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x409640
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4095e4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a65e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40a090
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441b6e
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4511b0]
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 - 0x14], ecx
push str._optputtype
lea ecx, [ebp - 0x30]
call fcn.004064c0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x3d], 0
cmp dword [ebp - 0x34], 0
je 0x40a21f
push 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x84], esp
push edx
call fcn.00405ef0
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00410ff0
add esp, 0x20
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc8]
call fcn.004065d0
push eax
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00406570
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.0040ce70
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc4]
call fcn.004065d0
push eax
push 0x44677c
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00406570
cmp dword [ebp - 0x3c], 0
je 0x40a21f
push 0
mov ecx, dword [ebp + 8]
call fcn.00407b20
push eax
mov ecx, dword [ebp + 8]
call fcn.00407b20
push eax
mov ecx, dword [ebp + 8]
call fcn.004063b0
push eax
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne cl
mov byte [ebp - 0x3d], cl
cmp dword [ebp - 0x3c], 0
je 0x40a22f
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x38], 0
je 0x40a23f
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x34], 0
je 0x40a24f
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov al, byte [ebp - 0x3d]
mov byte [ebp - 0x7e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406570
mov al, byte [ebp - 0x7e]
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.0042a65e
mov esp, ebp
pop ebp
ret 8
Function at 0x40ab80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441d31
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4511b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.TKX00001
mov eax, dword [ebp + 8]
push eax
call fcn.0040d090
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40ac0f
push 0x13c
call fcn.0042a66d
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x64], 0
je 0x40abed
mov ecx, dword [ebp - 0x64]
call fcn.0040acf0
mov dword [ebp - 0x6c], eax
jmp 0x40abf4
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x68]
mov dword [ecx + 0x24], edx
jmp 0x40acb3
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
call eax
movzx ecx, al
test ecx, ecx
je 0x40ac6c
push 0x13c
call fcn.0042a66d
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x5c], 0
je 0x40ac4d
mov ecx, dword [ebp - 0x5c]
call fcn.0040ad20
mov dword [ebp - 0x6c], eax
jmp 0x40ac54
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x24], edx
jmp 0x40acb3
push 0x13c
call fcn.0042a66d
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0
je 0x40ac96
mov ecx, dword [ebp - 0x54]
call fcn.0040ad50
mov dword [ebp - 0x6c], eax
jmp 0x40ac9d
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0x24], edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x409db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x24]
call fcn.0040ef90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40dc30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x4511b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0x88], 0
push 0x7f
push 0
lea eax, [ebp - 0x87]
push eax
call fcn.0042a550
add esp, 0xc
mov dword [ebp - 0x8c], 0x80
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ff0
mov ecx, dword [ebp - 0xd0]
or ecx, 1
mov dword [ebp - 0xd0], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a65e
mov esp, ebp
pop ebp
ret 4
Function at 0x40ed70
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442127
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x4511b0]
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 - 0x14], ecx
mov dword [ebp - 0x20c], 0
lea ecx, [ebp - 0x30]
call fcn.00405f80
mov dword [ebp - 4], 1
mov eax, 0x101
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x1c4]
push eax
movzx ecx, word [ebp - 0x34]
push ecx
call sub.WS2_32.dll_WSAStartup
push 0x4466be
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
lea ecx, [ebp - 0x30]
call fcn.004061c0
call sub.WS2_32.dll_WSACleanup
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406070
mov ecx, dword [ebp - 0x20c]
or ecx, 1
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00406130
mov eax, dword [ebp + 8]
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.0042a65e
mov esp, ebp
pop ebp
ret 4

Function at 0x410e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20219
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410e8f
lea eax, [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 0
sete al
jmp 0x410e91
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416730
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x10325476
mov ecx, dword [ebp + 8]
call fcn.00407b20
push eax
mov ecx, dword [ebp + 8]
call fcn.004063b0
push eax
mov ecx, dword [ebp - 4]
call fcn.004168d0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x417a90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x24]
cmp eax, 9
je 0x417ab5
movzx eax, word [ebp - 0x24]
cmp eax, 6
jne 0x417abe
mov eax, 1
jmp 0x417ac0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x417d00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4511b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x234], 0
push 0x228
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.0042a550
add esp, 0xc
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x234], 0x22c
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x417d79
jmp 0x417dc4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042d81c
add esp, 8
test eax, eax
jne 0x417da9
mov eax, dword [ebp - 0x22c]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
jmp 0x417dc0
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x417d79
xor eax, eax
jne 0x417d47
cmp dword [ebp - 0x238], 0xffffffff
je 0x417dda
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a65e
mov esp, ebp
pop ebp
ret
Function at 0x417df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44252b
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4511b0]
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 - 0x14], 0
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.0042a550
add esp, 0xc
mov dword [ebp - 0x244], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00423030
mov dword [ebp - 4], 0
mov dword [ebp - 0x240], 0x22c
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x417e93
jmp 0x417eeb
cmp dword [ebp - 0x238], 0
je 0x417ea5
cmp dword [ebp - 0x238], 4
jne 0x417ea7
jmp 0x417ecc
mov eax, dword [ebp - 0x238]
push eax
call fcn.00417ba0
add esp, 4
test eax, eax
jne 0x417ecc
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x254]
call fcn.004274f0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x417e93
xor eax, eax
jne 0x417e61
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x25c], 0
cmp dword [ebp - 0x25c], 0x64
ja 0x417f66
call fcn.0042d8b9
mov esi, eax
lea ecx, [ebp - 0x254]
call fcn.00418680
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x254]
call fcn.004186b0
mov ecx, dword [eax]
push ecx
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x417f55
jmp 0x417f66
mov eax, dword [ebp - 0x25c]
add eax, 1
mov dword [ebp - 0x25c], eax
jmp 0x417eff
cmp dword [ebp - 0x244], 0xffffffff
je 0x417f7c
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.004185f0
mov eax, dword [ebp - 0x2a0]
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.0042a65e
mov esp, ebp
pop ebp
ret
Function at 0x418270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x4511b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0xc]
call fcn.004186f0
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4182bf
xor eax, eax
jmp 0x41836c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x41831c
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042d81c
add esp, 8
test eax, eax
jne 0x418304
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004274f0
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x4182d5
cmp dword [ebp - 0xc], 0
je 0x41832c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
call fcn.00418680
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x418369
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004274c0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x280]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00418650
mov eax, dword [eax]
push eax
call fcn.00418af0
add esp, 8
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a65e
mov esp, ebp
pop ebp
ret

Function at 0x418380
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x4511b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4183c5
or eax, 0xffffffff
jmp 0x418423
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x418410
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x230]
jne 0x4183f8
mov dword [ebp - 8], 1
jmp 0x418410
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x4183db
cmp dword [ebp - 0xc], 0
je 0x418420
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a65e
mov esp, ebp
pop ebp
ret
Function at 0x418440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4425a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4511b0]
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 - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417fc0
add esp, 0x18
test eax, eax
je 0x4184ba
mov dword [ebp - 0x14], 1
jmp 0x418597
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.004064c0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00405ba0
add esp, 4
test eax, eax
jne 0x4184f6
push 0x4470d8
lea ecx, [ebp - 0x38]
call fcn.004185c0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
call fcn.004185c0
push 0x44
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.0042a550
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.0042a550
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x50], 1
mov eax, 1
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.004065d0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x418588
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406570
xor eax, eax
jne 0x41848c
mov eax, dword [ebp - 0x14]
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.0042a65e
mov esp, ebp
pop ebp
ret
Function at 0x419a70
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4511b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
cmp dword [0x4510fc], 0
jne 0x419a98
xor eax, eax
xor edx, edx
jmp 0x419cc5
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
jle 0x419acd
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx - 8]
mov dword [ebp - 0x90], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x8c], ecx
jmp 0x419ae1
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
jle 0x419b22
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx - 8]
mov dword [ebp - 0x90], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x8c], ecx
jmp 0x419b36
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
jle 0x419b77
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx - 8]
mov dword [ebp - 0x90], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x8c], ecx
jmp 0x419b8b
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jle 0x419bcc
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx - 8]
mov dword [ebp - 0x90], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x8c], ecx
jmp 0x419be0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, 8
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov word [ebp - 0x48], ax
mov word [ebp - 0x48], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0x44], esp
and esp, 0xfffffff0
push 0x33
call 0x419c46
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a65e
mov esp, ebp
pop ebp
ret