Function at 0x1401b2ae0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
mov rdx, qword [rdx]
xor r15d, r15d
mov dword [rbp - 8], r15d
mov rsi, qword [rdx + 0x38]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 8]
mov r8d, esi
mov rdx, qword [rdx + 0x30]
mov rcx, qword [rcx + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
lea r12, vtable.RCF::Exception.0
lea r13, vtable.std::exception.0
test ebx, ebx
jne 0x1401b2c69
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r15b
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x50]
call fcn.14005e050
nop
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], bl
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x70]
call fcn.14005e050
nop
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.140176890
nop
mov dword [rsp + 0x30], 0x21
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x58], r15d
movdqa xmm0, xmmword [0x1403a9ab0]
movdqa xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], al
mov byte [rbp - 0x80], al
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401876b0
nop
lea r9, [rsp + 0x40]
lea r8, str.RCF::Win32NamedPipeClientTransport::implWrite
mov edx, 0x210
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x60]
call fcn.140046190
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x48]
call fcn.14022172c
nop
lea rcx, [rbp - 0x30]
call fcn.140046190
nop
lea rcx, [rbp - 0x70]
call fcn.140046190
nop
lea rcx, [rbp - 0x50]
call fcn.140046190
mov eax, dword [rbp - 8]
cmp eax, esi
jbe 0x1401b2d7c
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x70]
call fcn.14005e050
nop
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x50]
call fcn.14005e050
nop
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.140176890
nop
mov dword [rsp + 0x30], 0x21
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x58], r15d
movdqa xmm0, xmmword [0x1403a9ab0]
movdqa xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], al
mov byte [rbp - 0x80], al
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401876b0
nop
lea r9, [rsp + 0x40]
lea r8, str.RCF::Win32NamedPipeClientTransport::implWrite
mov edx, 0x213
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x60]
call fcn.140046190
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x48]
call fcn.14022172c
nop
lea rcx, [rbp - 0x30]
call fcn.140046190
nop
lea rcx, [rbp - 0x50]
call fcn.140046190
nop
lea rcx, [rbp - 0x70]
call fcn.140046190
mov eax, dword [rbp - 8]
test eax, eax
jne 0x1401b2e8b
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], al
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x70]
call fcn.14005e050
nop
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x50]
call fcn.14005e050
nop
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.140176890
nop
mov dword [rsp + 0x30], 0x21
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x58], r15d
movdqa xmm0, xmmword [0x1403a9ab0]
movdqa xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], al
mov byte [rbp - 0x80], al
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401876b0
nop
lea r9, [rsp + 0x40]
lea r8, str.RCF::Win32NamedPipeClientTransport::implWrite
mov edx, 0x215
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x60]
call fcn.140046190
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x48]
call fcn.14022172c
nop
lea rcx, [rbp - 0x30]
call fcn.140046190
nop
lea rcx, [rbp - 0x50]
call fcn.140046190
nop
lea rcx, [rbp - 0x70]
call fcn.140046190
mov eax, dword [rbp - 8]
cmp esi, eax
cmovb eax, esi
movsxd rdx, eax
add qword [rdi + 0x28], rdx
add qword [rdi + 0x38], rdx
mov rax, qword [rdi + 0x88]
cmp qword [rdi + 0x80], rax
jne 0x1401b2eb5
mov rcx, rdi
call fcn.140184fa0
jmp 0x1401b2ec6
mov rcx, qword [rax - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x14004487d.0]
mov eax, dword [rbp - 8]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret