Function at 0x1400b1020
Capabilities:
Write 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 + 0x240], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0xe8], rax
mov r13, rdx
mov r15, rcx
cmp qword [rcx + 0x210], 0
jne 0x1400b1136
call fcn.1400a2ac0
mov rcx, rax
mov r8d, 4
mov r14d, 1
mov edx, r14d
call fcn.1400a2b50
test al, al
je 0x1400b14f3
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::implWrite_const_class_std::vector_class_RCF::ByteBuffer_class_std::allocator_class_RCF::ByteBuffer_____
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x86
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 r12, vtable.RCF::VariableArgMacro_class_RCF::LogVarsFunctor_.0
mov qword [rbp - 0x68], r12
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], r12
lea rcx, [rbp - 0x68]
call fcn.140077000
jmp 0x1400b14f3
call fcn.1400a2ac0
mov rcx, rax
mov r8d, 4
mov r14d, 1
mov edx, r14d
call fcn.1400a2b50
test al, al
je 0x1400b1299
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::implWrite_const_class_std::vector_class_RCF::ByteBuffer_class_std::allocator_class_RCF::ByteBuffer_____
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x8a
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 r12, vtable.RCF::VariableArgMacro_class_RCF::LogVarsFunctor_.0
mov qword [rbp + 0x18], r12
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 rsi, qword [rax + 0x70]
mov rcx, r13
call fcn.14007f740
mov rdi, rax
mov rbx, qword [rsi + 0x10]
lea rdx, str.RCF::lengthByteBuffers_buffers_
mov rcx, rbx
call fcn.1400c0c20
lea rdx, [0x14024186c]
mov rcx, rbx
call fcn.1400c0c20
mov rbx, qword [rsi + 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, rdi
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 [rsi + 0x10]
call fcn.1400c0c20
mov rax, qword [rsi + 0x78]
lea rdx, str.Win32NamedPipeNetworkSession___calling_WriteFile__.
mov rcx, qword [rax + 0x68]
call fcn.1400c0c20
nop
mov qword [rbp + 0x18], r12
lea rcx, [rbp + 0x18]
call fcn.140077000
lea rdx, [rbp - 0x78]
mov rcx, r15
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 0x1400b12bf
lock inc dword [rcx + 8]
mov rbx, qword [rax + 8]
mov esi, 0xffffffff
test rbx, rbx
je 0x1400b12f8
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b12f8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b12f8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [r15 + 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 0x1400b132e
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 0x1400b135b
lock inc dword [rcx + 8]
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0xa0]
call fcn.1400d4500
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400b13a2
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b13a2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b13a2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400b13d7
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b13d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b13d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rdx, qword [r13]
xor r12d, r12d
mov dword [rbp + 0x98], r12d
mov rax, qword [r15 + 0x210]
mov rdi, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x98]
mov r8d, dword [rdx + 0x38]
mov rdx, qword [rdx + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test ebx, ebx
jne 0x1400b142b
cmp eax, 0x3e5
je 0x1400b1434
cmp eax, 0xea
je 0x1400b1434
cmp dword [rbp + 0x98], r12d
je 0x1400b144a
test rdi, rdi
je 0x1400b14b7
mov rdx, rdi
mov rcx, qword [rbp + 0xa8]
call fcn.140078140
jmp 0x1400b14b7
mov rbx, qword [rbp + 0xa8]
test rdi, rdi
je 0x1400b14c4
mov dword [rdi + 0x30], r14d
mov qword [rdi], r12
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], r12d
mov r9, rdi
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400b14b7
lea rcx, [rbx + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov qword [rdi + 0x20], r12
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x1400b149b
mov qword [rax + 0x20], rdi
jmp 0x1400b14a2
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x90], rdi
xchg dword [rbx + 0x50], r14d
lea rcx, [rbx + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbx, r12
mov rdi, r12
mov qword [rbp + 0xa8], rbx
test rdi, rdi
je 0x1400b14f3
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov r8, r12
mov rdx, rdi
xor ecx, ecx
call qword [rdi + 0x28]
lock xadd dword [rbx + 0x30], esi
cmp esi, 1
jne 0x1400b14f3
mov rcx, qword [rbp + 0xa8]
call fcn.140077fe0
nop
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret