Function at 0x45d0d0
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca3a0
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0058c510
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406640
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x58], 0xc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x45d190
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004066d0
mov eax, dword [ebp - 0xd4]
jmp 0x45d464
lea ecx, [ebp - 0x2c]
call fcn.00406750
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xb4]
mov cl, byte [eax]
mov byte [ebp - 0xad], cl
add dword [ebp - 0xb4], 1
cmp byte [ebp - 0xad], 0
jne 0x45d1ad
mov edx, dword [ebp - 0xb4]
sub edx, dword [ebp - 0xd8]
mov dword [ebp - 0xc4], edx
push 0
push 0
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406750
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jg 0x45d231
mov dword [ebp - 0xcc], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004066d0
mov eax, dword [ebp - 0xcc]
jmp 0x45d464
lea ecx, [ebp - 0x44]
call fcn.0045e250
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xbc]
add ecx, 0xa
push ecx
lea ecx, [ebp - 0x44]
call fcn.0045e2c0
lea ecx, [ebp - 0x2c]
call fcn.00406750
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
add edx, 1
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xb8]
mov cl, byte [eax]
mov byte [ebp - 0xae], cl
add dword [ebp - 0xb8], 1
cmp byte [ebp - 0xae], 0
jne 0x45d26c
mov edx, dword [ebp - 0xb8]
sub edx, dword [ebp - 0xc0]
mov dword [ebp - 0xdc], edx
lea ecx, [ebp - 0x44]
call fcn.00406b70
push eax
push 0
lea ecx, [ebp - 0x44]
call fcn.0045e2a0
push eax
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406750
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jg 0x45d30c
mov dword [ebp - 0xe4], 0xfffffffd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0045e280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004066d0
mov eax, dword [ebp - 0xe4]
jmp 0x45d464
mov dword [ebp - 0x68], 0
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0xac], 0
push 0x40
push 0
lea edx, [ebp - 0xa8]
push edx
call fcn.0058c510
add esp, 0xc
mov dword [ebp - 0x80], 0x101
xor eax, eax
mov word [ebp - 0x7c], ax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xac]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.0045e2a0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45d3b2
mov dword [ebp - 0xc8], 0xfffffffc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0045e280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004066d0
mov eax, dword [ebp - 0xc8]
jmp 0x45d464
push 0xfa0
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45d411
mov dword [ebp - 0xd0], 0xfffffffb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0045e280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004066d0
mov eax, dword [ebp - 0xd0]
jmp 0x45d464
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0045e280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004066d0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058815d
mov esp, ebp
pop ebp
ret