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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5009f0
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
jne 0x444e12
lea eax, [edi + 8]
jmp 0x4450d2
mov ebx, eax
mov dword [ebp - 0x838], ebx
cmp dword [eax + 0x10], edi
jne 0x444e24
mov esi, dword [eax + 0x2c]
jmp 0x444e26
xor esi, esi
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x844], esi
mov dword [ebp - 0x850], ecx
mov dword [ebp - 0x848], edx
mov dword [ebp - 0x84c], eax
jmp 0x444e56
mov ebx, dword [ebp - 0x838]
mov ecx, dword [ebp - 0x850]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4450d0
push 0x400
lea edx, [ebp - 0x820]
push edi
push edx
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x824], edi
call fcn.004e15a0
push 0x400
lea eax, [ebp - 0x414]
push edi
push eax
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], edi
call fcn.004e15a0
add esp, 0x18
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
cmp dword [ebp - 0x848], edi
je 0x444f64
mov eax, dword [ebp - 0x84c]
cmp eax, edi
je 0x444f64
lea ecx, [ebp - 0x840]
push ecx
push esi
mov dword [ebp - 0x840], edi
call eax
cmp eax, edi
je 0x444f64
mov edx, dword [ebp - 0x848]
cmp edx, dword [ebp - 0x840]
je 0x444f64
mov eax, dword [ebp - 0x830]
push edi
lea ecx, [ebp - 0x83c]
push ecx
push 0x410
lea edx, [ebp - 0x830]
push edx
push esi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], 0xfffffffa
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 0x834]
push eax
push 0x40c
lea ecx, [ebp - 0x420]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x444e56
push edi
lea edx, [ebp - 0x83c]
push edx
push 0x410
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444f58
cmp dword [ebp - 0x83c], 0x410
jne 0x4450f0
mov eax, dword [ebp - 0x830]
cmp eax, edi
je 0x445079
cmp eax, 3
je 0x44507c
cmp dword [ebp - 0x824], 0x400
ja 0x445079
push eax
mov ecx, ebx
call fcn.00444d80
cmp eax, edi
jne 0x444fde
mov ecx, dword [ebp - 0x830]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], 0xffffffff
jmp 0x445048
push ebx
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x830]
push ecx
mov dword [ebp - 4], edi
call eax
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
jmp 0x445048
push edi
lea ecx, [ebp - 0x834]
push ecx
push 0x40c
lea edx, [ebp - 0x420]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x444e56
cmp eax, 3
sete bl
xor ecx, ecx
test bl, bl
setne cl
push edi
lea edx, [ebp - 0x834]
push edx
mov dword [ebp - 0x420], eax
push 0x40c
lea eax, [ebp - 0x420]
dec ecx
push eax
and ecx, 0xfffffffb
push esi
mov dword [ebp - 0x41c], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test bl, bl
je 0x444e50
mov ecx, dword [ebp - 0x838]
cmp byte [ecx + 0xc], 0
jne 0x444e50
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 - 0x14]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x41c], 0xfffffffe
jmp 0x444f3d