Function at 0x1400b0b00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x248], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0xe8], rax
mov r12, r8
mov r13, rdx
mov rsi, rcx
cmp qword [rcx + 0x210], 0
jne 0x1400b0c19
call fcn.1400a2ac0
mov rcx, rax
mov r8d, 4
mov r14d, 1
mov edx, r14d
call fcn.1400a2b50
test al, al
je 0x1400b0fe7
lea rcx, [rbp - 0x68]
call fcn.1400a32b0
nop
lea rax, vtable.RCF::LogVarsFunctor.0
mov qword [rbp - 0x68], rax
lea rax, str.void___cdecl_RCF::Win32NamedPipeNetworkSession::implRead_char__unsigned___int64_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x47
lea r9, str.d:jenkinsworkspacemainrel4_dell_12818consumer_sdks_rcf2.2.0.0_src_rcfwin32namedpipeservertransport.cpp
lea r8d, [r14 + 3]
mov edx, r14d
lea rcx, [rbp - 0x38]
call fcn.1400a2c30
nop
lea r15, vtable.RCF::VariableArgMacro_class_RCF::LogVarsFunctor_.0
mov qword [rbp - 0x68], r15
lea rax, [rbp - 0x68]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x68]
mov qword [rbp + 0x10], rax
mov dword [rsp + 0x20], r14d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.140165104
mov rcx, qword [rax + 0x70]
lea rdx, str.Win32NamedPipeNetworkSession___connection_has_been_closed.
mov rcx, qword [rcx + 0x68]
call fcn.1400c0c20
nop
mov qword [rbp - 0x68], r15
lea rcx, [rbp - 0x68]
call fcn.140077000
jmp 0x1400b0fe7
call fcn.1400a2ac0
mov rcx, rax
mov r8d, 4
mov r14d, 1
mov edx, r14d
call fcn.1400a2b50
test al, al
je 0x1400b0d71
lea rcx, [rbp + 0x18]
call fcn.1400a32b0
nop
lea rax, vtable.RCF::LogVarsFunctor.0
mov qword [rbp + 0x18], rax
lea rax, str.void___cdecl_RCF::Win32NamedPipeNetworkSession::implRead_char__unsigned___int64_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4b
lea r9, str.d:jenkinsworkspacemainrel4_dell_12818consumer_sdks_rcf2.2.0.0_src_rcfwin32namedpipeservertransport.cpp
lea r8d, [r14 + 3]
mov edx, r14d
lea rcx, [rbp + 0x48]
call fcn.1400a2c30
nop
lea r15, vtable.RCF::VariableArgMacro_class_RCF::LogVarsFunctor_.0
mov qword [rbp + 0x18], r15
lea rax, [rbp + 0x18]
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x90], rax
mov dword [rsp + 0x20], r14d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
lea rcx, [rbp + 0x18]
call fcn.140165104
mov rdi, qword [rax + 0x70]
mov rbx, qword [rdi + 0x10]
lea rdx, str.bufferLen
mov rcx, rbx
call fcn.1400c0c20
lea rdx, [0x14024186c]
mov rcx, rbx
call fcn.1400c0c20
mov rbx, qword [rdi + 0x10]
xor eax, eax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov word [rbp + 0xe0], ax
mov r8, r12
lea rdx, str._llu
lea rcx, [rbp + 0xb0]
call fcn.140049af0
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call fcn.1400c0c20
lea rdx, [0x140241868]
mov rcx, qword [rdi + 0x10]
call fcn.1400c0c20
mov rax, qword [rdi + 0x78]
lea rdx, str.Win32NamedPipeNetworkSession___calling_ReadFile__.
mov rcx, qword [rax + 0x68]
call fcn.1400c0c20
nop
mov qword [rbp + 0x18], r15
lea rcx, [rbp + 0x18]
call fcn.140077000
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.14007c230
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400b0d97
lock inc dword [rcx + 8]
mov rbx, qword [rax + 8]
mov edi, 0xffffffff
test rbx, rbx
je 0x1400b0dd0
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b0dd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b0dd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x210]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x18]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b0e06
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa0], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x1400b0e33
lock inc dword [rcx + 8]
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call fcn.1400d4350
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400b0e7a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b0e7a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b0e7a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400b0eaf
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b0eaf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b0eaf
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov dword [rbp + 0x98], 0
mov rax, qword [rsi + 0x210]
mov rbx, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x98]
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r15d, eax
xor r13d, r13d
mov esi, r13d
mov eax, r13d
test r15d, r15d
jne 0x1400b0f09
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400b0f09
cmp eax, 0xea
cmovne esi, eax
cmp dword [rbp + 0x98], r13d
jne 0x1400b0f97
test r15d, r15d
je 0x1400b0f20
test r12, r12
jmp 0x1400b0f22
test esi, esi
je 0x1400b0f97
mov rsi, qword [rbp + 0xa8]
test rbx, rbx
je 0x1400b0fb8
mov dword [rbx + 0x30], r14d
mov qword [rbx], r13
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], r13d
mov r9, rbx
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400b0fab
lea rcx, [rsi + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov qword [rbx + 0x20], r13
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x1400b0f79
mov qword [rax + 0x20], rbx
jmp 0x1400b0f80
mov qword [rsi + 0x88], rbx
mov qword [rsi + 0x90], rbx
xchg dword [rsi + 0x50], r14d
lea rcx, [rsi + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
jmp 0x1400b0fab
test rbx, rbx
je 0x1400b0fab
mov rdx, rbx
mov rcx, qword [rbp + 0xa8]
call fcn.140078140
mov rbx, r13
mov qword [rbp + 0xa8], r13
mov rsi, r13
test rbx, rbx
je 0x1400b0fe7
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov r8, r13
mov rdx, rbx
xor ecx, ecx
call qword [rbx + 0x28]
lock xadd dword [rsi + 0x30], edi
cmp edi, 1
jne 0x1400b0fe7
mov rcx, qword [rbp + 0xa8]
call fcn.140077fe0
nop
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x248]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret