Function at 0x418df0
Capabilities:
Create pipe
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x439e7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 0
lea ebx, [ebp + 8]
push 0
mov ecx, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
call fcn.00404ec0
mov eax, dword [ebx + 8]
push 0
push eax
mov ecx, ebx
mov dword [esp + 0x94], 0
mov dword [ebx], 0x43b31c
call fcn.00401e70
xor ecx, ecx
xor esi, esi
mov edi, eax
mov dword [ebx], 0x43b30c
mov dword [ebp], 0x43b57c
mov edx, dword [ebx]
push esi
mov ecx, ebx
mov dword [esp + 0x90], 1
call dword [edx + 4]
mov eax, dword [esp + 0x94]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x2c]
call fcn.00401d90
mov eax, dword [esp + 0x2c]
mov edi, 0x43b348
cmp eax, 0xffffffff
mov dword [esp + 0x24], edi
jne 0x418eab
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x2c], eax
je 0x418eab
cmp byte [ecx], 0
je 0x418eab
inc eax
mov dword [esp + 0x2c], eax
cmp byte [ecx + eax], 0
jne 0x418ea0
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 2
push ecx
mov ecx, ebx
call fcn.00404f80
lea edx, [esp + 0x30]
push 1
push edx
mov ecx, ebx
mov byte [esp + 0x94], 1
mov dword [ebp + 0x18], esi
mov dword [ebp + 4], 0xffffffff
call fcn.00405700
mov ebx, eax
push 0xffffffffffffffff
push 0x445f4c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 3
call fcn.00401d90
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
cmp eax, 0xffffffff
jne 0x418f24
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x2c], eax
je 0x418f24
cmp byte [ecx], 0
je 0x418f24
inc eax
mov dword [esp + 0x2c], eax
cmp byte [ecx + eax], 0
jne 0x418f19
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
mov byte [esp + 0x90], 4
call fcn.0040c130
test eax, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0x43b2e8
sete bl
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x418f62
push eax
call fcn.0041b6a9
add esp, 4
test bl, bl
je 0x419059
lea ecx, [esp + 0x24]
push esi
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4190b0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push esi
lea ecx, [esp + 0x20]
push esi
push ecx
call edi
mov edx, dword [esp + 0x20]
push eax
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x40]
lea edx, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push edx
push eax
push esi
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0xa0]
push esi
push 0x8000000
push 1
push esi
inc ecx
push esi
push ecx
push esi
mov dword [esp + 0x68], 0x44
mov dword [esp + 0x94], 0x100
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov word [esp + 0x98], si
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4190b0
mov eax, dword [esp + 0x18]
push 0x445f48
push 0x4009
push eax
mov dword [ebp + 4], eax
call fcn.0041e8ce
add esp, 8
push eax
call fcn.0041e57b
add esp, 8
mov dword [ebp + 0x18], eax
jmp 0x4190b0
mov edx, dword [esp + 0x94]
push esi
push 0x20
push 4
push esi
push 7
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 4], eax
je 0x4190b0
push 2
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 4]
push 0x445f48
push 0x4009
push eax
call fcn.0041e8ce
add esp, 8
push eax
call fcn.0041e57b
push esi
push eax
mov dword [ebp + 0x18], eax
call fcn.0041e556
add esp, 0x10
mov ecx, dword [esp + 0x84]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 4