Function at 0x42e2b0
Capabilities:
Connect pipe
Create pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443326
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.00435ca0
mov eax, dword [0x459780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00435439
add esp, 4
mov esi, eax
mov dword [ebp - 0x105c], esi
test ebx, ebx
jle 0x42e363
sub eax, edi
mov dword [ebp - 0x1064], eax
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.00435439
mov ecx, dword [ebp - 0x1064]
add esp, 4
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
mov dword [edi + ecx], eax
push dword [edi]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [edi + 4]
sub ebx, 1
jne 0x42e317
mov esi, dword [ebp - 0x105c]
push 0
push 0xffffffffffffffff
push 0xffff
push 0xffff
push 0xff
push 6
push 3
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push dword [esi + 0x14]
mov ebx, eax
call sub.msvcrt.dll_atof
add esp, 4
lea ecx, [ebp - 0x1058]
fstp dword [ebp - 0x1060]
push dword [esi + 0xc]
call fcn.0040f130
push dword [esi + 8]
lea ecx, [ebp - 0x1040]
mov dword [ebp - 4], 0
call fcn.0040f130
push dword [esi + 4]
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 1
call fcn.0040f130
movss xmm0, dword [ebp - 0x1060]
lea eax, [ebp - 0x1058]
sub esp, 8
mov byte [ebp - 4], 2
movss dword [esp + 4], xmm0
mov dword [esp], 0x40000000
push eax
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.0042ecf0
mov ecx, dword [ebp - 0x1014]
add esp, 0x14
mov dword [ebp - 0x1060], eax
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x42e448
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42e43e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e70c
push ecx
push edx
call fcn.0043542b
add esp, 8
mov ecx, dword [ebp - 0x102c]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x42e4a1
mov edx, dword [ebp - 0x1040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42e497
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e70c
push ecx
push edx
call fcn.0043542b
add esp, 8
mov ecx, dword [ebp - 0x1044]
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x42e4fd
mov edx, dword [ebp - 0x1058]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42e4f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e70c
push ecx
push edx
call fcn.0043542b
add esp, 8
push dword [esi + 0x20]
mov dword [ebp - 0x1048], 0
push 0xa00000
push 0
push 0x40
push 0x45a154
push 0xffffffffffffffff
mov dword [ebp - 0x1044], 0xf
mov byte [ebp - 0x1058], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0xa00000
push 0
push 0
push 0xf003f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0xa00000
mov esi, eax
push 0
push esi
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x105c]
add esp, 0xc
push dword [edi + 0x1c]
push 0
push 0
push 0x45a154
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push dword [edi + 0x10]
call sub.msvcrt.dll_atoi
push 0x1000
mov edi, eax
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x10
lea eax, [ebp - 0x1064]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e6ee
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x1060]
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0042ed40
mov ecx, dword [ebp - 0x1060]
lea eax, [ebp - 0x105c]
push 0
push eax
lea eax, [ebp - 0x1070]
push eax
push dword [ebp - 0x106c]
call fcn.0042f880
mov ecx, dword [ebp - 0x105c]
lea eax, [ecx + 0x2c]
mov dword [ebp - 0x1068], eax
cmp eax, 0xa00000
jle 0x42e633
mov dword [ebp - 0x1068], 0
jmp 0x42e685
mov dword [esi], 0x46464952
mov dword [esi + 4], eax
lea eax, [edi + edi]
mov dword [esi + 8], 0x45564157
mov dword [esi + 0xc], 0x20746d66
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x10001
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x2c]
push ecx
push dword [ebp - 0x1070]
mov dword [esi + 0x20], 0x100002
mov dword [esi + 0x24], 0x61746164
push eax
mov dword [esi + 0x28], ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0
lea eax, [ebp - 0x1064]
push eax
push 4
lea eax, [ebp - 0x1068]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x106c]
call sub.msvcrt.dll_free
push dword [ebp - 0x1070]
call sub.msvcrt.dll_free
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x14
lea eax, [ebp - 0x1064]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42e5d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004353e8
mov esp, ebp
pop ebp
ret
call fcn.004365c0
int3