Function at 0x1401b1e70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, rdx
mov rsi, rcx
mov rdi, qword [rdx + 0x38]
cmp rdi, r8
cmovae rdi, r8
mov rcx, qword [rcx + 0x278]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
lea r13, vtable.RCF::Exception.0
xor r12d, r12d
test ebx, ebx
jne 0x1401b1fee
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], r12b
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], bl
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x50]
call fcn.14005e050
nop
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.140176890
nop
mov dword [rsp + 0x30], 0x4b
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x58], r12d
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::implRead
mov edx, 0x153
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x60]
call fcn.140046190
lea r15, vtable.std::exception.0
mov qword [rsp + 0x40], r15
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
jmp 0x1401b1ff5
lea r15, vtable.std::exception.0
mov qword [rbp - 8], r12
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov rax, qword [rsi + 0x278]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], r12d
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x18]
mov r8d, edi
mov rdx, qword [r14 + 0x30]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
jne 0x1401b215b
cmp eax, 0x3e5
je 0x1401b215b
cmp eax, 0xea
je 0x1401b215b
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
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], bl
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x50]
call fcn.14005e050
nop
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.140176890
nop
mov dword [rsp + 0x30], 0x1f
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x58], r12d
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::implRead
mov edx, 0x169
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x60]
call fcn.140046190
mov qword [rsp + 0x40], r15
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
call fcn.14019d4f0
mov r14, qword [rax + 8]
cmp qword [rax], r14
je 0x1401b216f
mov r14, qword [r14 - 8]
jmp 0x1401b2172
mov r14, r12
mov ebx, dword [rsi + 0x78]
call fcn.1401960b0
sub ebx, eax
mov edi, r12d
cmp ebx, 0xe6666661
cmovbe edi, ebx
call fcn.1401960b0
mov ecx, dword [r14 + 0x628]
mov edx, ecx
sub edx, eax
mov r9d, 0xffffffff
test ecx, ecx
cmovne r9d, edx
mov ecx, dword [r14 + 0x62c]
mov r8d, ecx
sub r8d, eax
mov edx, 0xffffffff
test ecx, ecx
cmovne edx, r8d
cmp edx, r9d
cmovae edx, r9d
cmp edi, edx
cmovb edx, edi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
je 0x1401b22f2
cmp edi, 0x102
je 0x1401b22f2
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], shutdown
mov byte [rbp - 0x70], 0
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x70]
call fcn.14005e050
nop
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], shutdown
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x30]
call fcn.14005e050
nop
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.140176890
nop
mov dword [rsp + 0x30], 0x4b
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], shutdown
mov byte [rsp + 0x60], al
mov byte [rbp - 0x80], al
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401876b0
nop
lea r9, [rsp + 0x40]
lea r8, str.RCF::Win32NamedPipeClientTransport::implRead
mov edx, 0x179
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x60]
call fcn.140046190
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x48]
call fcn.14022172c
nop
lea rcx, [rbp - 0x50]
call fcn.140046190
nop
lea rcx, [rbp - 0x30]
call fcn.140046190
nop
lea rcx, [rbp - 0x70]
call fcn.140046190
mov ebx, dword [rsi + 0x78]
call fcn.1401960b0
sub ebx, eax
mov eax, r12d
cmp ebx, 0xe6666661
cmovbe eax, ebx
test eax, eax
jne 0x1401b2429
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], shutdown
mov byte [rbp - 0x50], al
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x50]
call fcn.14005e050
nop
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], shutdown
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x30]
call fcn.14005e050
nop
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], shutdown
mov byte [rbp - 0x70], 0
xor r8d, r8d
lea rdx, [0x14032847b]
lea rcx, [rbp - 0x70]
call fcn.14005e050
nop
mov dword [rsp + 0x30], 0x1e
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], shutdown
mov byte [rsp + 0x60], al
mov byte [rbp - 0x80], al
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401876b0
nop
lea r9, [rsp + 0x40]
lea r8, str.RCF::Win32NamedPipeClientTransport::implRead
mov edx, 0x17d
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x60]
call fcn.140046190
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x48]
call fcn.14022172c
nop
lea rcx, [rbp - 0x70]
call fcn.140046190
nop
lea rcx, [rbp - 0x30]
call fcn.140046190
nop
lea rcx, [rbp - 0x50]
call fcn.140046190
cmp edi, 0x102
jne 0x1401b2440
xor edx, edx
mov rcx, r14
call fcn.14017ff40
jmp 0x1401b2172
mov dword [rbp + 0x18], r12d
xor r9d, r9d
lea r8, [rbp + 0x18]
lea rdx, [rbp - 8]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x1401b2475
mov edx, dword [rbp + 0x18]
test edx, edx
jne 0x1401b257c
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, edi
lea rcx, [rbp - 0x30]
call fcn.140176890
nop
mov dword [rsp + 0x30], 0x4b
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x58], r12d
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::implRead
mov edx, 0x189
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumer_sdks_rcf3.2.413_src_rcfwin32namedpipeclienttransport.cpp
call fcn.14019fb10
nop
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x60]
call fcn.140046190
mov qword [rsp + 0x40], r15
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 edx, dword [rbp + 0x18]
xor r8d, r8d
mov rcx, rsi
call fcn.140182fc0
mov eax, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret