joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b5e0
Capabilities:
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0c15
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d516c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x10]
call fcn.00427030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00427030
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
push 0x248
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x248
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.IPHLPAPI.DLL_GetNetworkParams
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6f
jne 0x43b68b
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.IPHLPAPI.DLL_GetNetworkParams
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43b6cb
mov eax, dword [ebp - 0x24]
add eax, 0x110
push eax
mov ecx, dword [ebp + 8]
call fcn.00431280
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp + 8]
jmp 0x43b6ff
push 0x4bb78c
mov ecx, dword [ebp + 8]
call fcn.00431200
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43b890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0c92
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], 0
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
lea ecx, [ebp - 0x38]
call fcn.00403340
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
call fcn.00409ef0
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x38]
call fcn.004035a0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43b938
push 0x4bb81c
mov ecx, dword [ebp + 8]
call fcn.00431200
mov edx, dword [ebp - 0x178]
or edx, 1
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004033c0
mov eax, dword [ebp + 8]
jmp 0x43ba91
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x3c], 0x64
push 0x64
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.00481a70
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push str.NameServer
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x43b9be
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
push 0x4bb838
mov ecx, dword [ebp + 8]
call fcn.00431200
mov eax, dword [ebp - 0x178]
or eax, 1
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004033c0
mov eax, dword [ebp + 8]
jmp 0x43ba91
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 4
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.EnableDHCP
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x43ba29
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
push 0x4bb854
mov ecx, dword [ebp + 8]
call fcn.00431200
mov edx, dword [ebp - 0x178]
or edx, 1
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004033c0
mov eax, dword [ebp + 8]
jmp 0x43ba91
cmp dword [ebp - 0x18], 0
setne al
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x174]
call fcn.00431200
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00427050
mov edx, dword [ebp - 0x178]
or edx, 1
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.00427070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004033c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x43c180
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0d73
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4d516c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.00440840
movzx eax, al
test eax, eax
jne 0x43c1fe
push 8
call fcn.00480a1b
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx], 1
lea ecx, [ebp + 8]
call fcn.004407f0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, 1
mov word [ebp - 0x1c], dx
lea ecx, [ebp + 0xc]
call fcn.00440800
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 1
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 8
movzx ecx, word [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x43c254
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x70], ecx
push 1
mov edx, dword [ebp - 0x20]
push edx
call sub.DNSAPI.dll_DnsFree
mov byte [ebp - 0x15], 1
jmp 0x43c258
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00480a01
add esp, 4
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x79], dl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004407b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004407b0
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x43c340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
call fcn.0043ca60
add esp, 4
mov dword [ebp - 4], 0
push 0x4bb984
lea ecx, [ebp - 8]
push ecx
call fcn.004271b0
add esp, 8
movzx edx, al
test edx, edx
jne 0x43c389
push 0x4bb9b4
lea eax, [ebp - 8]
push eax
call fcn.004271b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43c3a9
push 0
push 0
push 0x4bb9e8
push 0x4bb9dc
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
jmp 0x43c3c7
push 0
push 0
push str._interface_ip_set_dns__
push str.netsh
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x43c3de
mov byte [ebp - 9], 0
lea ecx, [ebp - 8]
call fcn.00427070
mov al, byte [ebp - 9]
jmp 0x43c3ed
mov byte [ebp - 0xa], 1
lea ecx, [ebp - 8]
call fcn.00427070
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret
Function at 0x43c930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0f1e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], 0
push str.SOFTWAREFunshionFunshion
lea ecx, [ebp - 0x34]
call fcn.00403340
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x78], 0x40
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x34]
call fcn.004035a0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x43c9de
push 0x4bb1ee
mov ecx, dword [ebp + 8]
call fcn.00403340
mov ecx, dword [ebp - 0x80]
or ecx, 1
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004033c0
mov eax, dword [ebp + 8]
jmp 0x43ca3d
mov byte [ebp - 0x74], 0
push 0x3f
push 0
lea edx, [ebp - 0x73]
push edx
call fcn.00481a70
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push str.Version
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403340
mov eax, dword [ebp - 0x80]
or eax, 1
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004033c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x43ca60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], 0
push 0x4bbce8
lea ecx, [ebp - 0x10]
call fcn.00431200
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.00481a70
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43cb0c
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00427050
mov eax, dword [ebp - 0x138]
or eax, 1
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp + 8]
jmp 0x43cc23
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 2
je 0x43cb26
jmp 0x43cbf6
cmp dword [ebp - 0x130], 6
jne 0x43cb53
cmp dword [ebp - 0x12c], 0
jne 0x43cb53
movzx edx, byte [ebp - 0x1a]
cmp edx, 1
jne 0x43cb53
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x10]
call fcn.00431320
jmp 0x43cbf6
cmp dword [ebp - 0x130], 6
jne 0x43cb7d
cmp dword [ebp - 0x12c], 1
jne 0x43cb7d
movzx eax, byte [ebp - 0x1a]
cmp eax, 1
jne 0x43cb7d
push str.Microsoft_Windows7
lea ecx, [ebp - 0x10]
call fcn.00431320
jmp 0x43cbf6
cmp dword [ebp - 0x130], 5
jne 0x43cb9e
cmp dword [ebp - 0x12c], 2
jne 0x43cb9e
push str.Microsoft_Windows_Servernbsp_2003_family
lea ecx, [ebp - 0x10]
call fcn.00431320
jmp 0x43cbf6
cmp dword [ebp - 0x130], 5
jne 0x43cbbf
cmp dword [ebp - 0x12c], 1
jne 0x43cbbf
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x10]
call fcn.00431320
jmp 0x43cbf6
cmp dword [ebp - 0x130], 5
jne 0x43cbe0
cmp dword [ebp - 0x12c], 0
jne 0x43cbe0
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x10]
call fcn.00431320
jmp 0x43cbf6
cmp dword [ebp - 0x130], 4
ja 0x43cbf6
push str.Microsoft_Windows_NT
lea ecx, [ebp - 0x10]
call fcn.00431320
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00427050
mov edx, dword [ebp - 0x138]
or edx, 1
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x43da40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b11c3
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], 0
mov dword [ebp - 4], 1
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x88]
call fcn.00403340
mov byte [ebp - 4], 2
push str.Connection
push 0x4bbf7c
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00409bb0
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x164]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.004144f0
add esp, 0xc
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.004144f0
add esp, 0xc
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00415820
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.004033c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.004033c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004033c0
lea edx, [ebp - 0x68]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x88]
call fcn.004035a0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43dbb4
push 0x4bbf80
mov ecx, dword [ebp + 8]
call fcn.00431030
mov eax, dword [ebp - 0x15c]
or eax, 1
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004033c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004033c0
mov eax, dword [ebp + 8]
jmp 0x43dc8e
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x8c], 0x64
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push str.Name
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
jne 0x43dc37
lea edx, [ebp - 0x154]
push edx
mov ecx, dword [ebp + 8]
call fcn.00431030
mov eax, dword [ebp - 0x15c]
or eax, 1
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004033c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004033c0
mov eax, dword [ebp + 8]
jmp 0x43dc8e
push 0x4bbf90
mov ecx, dword [ebp + 8]
call fcn.00431030
mov ecx, dword [ebp - 0x15c]
or ecx, 1
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004033c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004033c0
mov eax, dword [ebp + 8]
jmp 0x43dc8e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x43dd80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b11f6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x250]
call fcn.00431280
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x43de90
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43de83
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x258]
call fcn.00431200
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.00440910
add esp, 8
movzx eax, al
test eax, eax
je 0x43de5a
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x258]
call fcn.00427070
jmp 0x43de83
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x258]
call fcn.00427070
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43de0c
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00427070
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret

Function at 0x43ded0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x43df00
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43df00
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x43df10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1226
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
je 0x43e00e
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43e001
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x254]
call fcn.00431200
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x254]
push ecx
call fcn.00440910
add esp, 8
movzx edx, al
test edx, edx
je 0x43dfd8
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x254]
call fcn.00427070
jmp 0x43e001
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x254]
call fcn.00427070
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43df8d
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x258], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00427070
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x43e050
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1285
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
je 0x43e25f
mov dword [ebp - 0x244], 0x22c
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43e252
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x284], esp
push 0x4bbf9c
call fcn.00431030
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], edx
mov dword [ebp - 4], 0
call fcn.0043fc90
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.004402a0
lea ecx, [ebp - 0x280]
call fcn.00427030
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
push eax
push 0x4bbfb8
lea ecx, [ebp - 0x280]
push ecx
call fcn.004326b0
add esp, 0xc
mov edx, dword [ebp - 0x23c]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24c], eax
push 0x28
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.PSAPI.DLL_GetProcessMemoryInfo
lea ecx, [ebp - 0x27c]
call fcn.00427030
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x254]
shr edx, 0x14
push edx
push 0x4bbfc0
lea eax, [ebp - 0x27c]
push eax
call fcn.004326b0
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.00427030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x280]
push eax
push str._s___s___s_n
lea ecx, [ebp - 0x278]
push ecx
call fcn.004326b0
add esp, 0x14
lea ecx, [ebp - 0x278]
call fcn.00430ed0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x288], esp
push eax
call fcn.00431030
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x298], edx
mov byte [ebp - 4], 4
call fcn.0043fc90
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004402a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00427070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00427070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.00427070
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43e104
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x43e4d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43e535
lea ecx, [ebp - 8]
push ecx
call fcn.0043e580
add esp, 4
lea ecx, [ebp - 8]
call fcn.00426df0
test eax, eax
jle 0x43e52d
push 1
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 8]
call fcn.00426de0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x20
jbe 0x43e52d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 8]
call fcn.00427070
mov eax, dword [ebp - 0x10]
jmp 0x43e56e
lea ecx, [ebp - 8]
call fcn.00427070
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jbe 0x43e557
mov eax, dword [ebp - 4]
jmp 0x43e56e
push 1
push 0
mov edx, dword [ebp + 8]
push edx
push str.iexplore
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x43e580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b12e2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d516c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x14]
call fcn.00427030
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.http_shellopencommand
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e685
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e67b
cmp dword [ebp - 0x18], 0
jbe 0x43e67b
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046c9e5
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43e67b
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e669
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00431320
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004818fb
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00427050
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00427070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret