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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434266
mov eax, dword fs:[0]
push eax
mov eax, 0x5680
call fcn.004280d0
mov eax, dword [0x440100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x5684], eax
movups xmmword [ebp - 0x5660], xmm0
mov dword [ebp - 0x5650], 0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x568c], ecx
mov ecx, edx
mov dword [ebp - 0x564c], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fe60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5660]
call fcn.00404fc0
mov dword [ebp - 4], 0
call sub.msvcrt.dll__errno
cmp dword [ebp - 0x564c], 7
lea esi, [ebp - 0x5660]
mov edi, eax
lea eax, [ebp - 0x567c]
cmova esi, dword [ebp - 0x5660]
push 0xa
push eax
push esi
mov dword [edi], 0
call sub.msvcrt.dll_wcstol
add esp, 0xc
mov dword [ebp - 0x5688], eax
cmp esi, dword [ebp - 0x567c]
je 0x4201cc
cmp dword [edi], 0x22
je 0x4201d6
mov ecx, dword [ebp - 0x564c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x41ff18
mov edx, dword [ebp - 0x5660]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ff0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4201e0
push ecx
push edx
call fcn.0042799b
add esp, 8
mov edi, dword [ebp - 0x5684]
push 0
push 0xffffffffffffffff
push 0xffff
push 0xffff
push 0xff
push 6
push 3
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push dword [edi + 8]
mov esi, eax
push 0
push 0
push 0x440ad4
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push 0
lea eax, [ebp - 0x5680]
mov edi, 1
push eax
push 4
lea eax, [ebp - 0x567c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4201af
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x5680]
push eax
push 0x4e20
lea eax, [ebp - 0x5630]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4201af
xorps xmm0, xmm0
mov dword [ebp - 0x5668], 0
lea ecx, [ebp - 0x5630]
mov dword [ebp - 0x5664], 0
movups xmmword [ebp - 0x5678], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ffe0
sub ecx, edx
lea eax, [ebp - 0x5630]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5678]
call fcn.00404fc0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 1
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x5684]
push edi
push dword [eax + 0xc]
lea eax, [ebp - 0x810]
push 0x437ce8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
mov dword [ebp - 0x5638], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x5634], 0
add esp, 0x1c
lea edx, [ecx + 2]
movups xmmword [ebp - 0x5648], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420062
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5648]
call fcn.00404fc0
lea eax, [ebp - 0x5648]
mov byte [ebp - 4], 2
push eax
push 0x64
push dword [ebp - 0x567c]
lea eax, [ebp - 0x5678]
push dword [ebp - 0x5688]
push dword [ebp - 0x568c]
push eax
call fcn.0041fa60
lea eax, [ebp - 0x810]
add esp, 0x18
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4200c0
sub eax, edx
lea ecx, [ebp - 0x5680]
push 0
sar eax, 1
push ecx
add eax, eax
push eax
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x5634]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x42012d
mov edx, dword [ebp - 0x5648]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420123
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4201e0
push ecx
push edx
call fcn.0042799b
add esp, 8
mov ecx, dword [ebp - 0x5664]
xor eax, eax
mov dword [ebp - 0x5638], 0
mov dword [ebp - 0x5634], 7
mov word [ebp - 0x5648], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x42018d
mov edx, dword [ebp - 0x5678]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420183
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4201e0
push ecx
push edx
call fcn.0042799b
add esp, 8
push 0
lea eax, [ebp - 0x5680]
inc edi
push eax
push 4
lea eax, [ebp - 0x567c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ff90
xor eax, eax
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.00427958
mov esp, ebp
pop ebp
ret
push str.invalid_stoi_argument
call fcn.00425f7a
push str.stoi_argument_out_of_range
call fcn.00425fba
call fcn.00428a50
int3