Function at 0x1401b3c40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x218], rbx
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r12, r8
mov r13, rdx
mov r14, rcx
cmp qword [rcx + 0x218], 0
jne 0x1401b3d2e
call fcn.14018b4b0
mov rcx, rax
mov r8d, 4
call fcn.14018b560
test al, al
je 0x1401b4073
lea rax, str.void___cdecl_RCF::Win32NamedPipeNetworkSession::implRead_char__unsigned___int64_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4a
lea r9, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeservertransport.cpp
mov r8d, 4
lea rcx, [rsp + 0x68]
call fcn.1401c1fe0
nop
mov r15d, 1
mov dword [rsp + 0x20], r15d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rax
call fcn.1402220e4
mov rcx, qword [rax + 0x70]
lea rdx, str.Win32NamedPipeNetworkSession___connection_has_been_closed.
mov rcx, qword [rcx + 0x68]
call fcn.14005eb60
nop
lea rax, vtable.RCF::VariableArgMacro_class_RCF::LogVarsFunctor_.0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.1401781c0
jmp 0x1401b4073
call fcn.14018b4b0
mov rcx, rax
mov r8d, 4
call fcn.14018b560
mov r15d, 1
test al, al
je 0x1401b3e50
lea rax, str.void___cdecl_RCF::Win32NamedPipeNetworkSession::implRead_char__unsigned___int64_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4e
lea r9, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeservertransport.cpp
lea r8d, [r15 + 3]
lea rcx, [rbp - 0x18]
call fcn.1401c1fe0
nop
mov dword [rsp + 0x20], r15d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rax
call fcn.1402220e4
mov rdi, qword [rax + 0x70]
mov rbx, qword [rdi + 0x10]
lea rdx, str.bufferLen
mov rcx, rbx
call fcn.14005eb60
lea rdx, [0x1403664bc]
mov rcx, rbx
call fcn.14005eb60
mov rbx, qword [rdi + 0x10]
xor eax, eax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], ax
mov r8, r12
lea rdx, str._llu
lea rcx, [rbp + 0x80]
call fcn.140173a10
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.14005eb60
lea rdx, [0x140366584]
mov rcx, qword [rdi + 0x10]
call fcn.14005eb60
mov rax, qword [rdi + 0x78]
lea rdx, str.Win32NamedPipeNetworkSession___calling_ReadFile__.
mov rcx, qword [rax + 0x68]
call fcn.14005eb60
nop
lea rax, vtable.RCF::VariableArgMacro_class_RCF::LogVarsFunctor_.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.1401781c0
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1401793f0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1401b3e6e
lock inc dword [rbx + 8]
mov rbx, qword [rax + 8]
mov rdi, qword [rax]
mov esi, 0xffffffff
test rbx, rbx
je 0x1401b3eb3
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401b3eb3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004487d.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401b3eb3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov rax, qword [r14 + 0x218]
mov rcx, qword [rax]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
movdqu xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x30]
mov rdx, qword [rcx + 0x18]
lea rcx, [rbp + 0x70]
call fcn.1401ce080
nop
mov dword [rbp + 0x68], 0
mov rax, qword [r14 + 0x218]
mov rbx, qword [rbp + 0x70]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x68]
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r13d, eax
xor edi, edi
xor r14d, r14d
test eax, eax
jne 0x1401b3f37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0x3e5
je 0x1401b3f37
cmp eax, 0xea
cmovne edi, eax
cmp dword [rbp + 0x68], 0
jne 0x1401b4039
test r13d, r13d
je 0x1401b3f4b
test r12, r12
jmp 0x1401b3f4d
test edi, edi
je 0x1401b4039
mov edx, 0x10
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rdi, [0x140467878]
mov eax, dword [rdx + rcx]
cmp dword [0x140467838], eax
jle 0x1401b3fb8
lea rcx, [0x140467838]
call fcn.140202ac8
cmp dword [0x140467838], 0xffffffff
jne 0x1401b3fb8
mov qword [0x140467880], rdi
lea rax, vtable.asio::detail::system_category.0
mov qword [0x140467878], rax
lea rcx, [0x14029b470]
call fcn.140202ed0
lea rcx, [0x140467838]
call fcn.140202a68
test rbx, rbx
je 0x1401b4033
mov dword [rbx + 0x30], r15d
mov qword [rbx], rdi
mov dword [rbx + 0x10], r14d
xor r12d, r12d
mov dword [rbx + 0x14], r12d
mov r9, rbx
xor edx, edx
lea r8d, [r12 + 2]
mov rdi, qword [rbp + 0x78]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1401b4027
lea rcx, [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], r12
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x1401b400b
mov qword [rax + 0x20], rbx
jmp 0x1401b4012
mov qword [rdi + 0x90], rbx
mov qword [rdi + 0x98], rbx
xchg dword [rdi + 0x58], r15d
lea rcx, [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, r12
mov qword [rbp + 0x78], r12
mov rbx, r12
jmp 0x1401b4052
mov rdi, qword [rbp + 0x78]
jmp 0x1401b4052
test rbx, rbx
je 0x1401b404a
mov rdx, rbx
mov rcx, qword [rbp + 0x78]
call fcn.140175730
xor edi, edi
mov qword [rbp + 0x78], rdi
xor ebx, ebx
test rbx, rbx
je 0x1401b4073
mov rcx, rbx
call fcn.140174d80
lock xadd dword [rdi + 0x30], esi
cmp esi, 1
jne 0x1401b4073
mov rcx, qword [rbp + 0x78]
call fcn.140175520
nop
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x218]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret