Function at 0x439d50
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 0x53cd0b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x58d224]
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.0040f2a0
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 0x439df8
push 0x546442
mov ecx, dword [ebp + 8]
call fcn.004077e0
mov ecx, dword [ebp - 0xb0]
or ecx, 1
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e30
mov eax, dword [ebp + 8]
jmp 0x43a0df
push 0
push 1
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x439e3d
push 0x546443
mov ecx, dword [ebp + 8]
call fcn.004077e0
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e30
mov eax, dword [ebp + 8]
jmp 0x43a0df
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.0050eb70
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.0040bae0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x439eec
push 0x54645e
mov ecx, dword [ebp + 8]
call fcn.004077e0
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e30
mov eax, dword [ebp + 8]
jmp 0x43a0df
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 0x439f36
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 0x439f92
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 0x54645f
mov ecx, dword [ebp + 8]
call fcn.004077e0
mov edx, dword [ebp - 0xb0]
or edx, 1
mov dword [ebp - 0xb0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e30
mov eax, dword [ebp + 8]
jmp 0x43a0df
mov dword [ebp - 0xd4], 0x200
push 0x200
call fcn.004d521a
add esp, 4
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x40]
call fcn.00407850
mov byte [ebp - 4], 1
mov ecx, 1
test ecx, ecx
je 0x43a046
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 0x439ff2
jmp 0x43a046
cmp dword [ebp - 0x4c], 0
jne 0x439ffa
jmp 0x43a046
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xec]
call fcn.00417730
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.00408790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xec]
call fcn.00407de0
jmp 0x439fc7
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004d5223
add esp, 4
cmp dword [ebp - 0xbc], 0
jne 0x43a076
mov dword [ebp - 0xd0], 0
jmp 0x43a08c
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.004076e0
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e30
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.004d4e68
mov esp, ebp
pop ebp
ret