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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503960
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x553948]
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 0x448a42
lea eax, [edi + 8]
jmp 0x448d02
mov ebx, eax
mov dword [ebp - 0x838], ebx
cmp dword [eax + 0x10], edi
jne 0x448a54
mov esi, dword [eax + 0x2c]
jmp 0x448a56
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 0x448a86
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 0x448d00
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.004e41d0
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.004e41d0
add esp, 0x18
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
cmp dword [ebp - 0x848], edi
je 0x448b94
mov eax, dword [ebp - 0x84c]
cmp eax, edi
je 0x448b94
lea ecx, [ebp - 0x840]
push ecx
push esi
mov dword [ebp - 0x840], edi
call eax
cmp eax, edi
je 0x448b94
mov edx, dword [ebp - 0x848]
cmp edx, dword [ebp - 0x840]
je 0x448b94
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 0x448a86
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 0x448b88
cmp dword [ebp - 0x83c], 0x410
jne 0x448d20
mov eax, dword [ebp - 0x830]
cmp eax, edi
je 0x448ca9
cmp eax, 3
je 0x448cac
cmp dword [ebp - 0x824], 0x400
ja 0x448ca9
push eax
mov ecx, ebx
call fcn.004489b0
cmp eax, edi
jne 0x448c0e
mov ecx, dword [ebp - 0x830]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], 0xffffffff
jmp 0x448c78
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 0x448c78
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 0x448a86
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 0x448a80
mov ecx, dword [ebp - 0x838]
cmp byte [ecx + 0xc], 0
jne 0x448a80
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 fcn.00401316
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x41c], 0xfffffffe
jmp 0x448b6d