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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4da8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 5
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40def5
jmp 0x40dee1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
lea ecx, [ebp - 0x50]
call fcn.0041bae0
push 0x4f60a4
lea eax, [ebp - 0x50]
push eax
call fcn.00498498
int3

Function at 0x40e3d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4e50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebx + 0x6c]
lea ecx, [ebx + 0x6c]
lea eax, [ebx + 0x24]
push eax
call dword [edx + 0x18]
push 0
push 0
push 0xf0
push dword [ebx + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea edi, [ebx + 0x54]
mov ecx, edi
setne al
mov byte [ebx + 0x34], al
push dword [ebx + 0x28]
call fcn.0042aa70
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb33c
push ecx
call fcn.00499f60
add esp, 0xc
mov dword [ebp - 4], 1
xor esi, esi
mov edx, dword [edi + 8]
sub edx, dword [edi + 4]
sar edx, 4
xor ebx, ebx
mov dword [ebp - 0x18], edx
mov ecx, dword [edi + 0x10]
cmp edx, ecx
mov eax, ecx
cmovb eax, edx
cmp esi, eax
jae 0x40e512
push esi
lea eax, [ebp - 0x2c]
push 0x4cff64
push eax
call fcn.004038a0
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
cmp eax, esi
jbe 0x40e556
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx + ecx + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x40e509
mov eax, ecx
lea ecx, [eax + 2]
mov dword [ebp - 0x10], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e4e0
sub eax, dword [ebp - 0x10]
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x14]
push 1
push 0
push dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x18]
inc esi
add ebx, 0x10
jmp 0x40e493
cmp edx, ecx
jbe 0x40e51d
mov ecx, edi
call fcn.0042a830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.004039a0
mov ecx, edi
call fcn.0042a830
mov ecx, dword [ebp - 0x1c]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00426d40
int3
Function at 0x4112f0
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b53d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], vtable.StringStorage.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb33c
push ecx
call fcn.00499f60
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb33c
push ecx
call fcn.00499f60
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041c620
test al, al
je 0x4113da
push str._service
push dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push 0x4cbd94
push eax
call fcn.004038a0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039a0
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041f430
push 0
push 0
push 0x4cb33c
push 0
push 0
mov byte [ebp - 4], 4
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
push 1
push 2
push 0x10
push 0xf01ff
push 0x4c5404
push 0x4c5424
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x41149c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
push 2
push edi
mov dword [ebp - 0x10], 0x1388
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x41147c
push esi
call edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.StringStorage.0
call fcn.004039a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x70]
call fcn.0041ba20
push 0x4f60a4
lea eax, [ebp - 0x70]
push eax
call fcn.00498498
int3
Function at 0x412f70
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b57d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb33c
push ecx
call fcn.00499f60
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0041c620
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb33c
push ecx
call fcn.00499f60
add esp, 0xc
push str._slave
push str._controlservice
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
push str.__s___s__s
push eax
call fcn.004038a0
add esp, 0x14
lea ecx, [ebp - 0x48]
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.0041e7c0
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x4130ad
mov eax, dword [ebp - 0x18]
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413080
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x18]
push 1
push 0
push str.tvncontrol
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], vtable.RegistryKey.0
test edx, edx
je 0x4130cb
cmp edx, dword [ebp - 0x40]
je 0x4130c4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.004039a0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.004039a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.004039a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4156b0
Capabilities:
Create thread
Resume thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5c99
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46e090
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [esi], vtable.TcpServer.0
call fcn.004546d0
mov ebx, dword [ebp + 8]
lea ecx, [esi + 0x48]
push ebx
mov byte [ebp - 4], 1
call fcn.00403010
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov edx, ebx
push eax
mov word [esi + 0x58], ax
call fcn.00455210
add esp, 4
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 3
je 0x415772
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x41585d
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x10]
call fcn.00454a70
push 0xa
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x415873
mov dword [ebp - 0x20], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x60]
mov dword [ebp - 4], 4
mov dword [esi], vtable.RfbServer.0
mov dword [esi + 0x5c], eax
call fcn.004451f0
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 5
mov dword [esi + 0x94], eax
test edi, edi
je 0x4157ed
mov dword [esi + 0x60], 2
mov eax, dword [edi + 4]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x74], eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, dword [ebp + 0xc]
movzx eax, ax
test edi, edi
jne 0x415823
push eax
mov eax, dword [ebp + 8]
push eax
push 0x4ccc30
push dword [esi + 0x94]
call fcn.004054c0
add esp, 0x10
jmp 0x415847
push dword [edi + 0x10]
push dword [edi + 8]
push dword [edi + 0xc]
push dword [edi + 4]
push eax
mov eax, dword [ebp + 8]
push eax
push str.Rfb_server_started_at__s:_d_with___d__d__d__d__view_port_specified
push dword [esi + 0x94]
call fcn.004054c0
add esp, 0x20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [ebp - 0x38]
call fcn.00455330
push 0x4f629c
lea eax, [ebp - 0x38]
push eax
call fcn.00498498
lea ecx, [ebp - 0x50]
call fcn.00455330
push 0x4f629c
lea eax, [ebp - 0x50]
push eax
call fcn.00498498
int3
Function at 0x4163f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5e76
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
nop word [eax + eax]
cmp byte [edi + 0xd], 0
jne 0x416607
mov ecx, dword [edi + 0xb4]
call fcn.0041d020
mov esi, eax
push 0xc
mov dword [ebp - 0x18], esi
call fcn.00496d34
mov ebx, eax
add esp, 4
push 0xa0
mov dword [ebx], vtable.NamedPipeTransport.0
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0
call fcn.00496d34
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov eax, dword [edi + 0xbc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, dword [edi + 0xb8]
lea ecx, [esi + 8]
push ecx
push 4
push esi
push 0x46e090
push 0
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push 0
mov dword [ebp - 0x18], eax
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], edi
mov edi, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi], vtable.ControlClient.0
lea eax, [edi + 0x10]
mov byte [esi + 0x25], 0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x28], 0
lea ebx, [eax + 4]
mov dword [esi + 0x30], 0
mov dword [ebp - 0x24], eax
mov dword [eax], vtable.StringStorage.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push ebx
push 1
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00403ad0
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb33c
push ecx
call fcn.00499f60
add esp, 0xc
lea eax, [esi + 0x48]
mov dword [esi + 0x44], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.0046e430
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x9c], eax
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2c
mov dword [esi + 0x14], eax
call fcn.00496d34
mov ecx, dword [esi + 0x14]
mov ebx, eax
add esp, 4
mov dword [ebx + 4], ecx
lea eax, [ecx + 4]
neg ecx
mov dword [ebx], vtable.DataInputStream.0
mov dword [ebx + 8], vtable.DataOutputStream.0
sbb ecx, ecx
and ecx, eax
lea eax, [ebx + 0x14]
mov dword [ebx + 0xc], ecx
push eax
mov dword [ebx + 0x10], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx], vtable.ControlGate.0
mov dword [ebx + 8], vtable.ControlGate.2.0
mov dword [ebx + 0x10], vtable.ControlGate.1.0
mov dword [esi + 0x18], ebx
mov byte [esi + 0x24], 0
mov byte [ebp - 4], 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
lea ecx, [edi + 0x78]
push esi
setne al
mov byte [esi + 0xc], al
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x416430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4167f0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5f43
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.ClientTerminationListener.0
mov dword [ebp - 4], 0
mov dword [ebx + 4], vtable.ClipboardListener.0
mov dword [ebx + 8], vtable.UpdateSendingListener.0
mov dword [ebx + 0xc], vtable.ClientAuthListener.0
mov dword [ebx + 0x10], vtable.AbnormDeskTermListener.0
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebx + 0x18]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
push eax
mov dword [ebx + 0x14], vtable.LocalMutex.0
call edi
mov dword [ebx + 0x14], vtable.SafeVector_class_RfbClientManagerEventListener__.0
mov byte [ebp - 4], 5
lea esi, [ebx + 0x3c]
push 0
mov dword [ebx], vtable.RfbClientManager.1.0
mov dword [ebx + 4], vtable.RfbClientManager.0
mov dword [ebx + 8], vtable.RfbClientManager.3.0
mov dword [ebx + 0xc], vtable.RfbClientManager.2.0
mov dword [ebx + 0x10], vtable.RfbClientManager.4.0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c210
mov dword [esi], eax
lea esi, [ebx + 0x44]
mov byte [ebp - 4], 6
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c210
mov dword [esi], eax
lea eax, [ebx + 0x50]
mov dword [ebx + 0x4c], vtable.LocalMutex.0
push eax
call edi
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 8
call fcn.004451f0
lea esi, [ebx + 0x9c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004186d0
mov dword [esi], eax
push ecx
lea ecx, [ebx + 0xa4]
mov byte [ebp - 4], 0xa
call fcn.0041cd10
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xac], vtable.LocalMutex.0
push eax
call edi
push ecx
lea ecx, [ebx + 0xc8]
mov byte [ebp - 4], 0xc
call fcn.0041cd10
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 0xd
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xdc], eax
mov eax, dword [ebp + 0x10]
push 0x4cd350
push eax
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xe0], eax
call fcn.004054f0
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41b150
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6603
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
lea esi, [eax + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push dword [ebp + 8]
mov dword [eax], vtable.WinCommandLineArgs.0
call fcn.00403010
mov dword [ebp - 0x34], vtable.UnicodeStringStorage.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
push dword [eax + 4]
call fcn.004030d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], vtable.StringStorage.0
call fcn.004039a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, 0xffffffff
je 0x41b315
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x41b33b
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x41b30e
nop dword [eax]
push dword [ebx + edi*4]
lea ecx, [ebp - 0x44]
call fcn.00405070
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb33c
push ecx
call fcn.00499f60
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x24]
push 0x4cb33c
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x40]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 1
add eax, 0xffffffff
je 0x41b2e2
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x41b2d6
mov dword [ecx], vtable.StringStorage.0
mov dword [ebp - 0x14], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 8
mov eax, dword [ecx]
push dword [ebp - 0x20]
call dword [eax + 4]
add dword [esi + 4], 0x10
jmp 0x41b2e2
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0041b360
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], vtable.UnicodeStringStorage.0
call fcn.004039a0
inc edi
cmp edi, dword [ebp + 8]
jl 0x41b220
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.UnicodeStringStorage.0
call fcn.004039a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x48]
push 0x4ce02c
push eax
call fcn.00404c10
add esp, 8
lea eax, [ebp - 0x48]
push 0x4f5f78
push eax
call fcn.00498498
int3
Function at 0x41c260
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b67d8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x41c2a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41c2b5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 0
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
call fcn.0041c1b0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0041c3c0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x98]
push eax
movzx eax, byte [esi + 0x3c]
push 0
push 0
push 0
push eax
push 0
push 0
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c329
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x24], eax
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.004039a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x54]
call fcn.0041ba20
push 0x4f60a4
lea eax, [ebp - 0x54]
push eax
call fcn.00498498
int3

Function at 0x41c8f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x4c], xmm0
push eax
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0x440
mov dword [esp + 0x3c], str.runas
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41c977
push 0xffffffffffffffff
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 4]
call fcn.0041ba20
push 0x4f60a4
lea eax, [esp + 8]
push eax
call fcn.00498498
int3
Function at 0x41cf60
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b69c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x4f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
xor edx, edx
test ecx, ecx
je 0x41cf9a
cmp byte [ecx + 0x10], dl
lea eax, [ecx + 4]
cmove edx, eax
mov eax, dword [esi + 0x28]
push edx
push 0
push eax
push eax
push 0xff
push 0
push 0x40000003
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x24], eax
cmp eax, 0xffffffff
je 0x41cfcf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
call fcn.00402f80
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str.CreateNamedPipe_failed__error_code___d
push eax
call fcn.004038a0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00403130
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404c10
add esp, 8
lea eax, [ebp - 0x30]
push 0x4f5f78
push eax
call fcn.00498498
int3