Function at 0x4053f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f2696
mov eax, dword fs:[0]
push eax
mov eax, 0x40050
call fcn.004bbbb0
mov eax, dword [0x53de10]
xor eax, esp
mov dword [esp + 0x40048], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53de10]
xor eax, esp
push eax
lea eax, [esp + 0x40064]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov byte [esp + 0x1b], bl
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
push 0xf
push str..pipeezPDF_
lea eax, [esp + 0x48]
mov dword [esp + 0x40074], ebx
call fcn.0040b690
mov eax, dword [esp + 0x40074]
push eax
lea ecx, [esp + 0x28]
call fcn.004171f0
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x48]
mov byte [esp + 0x40074], 1
call fcn.0040b5a0
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x4054a0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004b8c4b
add esp, 4
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x4054ae
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
cmp eax, 1
jne 0x40568f
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x4054ce
lea eax, [esp + 0x44]
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40565b
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4054f0
push ebx
sub eax, edx
lea edx, [esp + 0x20]
push edx
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405601
cmp dword [esp + 0x1c], ebx
je 0x405601
push 0x3ffff
lea eax, [esp + 0x61]
push ebx
push eax
mov byte [esp + 0x68], bl
call fcn.004bbbe0
add esp, 0xc
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0x40000
lea edx, [esp + 0x68]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4055a1
push 0x200
push ebx
push 0x54b218
call fcn.004bbbe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR__process_launchcheck_PIPE_Read____code__d_n
push 0x54b218
call fcn.004b913a
mov eax, dword [esp + 0x40080]
add esp, 0xc
push eax
call fcn.004041a0
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x40]
call fcn.00401830
xor al, al
jmp 0x4056a6
xor edx, edx
mov edi, str.TRUE
lea esi, [esp + 0x5c]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
sete al
cmp al, bl
mov byte [esp + 0x1b], al
jne 0x4055f0
push 0x200
push ebx
push 0x54b218
call fcn.004bbbe0
add esp, 0xc
push str.ERROR__process_launchcheck_PIPE_Read____NOT_TRUE_n
push 0x54b218
call fcn.004b913a
mov eax, dword [esp + 0x4007c]
push eax
call fcn.004041a0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x10
jmp 0x40568f
push 0x200
push ebx
push 0x54b218
call fcn.004bbbe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR__process_launchcheck_PIPE_Write____code__d_n
push 0x54b218
call fcn.004b913a
mov ecx, dword [esp + 0x40080]
add esp, 0xc
push ecx
call fcn.004041a0
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x58], esi
jb 0x405657
mov edx, dword [esp + 0x44]
push edx
call fcn.004b8c4b
add esp, 4
xor al, al
jmp 0x4056a6
push 0x200
push ebx
push 0x54b218
call fcn.004bbbe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0x40078]
push eax
push str.ERROR__process_launchcheck_PIPE_Create____pid__d__code__d_n
push 0x54b218
call fcn.004b913a
add esp, 0x10
cmp dword [esp + 0x58], esi
jb 0x4056a2
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004b8c4b
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x40064]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40048]
xor ecx, esp
call fcn.004b883d
add esp, 0x4005c
ret