joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc9a24
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0xc9a2d
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xc9bc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0007333c
test al, al
je 0xc9b2d
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.000732d4
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0xc9bd4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00014598
mov eax, dword [ebp - 0x10]
call fcn.00073374
test al, al
je 0xc9ae9
mov eax, dword [ebp - 0x10]
call fcn.000144b8
push eax
call sub.kernel32.dll_DeleteFileW
test eax, eax
jne 0xc9ad7
lea edx, [ebp - 0x18]
mov eax, 0xc9be0
call fcn.00078120
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x1c]
call fcn.000747a0
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00013eec
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00014444
jmp 0xc9b6f
mov eax, dword [ebp - 0xc]
mov edx, 0xc9bf0
call fcn.000142d0
jmp 0xc9b6f
lea edx, [ebp - 0x24]
mov eax, 0xc9c0c
call fcn.00078120
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, 2
call fcn.000747a0
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00013eec
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00014444
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov edx, 0xc9c14
call fcn.00014534
jmp 0xc9b6f
lea edx, [ebp - 0x30]
mov eax, 0xc9c0c
call fcn.00078120
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, 2
call fcn.000747a0
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00013eec
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00014444
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, 0xc9c30
call fcn.00014534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc9bc8
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00013c88
lea eax, [ebp - 0x2c]
call fcn.00014294
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00013c88
lea eax, [ebp - 0x20]
call fcn.00014294
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00013c88
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.000142ac
ret
Function at 0xcaf88
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0xcaf91
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 0x11], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0xcb209
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0xcb048
push 0xcb21c
push dword [ebp - 0x10]
lea edx, [ebp - 0x34]
mov eax, 0xcb258
call fcn.00078120
push dword [ebp - 0x34]
lea edx, [ebp - 0x38]
mov al, byte [ebp - 0x11]
call fcn.000759c8
push dword [ebp - 0x38]
lea edx, [ebp - 0x3c]
mov eax, 0xcb25c
call fcn.00078120
push dword [ebp - 0x3c]
lea edx, [ebp - 0x40]
mov al, byte [ebp + 8]
call fcn.000759c8
push dword [ebp - 0x40]
lea edx, [ebp - 0x44]
mov eax, 0xcb260
call fcn.00078120
push dword [ebp - 0x44]
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00013fa4
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00014444
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00014598
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.000801a4
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x10]
call fcn.00013eac
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x18]
call fcn.000752bc
mov eax, 0x400
call fcn.000793dc
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0xcb168
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
call fcn.00078aa4
push eax
mov eax, dword [ebp - 0x20]
call fcn.00078a68
push eax
call sub.kernel32.dll_GetCurrentDirectoryW
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
call fcn.000748e4
mov eax, dword [ebp - 0x4c]
call fcn.000140a8
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.000732d4
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x18]
call fcn.00014444
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
call fcn.000145e0
je 0xcb12d
mov eax, dword [ebp - 0x10]
call fcn.0007333c
test al, al
je 0xcb0ee
push ebp
mov eax, dword [ebp - 0x1c]
call fcn.000ca434
pop ecx
jmp 0xcb12d
cmp dword [ebp - 0xc], 0
je 0xcb12d
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov edx, 0xcb268
call fcn.00014534
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0xc]
call fcn.0008098c
lea edx, [ebp - 0x60]
mov eax, 2
call fcn.000747a0
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.00080918
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x20]
call fcn.00078a84
mov eax, dword [ebp - 0x64]
call fcn.0007333c
test al, al
je 0xcb152
mov eax, dword [ebp - 0x20]
call fcn.00078aa4
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xcb16f
lea eax, [ebp - 0x20]
call fcn.00079400
ret
Function at 0xcb2b8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0xcb2c0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xcb63d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xcb3b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, 0xcb650
call fcn.000748e4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, 0xcb668
call fcn.00013f30
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0xeabe0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.000140a8
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0xcb360
mov eax, dword [0xeac5c]
cmp dword [eax], 0
je 0xcb350
mov edx, 0xcb674
mov eax, dword [ebp - 0xc]
call fcn.00076fc0
jmp 0xcb390
push 0xcb674
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteKeyA
jmp 0xcb390
lea edx, [ebp - 0x18]
mov eax, 0xcb67c
call fcn.00078120
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.000747a0
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00013eec
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00079a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xcb3b9
cmp dword [ebp - 0xc], 0
je 0xcb3ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xc], eax
ret
Function at 0xce198
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xce3f7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0xce1fa
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.000cdc60
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0001b028
cmp al, 1
jne 0xce1fa
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.000cdf78
test al, al
je 0xce386
cmp dword [ebp - 8], 0
jge 0xce218
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.000cdc60
mov eax, dword [ebp - 0x210]
call fcn.00013ee4
cmp ebx, eax
jge 0xce262
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.000cdc60
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0xeb124]
and eax, 0xff
bt dword [edx], eax
jae 0xce262
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0xce276
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.000ce174
cmp ebx, dword [ebp - 8]
je 0xce378
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0xce2a2
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.000130d8
and eax, 0x7f
movzx eax, word [eax*2 + 0xeaae8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0xce365
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.000130d8
and eax, 0x7f
movzx eax, word [eax*2 + 0xeaae8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00057b48
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.000130d8
and eax, 0x7f
movzx eax, word [eax*2 + 0xeaae8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00057b48
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xce36c
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0xce3d9
cmp dword [ebp - 8], 0
jge 0xce391
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.000cdc60
mov eax, dword [ebp - 0x218]
call fcn.00013ee4
cmp eax, dword [ebp - 8]
jg 0xce3cb
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.000cdc60
mov eax, dword [ebp - 0x21c]
call fcn.00013ee4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.000ce174
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xce3fe
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00013c88
ret
Function at 0xdc144
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xdc1f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x800
call fcn.000793dc
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xd], 0
xor eax, eax
push ebp
push 0xdc1dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
call fcn.00078a68
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00078aa4
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.advapi32.dll_LookupAccountNameW
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdc1e3
lea eax, [ebp - 0x18]
call fcn.00079400
ret

Function at 0xdc288
Capabilities:
Manipulate user privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.000dc208
xor eax, eax
push ebp
push 0xdc2fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 8], 0
je 0xdc2ce
push 1
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.Advapi32.dll_LsaAddAccountRights
mov dword [ebp - 0x10], eax
jmp 0xdc2e6
push 1
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.Advapi32.dll_LsaRemoveAccountRights
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdc303
lea eax, [ebp - 0x18]
call fcn.000dc268
ret
Function at 0xdc8b0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xdca17
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 1
push 0
call sub.kernel32.dll_SetLastError
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xdc9fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0xdca30
call fcn.00013f30
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0xeabe0]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.000140a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xdc9d8
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 4
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xdca54
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xdc9d8
cmp dword [ebp - 0x1c], 4
jne 0xdc9d8
cmp dword [ebp - 0xc], 0
je 0xdc97b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0xeabe0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.000140a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xdc9d8
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], 3
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push 0
push 0xdca54
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdca01
cmp dword [ebp - 0xc], 0
je 0xdc9f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xc], eax
ret
Function at 0xdca5c
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 1
push 0
call sub.kernel32.dll_SetLastError
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0xdcb91
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xdcb67
push 0
call sub.kernel32.dll_SetLastError
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0xdcb60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.000140a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0xdcaf5
push 2
mov eax, dword [ebp - 4]
call fcn.000140a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xdcb36
push 0
call sub.kernel32.dll_SetLastError
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_ChangeServiceConfigA
test eax, eax
jne 0xdcb2f
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
jmp 0xdcb3e
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0xdcb3e
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdcb6f
cmp dword [ebp - 0x14], 0
je 0xdcb5a
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [ebp - 0x14], eax
ret
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdcb98
cmp dword [ebp - 0x10], 0
je 0xdcb8b
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [ebp - 0x10], eax
ret

Function at 0xdd324
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0xdd3e9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0xdd3b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xeab14], 0
jne 0xdd380
mov ecx, dword [0xeb088]
mov ecx, dword [ecx]
lea eax, [ebp - 4]
mov edx, 0xdd400
call fcn.00013f30
mov eax, dword [ebp - 4]
call fcn.000140a8
push eax
push 0xffffffffffffffff
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0xeab14], eax
cmp dword [0xeab14], 0
je 0xdd3aa
cmp dword [0xeab18], 0
jne 0xdd3aa
push 0xc
push 0
push 0
push 6
mov eax, dword [0xeab14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0xeab18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xdd3cc
cmp dword [0xeab18], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdd3f0
lea eax, [ebp - 4]
call fcn.00013c64
ret
Function at 0xdf010
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xdf21b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x400
call fcn.000793dc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0xdf1f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0xeabe0]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
push 0xdf228
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0xdf1a4
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0xdf17f
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0xdf155
mov eax, dword [ebp - 0x18]
call fcn.00078a68
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
call fcn.00078a2c
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00078aa4
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0xdf126
cmp dword [ebp - 0x1c], 2
jb 0xdf152
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call fcn.00078a84
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0xdf152
cmp dword [ebp - 0x14], 0x103
je 0xdf152
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.000747a0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0xdf25c
call fcn.00013f30
mov eax, dword [ebp - 0x24]
call fcn.000dd1f8
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0xdf16f
cmp eax, dword [esp]
pop edx
pop eax
jbe 0xdf1c7
jmp 0xdf173
pop edx
pop eax
jle 0xdf1c7
cmp dword [ebp - 0x14], 0
je 0xdf0ca
jmp 0xdf1c7
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.000747a0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0xdf27c
call fcn.00013f30
mov eax, dword [ebp - 0x2c]
call fcn.000dd1f8
jmp 0xdf1c7
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call fcn.000747a0
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0xdf29c
call fcn.00013f30
mov eax, dword [ebp - 0x34]
call fcn.000dd1f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdf1f8
lea eax, [ebp - 0x18]
call fcn.00079400
cmp dword [ebp - 0x10], 0
je 0xdf1eb
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x10], eax
ret
Function at 0xe0bc4
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x519
push 0
push 0
dec ecx
jne 0xe0bcc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xe1019
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28a0]
mov eax, 0xe1028
call fcn.00078120
push dword [ebp - 0x28a0]
push dword [ebp - 4]
lea edx, [ebp - 0x28a4]
mov eax, 0xe1030
call fcn.00078120
push dword [ebp - 0x28a4]
lea eax, [ebp - 0x289c]
mov edx, 3
call fcn.00013fa4
mov eax, dword [ebp - 0x289c]
mov edx, dword [ebp - 8]
call fcn.000796bc
xor eax, eax
push ebp
push 0xe0f4e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x94]
xor ecx, ecx
mov edx, 0x44
call fcn.00012b24
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00012b24
xor eax, eax
push ebp
push 0xe0f3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x48], 0xffffffff
xor eax, eax
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x28], eax
push 0x2800
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_CreatePipe
mov dword [ebp - 0x94], 0x44
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], 0x101
mov word [ebp - 0x64], 0
lea eax, [ebp - 0x14]
call fcn.000749cc
push 0xe103c
lea edx, [ebp - 0x28a8]
mov eax, 0xe1048
call fcn.00078120
push dword [ebp - 0x28a8]
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00013fa4
call fcn.00076ee0
xor eax, eax
push ebp
push 0xe0d69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x14]
call fcn.000140a8
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.000140a8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x21], al
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe0d70
call fcn.00076f50
ret