joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x26c], ecx
mov byte [ebp - 0x268], 0x22
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x267]
push ecx
call fcn.00597aa0
add esp, 8
push str.__update__
lea edx, [ebp - 0x268]
push edx
call fcn.00597ab0
add esp, 8
push 0x104
lea eax, [ebp - 0x268]
push eax
call fcn.00597ba0
add esp, 4
lea ecx, [ebp + eax - 0x268]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5bf91c
lea edx, [ebp - 0x268]
push edx
call fcn.00597ab0
add esp, 8
push 0x10
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00597130
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.00597130
add esp, 0xc
mov dword [ebp - 0x58], 0x44
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x268]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4a1d6b
cmp dword [ebp - 0xc], 0
je 0x4a1d3d
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
je 0x4a1d4d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x66800f
push 0x111
mov ecx, dword [ebp - 0x26c]
add ecx, 4
call fcn.00494970
xor eax, eax
jmp 0x4a1d70
mov eax, 9
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 4

Function at 0x4a2690
Capabilities:
Lock the desktop

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov ecx, dword [ebp - 4]
add ecx, 0xb4
call fcn.004ad930
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0x8b
je 0x4a26c7
mov ecx, dword [ebp + 0x10]
push ecx
push 0xefdb
mov ecx, dword [ebp - 4]
sub ecx, 0x2c
call fcn.0049fb90
cmp dword [0x654830], 0
je 0x4a2704
cmp dword [0x6443fc], 0
je 0x4a26ed
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x144]
and eax, 2
je 0x4a26ed
call dword [sym.imp.USER32.dll_LockWorkStation]
mov ecx, dword [0x654830]
add ecx, 8
mov edx, dword [0x654830]
mov eax, dword [edx + 8]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x150], 0
jne 0x4a2745
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x7c]
sub edx, 0x8b
neg edx
sbb edx, edx
and edx, 0x7d0
add edx, 0x3e8
push edx
push 0x64
mov ecx, dword [ebp - 4]
sub ecx, 0x28
call fcn.004a7bf0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x150], eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a4f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b712b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x64786c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0xc], 0xd
jne 0x4a5109
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x4a5109
mov ecx, dword [ebp - 0x28]
add ecx, 0xe0
call fcn.004a97e0
mov ecx, eax
call fcn.004a97c0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4a5109
mov eax, dword [ebp - 0x10]
add eax, 0xa
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00598286
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a5109
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0xe0
call fcn.004a97e0
mov ecx, eax
call fcn.004a9790
mov dword [ebp - 0x10], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00496850
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
call fcn.00415eb0
push eax
mov ecx, dword [ebp - 0x28]
call fcn.004a5cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401c80
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00596bea
add esp, 4
push 0x5bfc6c
mov ecx, dword [ebp - 0x28]
add ecx, 0xe0
call fcn.004a97e0
mov ecx, eax
call fcn.004a7bd0
push 0xa000a
push 0
push 0x201
mov ecx, dword [ebp - 0x28]
add ecx, 0xe0
call fcn.004a97e0
mov ecx, eax
call fcn.004a8f50
push 0xa000a
push 0
push 0x202
mov ecx, dword [ebp - 0x28]
add ecx, 0xe0
call fcn.004a97e0
mov ecx, eax
call fcn.004a8f50
xor eax, eax
jmp 0x4a5114
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a9a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
jne 0x4a9a2e
mov eax, dword [ebp + 0x14]
jmp 0x4a9ab4
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a9a61
jmp 0x4a9aa1
mov ecx, dword [ebp + 0x10]
shl ecx, 1
mov dword [ebp - 8], ecx
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 - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a9a92
jmp 0x4a9aa1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
jmp 0x4a9ab4
cmp dword [ebp - 0xc], 0
je 0x4a9ab1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4aa7d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00597130
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4aa834
cmp dword [ebp - 0x11c], 6
jb 0x4aa834
mov dword [ebp - 0x128], 1
jmp 0x4aa83e
mov dword [ebp - 0x128], 0
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret
Function at 0x4ae1b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b77e1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x64786c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0xe120
jg 0x4ae219
cmp dword [ebp - 0x2c], 0xe120
je 0x4ae256
cmp dword [ebp - 0x2c], 0xa6
je 0x4ae238
cmp dword [ebp - 0x2c], 0xa7
je 0x4ae247
jmp case.0x4ae231.3
mov eax, dword [ebp - 0x2c]
sub eax, 0xe121
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 9
ja case.0x4ae231.3
mov ecx, dword [ebp - 0x2c]
jmp dword [ecx*4 + 0x4ae374]
push 0
mov ecx, dword [ebp - 0x28]
call fcn.004aef00
jmp 0x4ae361
push 1
mov ecx, dword [ebp - 0x28]
call fcn.004aef00
jmp 0x4ae361
push 0x24
push 0x5c03bc
push 0xa2
lea ecx, [ebp - 0x18]
call fcn.004a8030
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
call fcn.004976a0
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 4
call fcn.004a8640
xor ecx, ecx
cmp eax, 6
sete cl
mov byte [ebp - 0xd], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00497640
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4ae2ba
push 0
mov ecx, dword [ebp - 0x28]
call fcn.004aee50
jmp 0x4ae361
push 0x24
push 0x5c03d0
push 0xa3
lea ecx, [ebp - 0x24]
call fcn.004a8030
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
call fcn.004976a0
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 4
call fcn.004a8640
xor ecx, ecx
cmp eax, 6
sete cl
mov byte [ebp - 0x19], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00497640
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x4ae323
push 1
mov ecx, dword [ebp - 0x28]
call fcn.004aee50
jmp 0x4ae361
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
neg eax
sbb eax, eax
neg eax
push eax
mov ecx, dword [ebp - 0x28]
call fcn.004aed70
jmp 0x4ae361
jmp 0x4ae361
jmp 0x4ae361
push 2
push 0
push 0
mov ecx, dword [ebp - 0x28]
call fcn.004aef80
jmp 0x4ae361
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ae3a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, 0x21
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x57
ja case.0x4ae3cc.2
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x4ae54c]
jmp dword [eax*4 + 0x4ae528]
push 0
push 0
push 0x115
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
jmp case.0x4ae3cc.2
push 0
push 1
push 0x115
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
jmp case.0x4ae3cc.2
push 0
push 2
push 0x115
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
jmp case.0x4ae3cc.2
push 0
push 3
push 0x115
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
jmp case.0x4ae3cc.2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4ae489
push 0
push 0xe12a
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
jmp case.0x4ae3cc.2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
shr edx, 8
and edx, 0xff
movzx eax, dl
test eax, eax
je 0x4ae4c6
push 0
push 0xe122
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
jmp case.0x4ae3cc.2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4ae4f2
push 0
push 0xe123
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
jmp case.0x4ae3cc.2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je case.0x4ae3cc.2
push 0
push 0xe125
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004a8f50
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b2f00
Capabilities:
Create service
Modify service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x818], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0x400
lea ecx, [ebp - 0x80e]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x814], eax
mov edx, 0x22
mov word [ebp - 0x810], dx
mov eax, 0x22
mov ecx, dword [ebp - 0x814]
mov word [ebp + ecx*2 - 0x80e], ax
mov edx, 0x20
mov eax, dword [ebp - 0x814]
mov word [ebp + eax*2 - 0x80c], dx
push str.service
mov ecx, dword [ebp - 0x814]
lea edx, [ebp + ecx*2 - 0x80a]
push edx
call fcn.00599885
add esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
je 0x4b3112
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push str.TTXN_GotoHTTP_Agent
push 0x5c0a68
mov ecx, dword [ebp - 0x81c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b307c
push 0xf01ff
push 0x5c0a7c
mov edx, dword [ebp - 0x81c]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b306a
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4b302e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x4b3038
mov dword [ebp - 0x818], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x4000000
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea edx, [ebp - 0x840]
push edx
push 0x82
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4b307a
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x3000000
mov edx, dword [ebp + 8]
mov dword [edx], eax
jmp 0x4b30dc
mov dword [ebp - 0x844], str.TTXN_GotoHTTP_agent_client._http:__gotohttp.com.
lea eax, [ebp - 0x844]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4b30b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x4b30c2
mov dword [ebp - 0x818], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x2000000
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push reloc.WS2_32.dll_bind
push 0x5c0af8
lea ecx, [ebp - 0x824]
call fcn.004a99e0
push 1
push 0x5c0b6c
lea ecx, [ebp - 0x824]
call fcn.004b4720
jmp 0x4b3122
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x1000000
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret
Function at 0x4b3140
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b31bb
push 0xf01ff
push 0x5c0b98
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b31b1
lea ecx, [ebp - 0x30]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x4b31a7
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push reloc.WS2_32.dll_bind
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
lea ecx, [ebp - 0xc]
call fcn.004a99e0
push str.SoftwareSASGeneration
lea ecx, [ebp - 0xc]
call fcn.004b47c0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4b31f0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b32a1
push 0xf01ff
push 0x5c0c50
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b3297
cmp dword [ebp + 8], 0x81
jne 0x4b3252
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 8], eax
jmp 0x4b3267
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 8], eax
cmp dword [0x653730], 1
jg 0x4b328d
mov edx, dword [ebp + 8]
push edx
push str.ControlService_OK._code___u
push 0xc1
push 0x5c0c84
push 1
call fcn.00401320
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4b3bc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], str.GlobalGotoHTTP__u
mov ecx, dword [0x654820]
call fcn.00497150
mov dword [ebp - 0x214], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00597130
add esp, 0xc
cmp dword [ebp - 0x214], 0xffffffff
je 0x4b3cb5
mov edx, dword [ebp - 0x214]
cmp edx, dword [0x644d34]
je 0x4b3cb5
mov eax, dword [ebp - 0x214]
mov dword [0x644d34], eax
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00598b70
add esp, 0xc
mov dword [0x654828], 0
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call fcn.004b3870
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x4b3c8c
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b3cb5
cmp dword [0x653730], 3
jg 0x4b3cb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5c0eb4
push 0x426
push 0x5c0ed8
push 3
call fcn.00401320
add esp, 0x14
mov ecx, dword [0x654828]
add ecx, 1
mov dword [0x654828], ecx
cmp dword [0x654828], 5
jne 0x4b3da6
mov dword [0x654828], 0
movzx edx, word [ebp - 0x210]
test edx, edx
jne 0x4b3d00
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00598b70
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x4b3da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x220], 0xb7
je 0x4b3da6
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x214]
push eax
call fcn.004b3870
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x4b3d7d
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b3da6
cmp dword [0x653730], 3
jg 0x4b3da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.creating_ui_process_error__err_u
push 0x43e
push 0x5c0f0c
push 3
call fcn.00401320
add esp, 0x14
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b3dc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4b3de0
xor eax, eax
jmp 0x4b3eb2
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00597130
add esp, 0xc
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x4b3e38
mov eax, dword [ebp - 4]
jmp 0x4b3eb2
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4b3ea2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.00597d3c
add esp, 8
test eax, eax
jne 0x4b3e8b
mov edx, dword [ebp - 0x230]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x4b3eb2
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4b3e59
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret

Function at 0x4b3f50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push str.SeDebugPrivilege
call fcn.004b3ec0
add esp, 4
pop ebp
ret

Function at 0x4b4150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7bb4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x64786c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
lea ecx, [ebp - 0x10]
call fcn.00402e40
mov dword [ebp - 4], 0
push str._C_start
lea ecx, [ebp - 0x10]
call fcn.00403950
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406010
push 0x5c1034
push 0x26
lea ecx, [ebp - 0x10]
call fcn.004b4ad0
call fcn.00419b60
movzx ecx, al
test ecx, ecx
je 0x4b41d9
push 1
lea ecx, [ebp - 0x10]
call fcn.004032f0
push eax
push str.cmd.exe
call fcn.004b4240
add esp, 0xc
test eax, eax
jne 0x4b4212
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x5c1040
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402ea0
mov eax, dword [ebp - 0x14]
jmp 0x4b422b
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402ea0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b4240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7be5
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x884]
call fcn.004a8560
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x890]
mov dword [ebp - 0x894], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x894]
call fcn.004ab500
push eax
lea edx, [ebp - 0x82c]
push edx
call fcn.00599885
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x884]
call fcn.004970f0
cmp dword [ebp + 0xc], 0
je 0x4b432f
push 0x5c1048
lea eax, [ebp - 0x82c]
push eax
call fcn.00599857
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x88c]
call fcn.004a8560
mov dword [ebp - 0x898], eax
mov edx, dword [ebp - 0x898]
mov dword [ebp - 0x89c], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x89c]
call fcn.004ab500
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00599857
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88c]
call fcn.004970f0
call fcn.004b4470
mov dword [ebp - 0x14], eax
call fcn.004b3f50
push 0x44
push 0
lea ecx, [ebp - 0x87c]
push ecx
call fcn.00597130
add esp, 0xc
mov dword [ebp - 0x87c], 0x44
cmp dword [ebp + 0x10], 0
je 0x4b4372
mov dword [ebp - 0x850], 1
xor edx, edx
mov word [ebp - 0x84c], dx
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0x10
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00597130
add esp, 0xc
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x10], 0x20
push 1
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x4b43be
jmp 0x4b43ca
mov ecx, dword [ebp - 0x10]
or ecx, 0x400
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x87c]
push eax
push 0
mov ecx, dword [ebp - 0x830]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4b442c
cmp dword [0x653730], 3
jg 0x4b4428
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_err__d
push 0x7d4
push 0x5c1064
push 3
call fcn.00401320
add esp, 0x14
xor eax, eax
jmp 0x4b444f
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret