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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439704
mov eax, dword fs:[0]
push eax
mov eax, 0x10c0
call fcn.0041b990
mov eax, dword [0x44e3ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x104c], eax
mov dword [edi], 0xffffffff
mov ecx, eax
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4180fa
mov ecx, dword [eax]
mov dword [eax + 0x10], 0
xor eax, eax
mov word [ecx], ax
push eax
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x102c], eax
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x106c], 0xc
push eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x1064], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x418461
lea eax, [ebp - 0x1030]
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x1058], ecx
push 0
push 1
push dword [ebp - 0x1030]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x418486
mov eax, dword [ebp - 0x102c]
lea ecx, [ebp - 0x107c]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1080], eax
lea ecx, [ebp - 0x10c0]
movlpd qword [ebp - 0x1094], xmm0
or dword [ebp - 0x1094], 0x100
cmp dword [ebp + 0x1c], 8
push ecx
push 0
push 0
push 0x8000000
push 1
mov dword [ebp - 0x1084], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0x107c], xmm0
mov dword [ebp - 0x10c0], 0x44
movlpd qword [ebp - 0x10bc], xmm0
movlpd qword [ebp - 0x10b4], xmm0
movlpd qword [ebp - 0x10ac], xmm0
movlpd qword [ebp - 0x10a4], xmm0
movlpd qword [ebp - 0x109c], xmm0
movlpd qword [ebp - 0x108c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x418486
lea eax, [ebp - 0x107c]
mov dword [ebp - 0x1054], eax
push dword [ebp - 0x102c]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x418486
mov dword [ebp - 0x102c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1040], 0
push 0
push eax
call fcn.0041dc60
add esp, 0xc
lea eax, [ebp - 0x1040]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1030]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4182b8
call esi
cmp eax, 0x6d
je 0x4183e0
test eax, eax
jne 0x41848c
mov edi, dword [ebp - 0x1040]
lea eax, [ebp - 0x1010]
push 0
push 0
push edi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jle 0x41843f
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b4e1
lea ecx, [ebp - 0x1044]
mov dword [ebp - 0x1044], eax
add esp, 4
mov dword [ebp - 0x1048], ecx
push esi
push eax
push edi
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 3
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x418436
push esi
push dword [ebp - 0x1044]
xor eax, eax
mov dword [ebp - 0x1018], 0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
call fcn.00410cc0
lea ecx, [ebp - 0x1048]
call fcn.00418070
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
push dword [ebp - 0x1018]
cmovae eax, dword [ebp - 0x1028]
mov ecx, dword [ebp - 0x104c]
push eax
mov byte [ebp - 4], 4
call fcn.00410a40
mov edx, dword [ebp - 0x1014]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x418260
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4183d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4184ab
push edx
push ecx
call fcn.0041b4d3
add esp, 8
jmp 0x418253
push dword [ebp - 0x1050]
push dword [ebp - 0x107c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4183fd
call esi
jmp 0x41848c
lea ecx, [ebp - 0x1054]
call fcn.00418050
lea ecx, [ebp - 0x105c]
call fcn.00418080
lea ecx, [ebp + 8]
call fcn.00408230
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b949
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
jmp 0x41848c
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push eax
push 0
lea ecx, [ebp - 0x10cc]
call fcn.00407660
push 0x44c704
lea eax, [ebp - 0x10cc]
jmp 0x4184a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
lea ecx, [ebp - 0x1060]
call fcn.00407660
push 0x44c704
lea eax, [ebp - 0x1060]
push eax
call fcn.0041c83d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
lea ecx, [ebp - 0x103c]
call fcn.00407660
push 0x44c704
lea eax, [ebp - 0x103c]
push eax
call fcn.0041c83d
call fcn.0042069c
int3