Function at 0x465d50
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476708
push eax
mov eax, 0x107c
mov dword fs:[0], esp
call fcn.0044e830
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x465d87
push 0
push 0x479cd0
mov ecx, eax
call fcn.00408f60
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x465d9e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x465def
call fcn.00467b30
test eax, eax
je 0x465def
call fcn.00467ac0
test eax, eax
jne 0x465def
push str..exe
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x465def
push 0
push dword [ebp + 0x10]
push esi
call fcn.00469050
mov esi, eax
add esp, 0xc
test esi, esi
je 0x465ddd
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x465ddd
call ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0046fe51
mov dword [ebp - 4], 0
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x465e22
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x465e52
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
push edi
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x44], edi
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x465e9c
mov dword [ebp + 0x18], eax
or ebx, 0xffffffff
jmp 0x465fee
push 0x44
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.0044ecf0
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x88], 0x44
mov dword [ebp - 0x5c], 0x101
jne 0x465eca
xor eax, eax
jmp 0x465ecf
mov eax, 5
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x465eff
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x40], esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x1088]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test ebx, ebx
je 0x465f31
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
neg eax
sbb eax, eax
and ebx, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x1088]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], eax
call ebx
cmp dword [ebp + 0x14], 0
je 0x465fc7
cmp dword [ebp + 8], 0
je 0x465fb2
push 0x479cd0
lea ecx, [ebp - 0x10]
call fcn.00401f00
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x465f86
call eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0x46a4f0
call fcn.00436c60
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x30]
call ebx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x465fc7
lea eax, [ebp - 0x10]
push eax
call fcn.00401e70
add esi, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp + 0x18], 1
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465fee
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46600b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov dword [ebp - 4], 4
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
pop edi
test ebx, ebx
jg 0x46602d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0046fe9c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret