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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2278
call fcn.1400f3f80
sub rsp, rax
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + Ordinal_8803], rax
mov dword [rsp + 0xe4], 0
mov rcx, qword [rsp + 0x2280]
call fcn.1400e5f90
movzx eax, al
test eax, eax
jne 0x1400e6a6d
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x69]
test eax, eax
jne 0x1400e6a66
call fcn.1400e1f80
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov edx, 0x99
mov rcx, qword [rsp + 0xa0]
call qword [rax + 0x30]
xor al, al
jmp 0x1400e70b6
mov qword [rsp + 0x40], 0xffffffffffffffff
mov rax, qword [rsp + 0x2290]
cmp qword [rax + 0x18], 8
jb 0x1400e6aa4
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x2290]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x1400e6ab1
mov rax, qword [rsp + 0x2290]
mov qword [rsp + 0x58], rax
mov r9, qword [rsp + 0x58]
lea r8, str.Client_sending__s_r_n
mov edx, 4
lea rcx, str.IPCPipe
call fcn.1400e3ba0
mov rax, qword [rsp + 0x2280]
mov eax, dword [rax + 0x6c]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1400e6c66
mov rax, qword [rsp + 0x2280]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 8
jb 0x1400e6b2b
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400e6b38
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0xe7
je 0x1400e6bde
cmp dword [rsp + 0x50], 0
jg 0x1400e6bde
cmp dword [rsp + 0x50], 0xffffffff
je 0x1400e6bde
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x69]
test eax, eax
jne 0x1400e6bcc
call fcn.1400e1f80
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov edx, 0x99
mov rcx, qword [rsp + 0xb8]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400e70b6
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1400e6c39
mov rax, qword [rsp + 0x2280]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 8
jb 0x1400e6c1f
mov rax, qword [rsp + reloc.mfc110u.dll_Ordinal_280]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x1400e6c29
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov edx, 0x4e20
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x1400e6c50
xor al, al
jmp 0x1400e70b6
cmp dword [rsp + 0x50], 0xffffffff
je 0x1400e6c61
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
jmp 0x1400e6add
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x1400e6c88
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400e70b6
mov dword [rsp + 0x70], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400e6cfb
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x69]
test eax, eax
jne 0x1400e6ce9
call fcn.1400e1f80
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov edx, 0x9a
mov rcx, qword [rsp + 0xa8]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400e70b6
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x1400e6d1d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400e70b6
mov rax, qword [rsp + 0x2288]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2288]
cmp qword [rax + 0x18], 8
jb 0x1400e6d65
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x2288]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
jmp 0x1400e6d75
mov rax, qword [rsp + 0x2288]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xd8]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xe8]
mov r8d, eax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400e6dfe
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x69]
test eax, eax
jne 0x1400e6dec
call fcn.1400e1f80
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400e70b6
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x1400e6e20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400e70b6
movzx eax, byte [rsp + 0x2298]
test eax, eax
jne 0x1400e6e56
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, str.Client_does_not_want_a_reply_r_n
mov edx, 4
lea rcx, str.IPCPipe
call fcn.1400e3ba0
mov al, 1
jmp 0x1400e70b6
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x130]
call fcn.1400034f0
nop
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x2002
jae 0x1400e6e90
jmp 0x1400e6e95
call fcn.1400f3e98
xor eax, eax
mov rcx, qword [rsp + 0xc0]
mov word [rsp + rcx + 0x250], ax
mov r8d, 0x2002
xor edx, edx
lea rcx, [rsp + 0x250]
call sub.MSVCR110.dll_memset
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xe0]
mov r8d, 0x2000
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400e6f03
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1400e6f03
jmp 0x1400e6fd8
mov eax, 2
imul rax, rax, 0x1000
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0x2002
jae 0x1400e6f27
jmp 0x1400e6f2c
call fcn.1400f3e98
xor eax, eax
mov rcx, qword [rsp + 0xd0]
mov word [rsp + rcx + 0x250], ax
lea rax, [rsp + 0x130]
test rax, rax
je 0x1400e6f61
lea rax, [rsp + 0x130]
add rax, 0x10
mov qword [rsp + 0xc8], rax
jmp 0x1400e6f6d
mov qword [rsp + 0xc8], 0
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0xc8]
call fcn.14000f7c0
mov rax, qword [rsp + 0x2280]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x1400e6fcd
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x1c8]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x1c8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x48]
jmp 0x1400e70b6
cmp dword [rsp + 0x4c], 0
je 0x1400e6ea7
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x130]
call fcn.140005c20
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x2290]
call fcn.14000fec0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x230]
call fcn.140004620
mov rax, qword [rsp + 0x2290]
cmp qword [rax + 0x18], 8
jb 0x1400e7050
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x2290]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x1400e7060
mov rax, qword [rsp + 0x2290]
mov qword [rsp + 0x98], rax
mov r9, qword [rsp + 0x98]
lea r8, str.Client_receving__s_r_n
mov edx, 4
lea rcx, str.IPCPipe
call fcn.1400e3ba0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x49], 1
lea rax, [rsp + 0x1c8]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x1c8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x49]
mov rcx, qword [rsp + 0x2260]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x2278
ret