Function at 0x1400af920
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
mov rdx, qword [rdx]
xor r15d, r15d
mov dword [rbp + 0x68], r15d
mov rsi, qword [rdx + 0x38]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x68]
mov r8d, esi
mov rdx, qword [rdx + 0x30]
mov rcx, qword [rcx + 0x290]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r14d, eax
lea r12, [0x140230540]
lea r13, vtable.std::exception.0
test ebx, ebx
jne 0x1400afafd
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], r15b
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140025820
nop
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], bl
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140025820
nop
mov dword [rsp + 0x30], 0x21
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x60], r13
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x58], r12
mov byte [rbp + 0x60], 1
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x58]
call fcn.14016495c
nop
lea rbx, vtable.RCF::Exception.0
mov qword [rbp - 0x60], rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.140016350
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x28]
call fcn.140016350
nop
mov eax, dword [rsp + 0x30]
mov dword [rbp - 8], eax
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.14006b2a0
mov dword [rbp + 0x18], r14d
mov dword [rbp + 0x1c], 1
mov byte [rbp + 0x20], r15b
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], r15b
lea rcx, [rsp + 0x38]
call fcn.1400675a0
nop
lea r9, [rbp - 0x60]
lea r8, str.RCF::Win32NamedPipeClientTransport::implWrite
mov edx, 0x21b
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumer_sdks_rcf2.2.0.0_src_rcfwin32namedpipeclienttransport.cpp
call fcn.1400a2260
nop
mov qword [rbp - 0x60], rbx
lea rcx, [rbp + 0x28]
call fcn.1400168e0
lea rcx, [rbp]
call fcn.1400675a0
lea rcx, [rbp - 0x28]
call fcn.1400168e0
lea rcx, [rbp - 0x48]
call fcn.1400168e0
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x58]
call fcn.1401649ec
nop
lea rcx, [rsp + 0x60]
call fcn.1400168e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400168e0
jmp 0x1400afb04
lea rbx, vtable.RCF::Exception.0
mov eax, dword [rbp + 0x68]
cmp eax, esi
jbe 0x1400afc62
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140025820
nop
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140025820
nop
mov dword [rsp + 0x30], 0x21
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x60], r13
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x58], r12
mov byte [rbp + 0x60], 1
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x58]
call fcn.14016495c
nop
mov qword [rbp - 0x60], rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x48]
call fcn.140016350
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x28]
call fcn.140016350
nop
mov eax, dword [rsp + 0x30]
mov dword [rbp - 8], eax
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.14006b2a0
mov dword [rbp + 0x18], r14d
mov dword [rbp + 0x1c], 1
mov byte [rbp + 0x20], 0
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
lea rcx, [rsp + 0x38]
call fcn.1400675a0
nop
lea r9, [rbp - 0x60]
lea r8, str.RCF::Win32NamedPipeClientTransport::implWrite
mov edx, 0x21e
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumer_sdks_rcf2.2.0.0_src_rcfwin32namedpipeclienttransport.cpp
call fcn.1400a2260
nop
mov qword [rbp - 0x60], rbx
lea rcx, [rbp + 0x28]
call fcn.1400168e0
lea rcx, [rbp]
call fcn.1400675a0
lea rcx, [rbp - 0x28]
call fcn.1400168e0
lea rcx, [rbp - 0x48]
call fcn.1400168e0
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x58]
call fcn.1401649ec
nop
lea rcx, [rbp - 0x80]
call fcn.1400168e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400168e0
mov eax, dword [rbp + 0x68]
test eax, eax
jne 0x1400afdbc
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], al
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140025820
nop
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140025820
nop
mov dword [rsp + 0x30], 0x21
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x60], r13
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x58], r12
mov byte [rbp + 0x60], 1
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x58]
call fcn.14016495c
nop
mov qword [rbp - 0x60], rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x48]
call fcn.140016350
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x28]
call fcn.140016350
nop
mov eax, dword [rsp + 0x30]
mov dword [rbp - 8], eax
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.14006b2a0
mov dword [rbp + 0x18], r14d
mov dword [rbp + 0x1c], 1
mov byte [rbp + 0x20], 0
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
lea rcx, [rsp + 0x38]
call fcn.1400675a0
nop
lea r9, [rbp - 0x60]
lea r8, str.RCF::Win32NamedPipeClientTransport::implWrite
mov edx, 0x220
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumer_sdks_rcf2.2.0.0_src_rcfwin32namedpipeclienttransport.cpp
call fcn.1400a2260
nop
mov qword [rbp - 0x60], rbx
lea rcx, [rbp + 0x28]
call fcn.1400168e0
lea rcx, [rbp]
call fcn.1400675a0
lea rcx, [rbp - 0x28]
call fcn.1400168e0
lea rcx, [rbp - 0x48]
call fcn.1400168e0
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x58]
call fcn.1401649ec
nop
lea rcx, [rbp - 0x80]
call fcn.1400168e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400168e0
mov eax, dword [rbp + 0x68]
cmp esi, eax
cmovb eax, esi
movsxd rdx, eax
add qword [rdi + 0x20], rdx
add qword [rdi + 0x30], rdx
mov rax, qword [rdi + 0xa8]
cmp qword [rdi + 0xa0], rax
jne 0x1400afde6
mov rcx, rdi
call fcn.140088c00
jmp 0x1400afdf0
mov rcx, qword [rax - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov eax, dword [rbp + 0x68]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret