joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d3f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x43d40a
xor eax, eax
jmp 0x43d4f9
mov eax, dword [ebp + 8]
push eax
call fcn.0058a516
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0x14], 1
cmp byte [ebp - 1], 0
jne 0x43d428
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
jmp 0x43d45b
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x20]
jge 0x43d4c4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x43d47f
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x2f
jne 0x43d4c2
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0058a566
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d4b9
mov eax, dword [ebp - 8]
push eax
call fcn.0058a5c6
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d4b9
or eax, 0xffffffff
jmp 0x43d4f9
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0x2f
jmp 0x43d452
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0058a566
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d4ea
mov eax, dword [ebp - 8]
push eax
call fcn.0058a5c6
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00588d54
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43d65b
xor al, al
jmp 0x43d669
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x43d667
mov al, 1
jmp 0x43d669
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x440cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8958
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x440cf0
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x440cfc
mov al, 1
jmp 0x440e9f
mov dword [ebp - 0x54], 8
call fcn.00405010
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.00405010
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00404fe0
add esp, 8
movzx eax, al
test eax, eax
je 0x440d3f
xor al, al
jmp 0x440e9f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00407110
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00406bd0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.00441240
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x440dba
cmp dword [ebp - 0x3c], 1
je 0x440dc1
cmp dword [ebp - 0x3c], 3
je 0x440e5b
jmp 0x440e73
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x440e24
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
push eax
call fcn.0058b28e
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x440e24
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x34]
jmp 0x440e9f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x440e47
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x31]
jmp 0x440e9f
cmp dword [ebp - 0x38], 0
jne 0x440e59
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00434be0
jmp 0x440e8b
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x33]
jmp 0x440e9f
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x32]
jmp 0x440e9f
jmp 0x440d52
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret
Function at 0x443640
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8c20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.00428060
mov byte [ebp - 0x25], 0
lea ecx, [ebp + 8]
call fcn.004067b0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x44372c
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
cmp dword [ecx + edx*4], 0
je 0x44372a
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
call fcn.004066a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.00431fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00406730
mov byte [ebp - 0x25], 1
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x44369e
jmp 0x443730
mov byte [ebp - 0x25], 0
mov cl, byte [ebp - 0x25]
mov byte [ebp - 0x26], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
mov al, byte [ebp - 0x26]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret
Function at 0x445c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8ea3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x642490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00406670
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x2a], 0
mov edx, dword [ebp - 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0xffffffff
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00407150
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp + 0x20]
mov word [ecx + 0x28], dx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x2a], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0x1f40
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0x1f40
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0xf
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0xf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0x1388
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0x12c
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4462a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8f53
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x6c]
call fcn.00410520
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax + 0x2a]
test ecx, ecx
je 0x4462fb
mov dword [ebp - 0x84], 1
jmp 0x446305
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x20], edx
push 4
lea eax, [ebp - 0x20]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x3c], 0
je 0x446349
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 1
jmp 0x44635e
mov dword [ebp - 0x18], 0x124f80
mov dword [ebp - 0x14], 0x7d0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push 0xc
lea eax, [ebp - 0x78]
push eax
push 0xc
lea ecx, [ebp - 0x1c]
push ecx
push 0x98000004
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
jne 0x446441
mov byte [ebp - 0x6c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.00408800
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
push eax
push 0x616430
lea ecx, [ebp - 0xac]
push ecx
call fcn.00408be0
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040f660
lea ecx, [ebp - 0xac]
call fcn.00406730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00406730
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x80]
or ecx, 1
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409aa0
mov eax, dword [ebp + 8]
jmp 0x446479
mov byte [ebp - 0x6c], 1
push 0x615079
lea ecx, [ebp - 0x68]
call fcn.00408bc0
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov eax, dword [ebp - 0x80]
or eax, 1
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409aa0
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.0058851b
mov esp, ebp
pop ebp
ret 4
Function at 0x4464a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8f88
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x5c]
call fcn.00410520
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0x2a]
test ecx, ecx
je 0x4464f5
mov dword [ebp - 0x68], 1
jmp 0x4464fc
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov byte [ebp - 0x5c], 1
push 0x61507a
lea ecx, [ebp - 0x58]
call fcn.00408bc0
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b560
mov ecx, dword [ebp - 0x60]
or ecx, 1
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00409aa0
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.0058851b
mov esp, ebp
pop ebp
ret 4
Function at 0x44ba70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x44], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x44], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x4c], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x4509b0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x450a6d
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp dword [ebp + 8], 0
je 0x450a15
mov dword [ebp - 0x24], 2
jmp 0x450a1c
mov dword [ebp - 0x24], 0
mov ecx, 0xc
imul edx, ecx, 0
mov eax, dword [ebp - 0x24]
mov dword [ebp + edx - 8], eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450a54
mov dword [ebp - 0x20], 1
jmp 0x450a5b
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x450a71
xor eax, eax
jmp 0x450a74
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret 4
Function at 0x451a40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.00430720
add esp, 8
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
call fcn.004066e0
mov ecx, dword [ebp - 0x228]
or ecx, 1
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x224]
call fcn.00406730
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret
Function at 0x451fd0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9b4b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
push 0x615187
lea ecx, [ebp - 0x234]
call fcn.004066a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x45204b
jmp 0x4520de
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x208
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.0058c8e0
add esp, 0xc
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x45209d
jmp 0x4520de
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00451cf0
add esp, 8
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x234]
call fcn.0040f660
lea ecx, [ebp - 0x260]
call fcn.00406730
xor edx, edx
jne 0x45203d
cmp dword [ebp - 0x238], 0
je 0x4520fe
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004066e0
mov edx, dword [ebp - 0x23c]
or edx, 1
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.00406730
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.0058851b
mov esp, ebp
pop ebp
ret
Function at 0x452150
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9ba6
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.004530e0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
push 0x6151a2
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x25c], 0xffffffff
je 0x4522e3
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4522d6
mov edx, dword [ebp - 0x24c]
push edx
lea eax, [ebp - 0x288]
push eax
call fcn.00451fd0
add esp, 8
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f660
lea ecx, [ebp - 0x288]
call fcn.00406730
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.004307d0
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x2b8]
push eax
call fcn.004307d0
add esp, 8
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.0040ff10
add esp, 8
mov byte [ebp - 0x255], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.00406730
movzx ecx, byte [ebp - 0x255]
test ecx, ecx
je 0x4522ba
lea edx, [ebp - 0x24c]
push edx
mov ecx, dword [ebp + 0x20]
call fcn.0040b940
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4521de
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret
Function at 0x452320
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.004530e0
mov dword [ebp - 0x2a0], 0xffffffff
mov byte [ebp - 0x285], 1
push 0x6151a1
lea eax, [ebp + 8]
push eax
call fcn.0040a1b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x452397
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
jmp 0x4524d9
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.004307d0
add esp, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x29c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], 0x22c
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x290], eax
xor eax, eax
mov word [ebp - 0x4ac], ax
push 0x208
push 0
lea ecx, [ebp - 0x4aa]
push ecx
call fcn.0058c8e0
add esp, 0xc
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 0
cmp dword [ebp - 0x290], 0
je 0x4524b1
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00430720
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004307d0
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040ff10
add esp, 8
movzx edx, al
test edx, edx
je 0x45247a
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.0040b940
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00406730
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406730
jmp 0x45241c
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret

Function at 0x452630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4527f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9ce3
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x490], esp
lea eax, [ebp + 8]
push eax
call fcn.00406610
mov dword [ebp - 0x48c], eax
call fcn.0043d500
add esp, 0x18
mov byte [ebp - 0x475], al
movzx ecx, byte [ebp - 0x475]
test ecx, ecx
jne 0x452869
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
jmp 0x45295e
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp + 8]
call fcn.004067b0
push eax
call fcn.00430680
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x480], esp
lea eax, [ebp + 8]
push eax
call fcn.00406610
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.0043e510
add esp, 0x1c
mov dword [ebp - 0x47c], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x438]
call fcn.004067b0
push eax
call fcn.00430680
add esp, 8
mov dword [ebp - 0x474], 0x3c
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], 0
lea edx, [ebp - 0x474]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00406730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058851b
mov esp, ebp
pop ebp
ret