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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca6b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ed70
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0xc
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x64], 0
push 0
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x439b98
push 0x54605a
mov ecx, dword [ebp + 8]
call fcn.004076e0
mov ecx, dword [ebp - 0xb0]
or ecx, 1
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov eax, dword [ebp + 8]
jmp 0x439e7f
push 0
push 1
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x439bdd
push 0x54605b
mov ecx, dword [ebp + 8]
call fcn.004076e0
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov eax, dword [ebp + 8]
jmp 0x439e7f
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
push 0x44
push 0
lea edx, [ebp - 0xac]
push edx
call fcn.0050d990
add esp, 0xc
mov dword [ebp - 0xac], 0x44
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x80]
or edx, 0x101
mov dword [ebp - 0x80], edx
xor eax, eax
mov word [ebp - 0x7c], ax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0xac]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0040b600
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x439c8c
push 0x546076
mov ecx, dword [ebp + 8]
call fcn.004076e0
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov eax, dword [ebp + 8]
jmp 0x439e7f
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x439cd6
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x439d32
push 0
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x546077
mov ecx, dword [ebp + 8]
call fcn.004076e0
mov edx, dword [ebp - 0xb0]
or edx, 1
mov dword [ebp - 0xb0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov eax, dword [ebp + 8]
jmp 0x439e7f
mov dword [ebp - 0xd4], 0x200
push 0x200
call fcn.004d4f27
add esp, 4
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x40]
call fcn.00407750
mov byte [ebp - 4], 1
mov ecx, 1
test ecx, ecx
je 0x439de6
push 0
lea edx, [ebp - 0x4c]
push edx
push 0x200
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439d92
jmp 0x439de6
cmp dword [ebp - 0x4c], 0
jne 0x439d9a
jmp 0x439de6
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xec]
call fcn.00417490
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xcc]
push edx
lea ecx, [ebp - 0x40]
call fcn.00408670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xec]
call fcn.00407ce0
jmp 0x439d67
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004d4f30
add esp, 4
cmp dword [ebp - 0xbc], 0
jne 0x439e16
mov dword [ebp - 0xd0], 0
jmp 0x439e2c
mov dword [ebp - 0xb4], 0x8123
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.004075e0
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret