Function at 0x140106e10
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xf0
xor r12d, r12d
mov edi, r9d
mov r13, r8
mov rsi, rdx
mov r15, rcx
mov dword [rbp + 0x57], r12d
cmp dword [rcx + 0x34], r12d
je 0x140106e9c
cmp edi, 0x40000
jb 0x140106e9c
mov rcx, qword [rcx + 0x28]
lea rax, fcn.14000d290
mov qword [rbp - 0x71], rax
lea r9, [rbp - 0x79]
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x71]
mov qword [rbp - 0x61], r8
mov r8d, edi
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x69], r12
call fcn.14010502c
mov rdx, qword [rbp + 0x77]
mov ebx, eax
mov ecx, dword [rbp - 0x79]
add dword [rdx], ecx
jmp 0x14010705c
mov eax, 0x10000
mov dword [rbp - 0x61], edx
mov r14d, eax
mov qword [rbp - 0x59], r12
cmp edi, eax
mov rax, rdx
jmp 0x140106f78
mov rcx, qword [r15 + 0x28]
lea rax, [rbp - 0x71]
lea r9, [rbp + 0x57]
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r8d, r8d
mov r12d, eax
mov eax, r8d
mov dword [rbp - 0x79], eax
test r12d, r12d
jne 0x140106eef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x79], eax
xor r8d, r8d
cmp dword [r15 + 0x34], r8d
je 0x140106f24
test r12d, r12d
jne 0x140106f48
cmp eax, 0x3e5
jne 0x140106f29
mov rcx, qword [r15 + 0x28]
lea r9d, [r12 + 1]
lea r8, [rbp + 0x57]
lea rdx, [rbp - 0x71]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
xor r8d, r8d
test eax, eax
mov r12d, r8d
setne r12b
test r12d, r12d
jne 0x140106f48
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r8d, r8d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14010705c
mov ecx, dword [rbp + 0x57]
mov rax, qword [rbp + 0x77]
add rsi, rcx
add r13, rcx
add dword [rax], ecx
sub edi, ecx
je 0x14010705c
cmp r14d, ecx
jne 0x140106f9b
mov eax, 0x10000
mov dword [rbp - 0x61], esi
mov r14d, eax
mov qword [rbp - 0x59], r8
cmp edi, eax
mov rax, rsi
mov rcx, qword [rbp + 0x7f]
cmovb r14d, edi
shr rax, 0x20
mov dword [rbp - 0x5d], eax
call fcn.140104ce8
mov ebx, eax
test eax, eax
jns 0x140106eb5
jmp 0x14010705c
cmp dword [r15 + 0x34], r8d
lea rdx, vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
lea rax, [0x1402b5820]
mov word [rbp - 0x3f], r8w
mov qword [rbp - 0x51], rax
setne byte [rbp - 0x41]
lea rax, str.m_fOverlapped
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x49], rax
lea rax, str.cbData
mov qword [rbp - 0x31], rax
lea rax, str.lastErrorFromReadFile
mov qword [rbp - 0x19], rax
mov eax, dword [rbp - 0x79]
mov dword [rbp - 0x11], eax
lea rax, str.cbRead
mov qword [rbp - 1], rax
lea rax, str.dwChunkSize
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov dword [rbp - 0x29], edi
mov word [rbp - 0x25], r8w
mov qword [rbp - 0x21], rdx
mov word [rbp - 0xd], r8w
mov qword [rbp - 9], rdx
mov dword [rbp + 7], ecx
mov word [rbp + 0xb], r8w
mov qword [rbp + 0xf], rdx
mov dword [rbp + 0x1f], r14d
mov word [rbp + 0x23], r8w
call fcn.140107638
mov ebx, 0x8000ffff
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret