Function at 0x1400097d0
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x14010c080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0xf8], 0
je 0x140009833
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x48], rax
jmp 0x14000983c
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0xd0]
test eax, eax
je 0x14000985e
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], rax
jmp 0x140009867
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xe0]
add rax, 0xd8
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.14000630c
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xb0]
mov edx, 0x8000000
mov rcx, qword [rsp + 0x68]
call fcn.14005fa94
movzx eax, al
test eax, eax
jne 0x1400098e8
xor edx, edx
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0x58]
call fcn.14004577c
jmp 0x140009ae6
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0xf8], 0
je 0x14000993d
cmp qword [rsp + 0xa8], 0
je 0x14000993d
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rax, qword [rsp + 0xe0]
mov r8d, dword [rax + 0x100]
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rax + 0xf8]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0xd0]
test eax, eax
je 0x140009ac6
cmp qword [rsp + 0xa0], 0
je 0x140009ac6
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x5e], 1
mov ecx, 0x1000
call fcn.1400b67b0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
cmp eax, 1
je 0x140009a8c
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
mov r8d, 0x1000
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x1400099cf
jmp 0x140009a8c
cmp dword [rsp + 0xb8], 0
jne 0x140009a17
lea rdx, [rsp + 0xbc]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400099f8
jmp 0x140009a8c
cmp dword [rsp + 0xbc], 0x103
jne 0x140009a15
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140009988
jmp 0x140009a8c
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
mov r8d, 0x1000
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0xe0]
mov byte [rcx + 0x5d], al
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x5d]
test eax, eax
jne 0x140009a5e
jmp 0x140009a8c
mov rax, qword [rsp + 0xe0]
add rax, 0x68
mov rcx, rax
call fcn.140001400
mov r8d, dword [rsp + 0xb8]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.14000dd00
jmp 0x140009988
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400b65e8
cmp qword [rsp + 0x58], 0
jne 0x140009ab3
mov qword [rsp + 0x78], 0
jmp 0x140009ac6
mov qword [rsp + 0x40], 0x8123
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, 1
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0x58]
call fcn.14004577c
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b6680
add rsp, 0xd8
ret