joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4115b0
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b711c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0xf0]
lea esi, [ecx + 0x10]
sub edx, dword [ecx + 0xec]
mov eax, 0x66666667
push dword [ebp + 8]
imul edx
lea ecx, [esi + 0x20]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xa8], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp + 0x10]
push 0x4c
mov byte [esi + 0x30], al
call fcn.00497c04
mov ebx, eax
add esp, 4
mov dword [ebp + 0x10], ebx
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x14]
push eax
push 4
push ebx
push 0x46ef60
push 0
mov dword [ebx], vtable.Thread.0
mov byte [ebx + 0xc], 0
push 0
mov byte [ebx + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 4], eax
mov dword [ebx], vtable.ListenLogServer.0
lea eax, [ebx + 0x2c]
push 1
mov dword [ebx + 0x14], vtable.SecurityAttributes.0
mov byte [ebx + 0x24], 1
push eax
mov dword [ebx + 0x28], vtable.SecurityDescriptor.0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov byte [ebp - 4], 2
lea eax, [ecx + 0x10]
lea ecx, [ebx + 0x44]
mov dword [ebx + 0x40], eax
call fcn.0041ddb0
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 3
call fcn.0041e4a0
push 0x2c
call fcn.00497c04
add esp, 4
mov dword [ebp + 8], eax
push 0xffffffffffffffff
push 0
push 0x10000
push edi
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041dec0
push dword [ebx + 4]
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
setne al
mov byte [ebx + 0xc], al
mov dword [ecx + 0x78], ebx
add ecx, 0xc0
call fcn.004523d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412f70
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7450
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x4fa008]
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 0x4cd35c
push ecx
call fcn.0049ae30
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0041d6c0
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 0x4cd35c
push ecx
call fcn.0049ae30
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.0041f860
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 0x416770
Capabilities:
Create thread
Resume thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b79a9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
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 0x46ef60
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.004555d0
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.00456110
add esp, 4
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 3
je 0x416832
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 0x41691d
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x10]
call fcn.00455970
push 0xa
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x416933
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.004461b0
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 5
mov dword [esi + 0x94], eax
test edi, edi
je 0x4168ad
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 0x4168e3
push eax
mov eax, dword [ebp + 8]
push eax
push 0x4ceca8
push dword [esi + 0x94]
call fcn.004054c0
add esp, 0x10
jmp 0x416907
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.00456230
push 0x4f82a4
lea eax, [ebp - 0x38]
push eax
call fcn.00499368
lea ecx, [ebp - 0x50]
call fcn.00456230
push 0x4f82a4
lea eax, [ebp - 0x50]
push eax
call fcn.00499368
int3
Function at 0x4174b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7b86
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
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 0x4176c7
mov ecx, dword [edi + 0xb4]
call fcn.0041e0c0
mov esi, eax
push 0xc
mov dword [ebp - 0x18], esi
call fcn.00497c04
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.00497c04
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 0x46ef60
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 0x4cd35c
push ecx
call fcn.0049ae30
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.0046f300
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.00497c04
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 0x4174f0
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 0x4178b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7c53
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
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.004461b0
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.00419780
mov dword [esi], eax
push ecx
lea ecx, [ebx + 0xa4]
mov byte [ebp - 4], 0xa
call fcn.0041ddb0
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.0041ddb0
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 0x4cf3c8
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 0x419280
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6848
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x4c]
mov dword [ebp - 0x14], vtable.AutoLock.0
mov dword [ebp - 0x10], ecx
call dword [eax + 4]
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x84]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [edi + 0x68], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x70], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x7c], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x80], eax
mov eax, dword [ecx]
push dword [ebx + 0x20]
call dword [eax + 4]
movzx eax, byte [ebx + 0x2c]
mov byte [edi + 0x94], al
movzx eax, byte [ebx + 0x2d]
mov byte [edi + 0x95], al
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x44]
mov esi, dword [eax]
cmp esi, eax
je 0x419331
mov ecx, dword [esi + 8]
push ebx
call fcn.00458270
mov esi, dword [esi]
cmp esi, dword [edi + 0x44]
jne 0x419321
mov eax, dword [edi + 0x3c]
mov esi, dword [eax]
cmp esi, eax
je 0x419350
nop word [eax + eax]
mov ecx, dword [esi + 8]
push ebx
call fcn.00458270
mov esi, dword [esi]
cmp esi, dword [edi + 0x3c]
jne 0x419340
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
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
Function at 0x41c200
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8313
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
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 0x41c3c5
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x41c3eb
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x41c3be
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 0x4cd35c
push ecx
call fcn.0049ae30
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x24]
push 0x4cd35c
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 0x41c392
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x41c386
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 0x41c392
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0041c410
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 0x41c2d0
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 0x4d00a4
push eax
call fcn.00404c10
add esp, 8
lea eax, [ebp - 0x48]
push 0x4f7f80
push eax
call fcn.00499368
int3
Function at 0x41d300
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b84e8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
mov eax, dword [0x4fa008]
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 0x41d340
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41d355
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.0041d250
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0041d460
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 0x41d3c9
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.0041cad0
push 0x4f80ac
lea eax, [ebp - 0x54]
push eax
call fcn.00499368
int3

Function at 0x41d990
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 0x41da17
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.0041cad0
push 0x4f80ac
lea eax, [esp + 8]
push eax
call fcn.00499368
int3
Function at 0x41e000
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b86d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x4fa008]
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 0x41e03a
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 0x41e06f
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 0x4f7f80
push eax
call fcn.00499368
int3
Function at 0x41e0c0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b872a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x24]
cmp ecx, 0xffffffff
jne 0x41e0fb
mov ecx, esi
call fcn.0041e000
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
push ecx
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x41e1d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x217
je 0x41e196
cmp edi, 0x3e5
jne 0x41e220
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41e14e
push dword [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41e196
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00402f80
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push str.GetOverlappedResult___failed_after_the_ConnectNamedPipe___call__error_code___d
push eax
call fcn.004038a0
add esp, 0xc
lea ecx, [ebp - 0x20]
jmp 0x41e244
push 0xa0
call fcn.00497c04
add esp, 4
mov dword [ebp - 0x10], eax
push 1
mov dword [ebp - 4], 3
mov ecx, eax
push dword [esi + 0x28]
push dword [esi + 0x24]
call fcn.004217b0
mov dword [esi + 0x24], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00402f80
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push str.ConnectNamedPipe_failed__error_code___d
push eax
call fcn.004038a0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00403130
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00404c10
add esp, 8
lea eax, [ebp - 0x34]
push 0x4f7f80
push eax
call fcn.00499368
lea ecx, [ebp - 0x30]
call fcn.00402f80
push edi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push str.ConnectNamedPipe_failed__error_code___d
push eax
call fcn.004038a0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00403130
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00404c10
add esp, 8
lea eax, [ebp - 0x5c]
push 0x4f7f80
push eax
call fcn.00499368
int3