joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x404a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x42b010]
push edi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x2b10326
nop
push eax
call 0x77f1296e
nop
mov ebx, eax
push 0x4349f0
mov dword [ebp - 4], ebx
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
mov byte [ebx + edi], 0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x404b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x6ff643d3
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x4349f0
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x404b06
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x2b1032b
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x406f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x6ff59910
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x406fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x406f91
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
nop
call 0x6ff59910
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x406fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x406fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x406fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.006390f4]
push eax
call dword [fcn.00639088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00407590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x404040
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
pop ebp
ret

Function at 0x405340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4934d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00458400
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x40539d
xor eax, eax
jmp 0x405427
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x405418
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00453f2d
add esp, 8
test eax, eax
jne 0x405400
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x405400
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x230]
mov dword [eax], ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x405427
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4053bf
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453569
mov esp, ebp
pop ebp
ret

Function at 0x405db0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4934d0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00405d50
mov byte [0x49478c], al
push str.ABCD1101
lea ecx, [ebp - 0x20]
call fcn.00405820
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, 0x49e118
call fcn.0041dd00
mov byte [ebp - 0x21], al
lea ecx, [ebp - 0x20]
call fcn.00404600
movzx ecx, byte [0x49478c]
test ecx, ecx
jne 0x405e26
push 0
push 0
push 0
push 0x405d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
movzx edx, byte [ebp - 0x21]
test edx, edx
je 0x405e24
mov ecx, 0x49e118
call fcn.0041df60
jmp 0x405e46
mov ecx, 0x49e118
call fcn.0041df80
push str._TXReport__Checker_Existed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453569
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x1c], 0
je 0x40607e
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
jmp 0x40608a
mov ecx, dword [ebp - 4]
or ecx, 0x200
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
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 - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4060ad
jmp 0x406118
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4060d0
jmp 0x406118
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jbe 0x4060eb
mov dword [ebp - 0xc], 0x7a
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x406118
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
xor ecx, ecx
jne 0x40608a
cmp dword [ebp - 8], 0
je 0x406128
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4084c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4774db
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4934d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00407ec0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], vtable.CryptoPP::BaseN_Decoder.0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], vtable.CryptoPP::BaseN_Decoder.1.0
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.004099b0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00437060
push 1
lea eax, [ebp + 8]
push eax
call fcn.00407590
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040c5e0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 2
lea eax, [ebp + 0xc]
push eax
call fcn.00407580
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0040c5b0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0043be70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004081a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d8d0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475a28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4934d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x24], 0
jne 0x40d923
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.0040d6e0
push 0x481748
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040d700
add esp, 8
xor eax, eax
jmp 0x40da58
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1c]
add edx, 0x28
push edx
push 0x47c7ec
push 1
push 0
push 0x47c8bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40d974
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040d6e0
mov ecx, dword [ebp - 0x14]
push ecx
push str.Failed_to_create_IWbemLocator_object._Error_code__0x_x
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040d700
add esp, 0xc
jmp 0x40da55
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d2d0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0x2c
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0040d390
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040d370
cmp dword [ebp - 0x14], 0
jge 0x40d9ff
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040d6e0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.Could_not_connect_to_server___s_._Error_code__0x_x
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040d700
add esp, 0x10
jmp 0x40da55
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40da46
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040d6e0
mov ecx, dword [ebp - 0x14]
push ecx
push str.Could_not_set_proxy_blanket._Error_code__0x_x
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040d700
add esp, 0xc
jmp 0x40da55
mov dword [ebp - 0x10], 1
xor eax, eax
jne 0x40d92a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x40e9b9
xor ecx, ecx
jne 0x40e9b9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40ea00
mov eax, dword [ebp - 0xc]
jmp 0x40ea5d
cmp dword [ebp - 4], 1
je 0x40ea13
cmp dword [ebp - 4], 2
je 0x40ea13
mov eax, 0xd
jmp 0x40ea5d
cmp dword [ebp + 0xc], 0
je 0x40ea51
cmp dword [ebp - 8], 0
je 0x40ea49
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40ea40
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x40ea47
mov eax, 0xd
jmp 0x40ea5d
jmp 0x40ea51
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40ed50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.C:_ndsclientGameMenu64.exe
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40ed8d
mov eax, dword [ebp - 4]
mov dword [eax + 4], 4
push str.00000000
push 0x800
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.00454f28
add esp, 0xc
mov al, 1
jmp 0x40ed8f
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x41b220
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47591b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4934d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x244], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.00458400
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
jne 0x41b297
xor eax, eax
jmp 0x41b3ef
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41b3dc
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00453f2d
add esp, 8
test eax, eax
jne 0x41b3c0
mov edx, dword [ebp - 0x23c]
push edx
call fcn.0041b120
add esp, 4
test eax, eax
je 0x41b3c0
push str.DNF.EXE
mov eax, dword [ebp + 8]
push eax
call fcn.00453f2d
add esp, 8
test eax, eax
jne 0x41b393
mov ecx, dword [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.0041b560
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.0040de90
push eax
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._TXReport__game:__s__pid:_d__parent:_s_r_n
call fcn.004061c0
add esp, 0x10
push str.GameLoader.exe
lea ecx, [ebp - 0x268]
call fcn.0040de90
push eax
call fcn.00453f2d
add esp, 8
test eax, eax
je 0x41b381
lea edx, [ebp - 0x23c]
push edx
mov ecx, 0x49e324
call fcn.0041ba90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.0040de50
jmp 0x41b3c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.0040de50
lea eax, [ebp - 0x23c]
push eax
mov ecx, 0x49e324
call fcn.0041ba90
mov ecx, 0x8b
lea esi, [ebp - 0x244]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24c], 1
jmp 0x41b3dc
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41b2b3
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453569
mov esp, ebp
pop ebp
ret
Function at 0x41b410
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47699f
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4934d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x48]
call fcn.0040d540
mov dword [ebp - 4], 1
push 0x480350
lea ecx, [ebp - 0x64]
call fcn.0040ddd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.0040d810
test eax, eax
jne 0x41b476
jmp 0x41b502
push str.ROOTCIMV2
lea ecx, [ebp - 0x48]
call fcn.0040d8d0
test eax, eax
jne 0x41b489
jmp 0x41b502
xor eax, eax
mov word [ebp - 0x26c], ax
push 0x206
push 0
lea ecx, [ebp - 0x26a]
push ecx
call fcn.00458400
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push str.SELECT__FROM_Win32_Process_WHERE_ProcessId__lu_
lea eax, [ebp - 0x26c]
push eax
call fcn.0041c120
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040da70
test eax, eax
jne 0x41b4d5
jmp 0x41b502
lea ecx, [ebp - 0x48]
call fcn.0040dc00
test eax, eax
jne 0x41b4e3
jmp 0x41b502
lea edx, [ebp - 0x64]
push edx
push str.commandline
lea ecx, [ebp - 0x48]
call fcn.0040dca0
test eax, eax
jne 0x41b4fa
jmp 0x41b502
xor eax, eax
jne 0x41b465
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b940
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040de50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040d5e0
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.00453569
mov esp, ebp
pop ebp
ret

Function at 0x41b730
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x3c], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00458400
add esp, 0xc
mov dword [ebp - 0x38], 0x400
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x41b765
mov edx, dword [ebp - 0x38]
or edx, 0x40
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 8]
call fcn.0040de90
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
call fcn.0040de90
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x41b7b2
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x41b7b2
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x40], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x41b7c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x4934d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x860], 0x44
mov dword [ebp - 0x85c], 0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.00458400
add esp, 0xc
mov dword [ebp - 0x818], 0
xor ecx, ecx
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], ecx
xor edx, edx
mov word [ebp - 0x808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.00458400
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.0040de90
push eax
mov ecx, dword [ebp + 8]
call fcn.0040de90
push eax
push str.__s___s
push 0x3ff
push 0x400
lea ecx, [ebp - 0x808]
push ecx
call fcn.00455a55
add esp, 0x18
mov dword [ebp - 0x834], 1
mov dx, word [ebp + 0x14]
mov word [ebp - 0x830], dx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
call fcn.0040deb0
test eax, eax
jbe 0x41b89a
mov ecx, dword [ebp + 0x18]
call fcn.0040de90
mov dword [ebp - 4], eax
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x860]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41b914
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x41b8e2
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x818], 0
je 0x41b8f8
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x814], 0
je 0x41b90e
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41b92b
push 1
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041b730
add esp, 0x10
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00453569
mov esp, ebp
pop ebp
ret