Function at 0x1401ab980
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push r12
push r13
push r15
sub rsp, 0x58
xor ebp, ebp
mov r12, r9
cmp byte [0x14022ea51], bpl
mov r10, r8
mov r11, rdx
mov qword [rsp + 0x40], rbp
mov r13, rcx
mov r15d, ebp
jne 0x1401ab9c6
cmp byte [0x14022ea5d], bpl
je 0x1401ab9c6
mov eax, ebp
add rsp, 0x58
pop r15
pop r13
pop r12
pop rbp
ret
mov r9, qword [rcx + 0x10]
mov r8, rbp
mov qword [rsp + 0x98], rdi
mov rdi, rbp
test r9, r9
je 0x1401aba0e
mov rax, qword [rcx + 0x18]
add rax, 0x18
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x1401aba08
lea rdx, [rcx + r8]
cmp r10, rdx
jb 0x1401aba08
inc rdi
add rax, 0x20
mov r8, rdx
cmp rdi, r9
jb 0x1401ab9e5
jmp 0x1401aba0e
mov r15, r10
sub r15, r8
test r12, r12
je 0x1401abc9c
mov qword [rsp + 0x80], rbx
movabs r8, 0x8000000000000000
mov qword [rsp + 0x50], r14
mov r14, rdi
shl r14, 5
mov qword [rsp + 0x90], rsi
nop dword [rax]
cmp rdi, qword [r13 + 0x10]
jae 0x1401abbff
mov rdx, qword [r13 + 0x18]
mov rcx, qword [rdx + r14 + 0x10]
add rcx, r15
cmp rcx, r8
jae 0x1401abbf0
mov rcx, qword [r11 + 0x30]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx + r14 + 8]
mov rcx, qword [rcx + 0x1230]
call fcn.1400050b0
test eax, eax
js 0x1401abbd5
mov rcx, qword [rsp + 0x40]
xor edx, edx
call fcn.140005f20
mov ebx, eax
test eax, eax
js 0x1401abb83
mov rcx, qword [r13 + 0x18]
xor r8d, r8d
mov rdx, qword [r14 + rcx + 0x10]
mov ecx, eax
add rdx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
test rax, rax
js 0x1401abb68
mov rcx, qword [r13 + 0x18]
mov rsi, qword [r14 + rcx + 0x18]
mov ecx, ebx
sub rsi, r15
mov r15, qword [rsp + 0xa0]
cmp rsi, r12
mov rdx, r15
cmovae rsi, r12
mov r8d, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
test eax, eax
js 0x1401abb4d
cmp rcx, rsi
jae 0x1401abafc
mov r8, rsi
xor edx, edx
sub r8, rcx
add rcx, r15
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x40]
call fcn.140050c40
mov ecx, ebx
mov qword [rsp + 0x40], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov r11, qword [rsp + 0x88]
add r15, rsi
inc rdi
mov qword [rsp + 0xa0], r15
add r14, 0x20
mov r15, rbp
mov ebx, 0xffffffff
movabs r8, 0x8000000000000000
sub r12, rsi
jne 0x1401aba40
jmp 0x1401abc51
lea rax, str.read_error_in_external_raw_data_file
mov r9d, 0x130
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022b5b0]
jmp 0x1401abb9c
lea rax, str.unable_to_seek_in_external_raw_data_file
mov r9d, 0x127
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022b5a8]
jmp 0x1401abb9c
lea rax, str.unable_to_open_external_raw_data_file
mov r9d, 0x125
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022b770]
mov qword [rsp + 0x30], rax
lea r8, str.H5D__efl_read
mov rax, qword [0x14022b510]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Defl.c
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rax, qword [0x14022b488]
mov qword [rsp + 0x20], rax
call fcn.140050180
mov ebp, 0xffffffff
jmp 0x1401abc51
lea rax, str.cant_build_external_file_name
mov r9d, 0x123
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022b5d8]
jmp 0x1401abc18
lea rax, str.external_file_address_overflowed
mov r9d, 0x121
jmp 0x1401abc0c
lea rax, str.read_past_logical_end_of_file
mov r9d, 0x11f
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022b5c8]
mov qword [rsp + 0x30], rax
lea r8, str.H5D__efl_read
mov rax, qword [0x14022b510]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Defl.c
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rax, qword [0x14022b488]
mov qword [rsp + 0x20], rax
call fcn.140050180
mov ebp, 0xffffffff
mov ebx, ebp
mov rcx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x90]
test rcx, rcx
je 0x1401abc72
call fcn.140050c40
mov qword [rsp + 0x40], rax
test ebx, ebx
js 0x1401abc7e
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov rbx, qword [rsp + 0x80]
mov eax, ebp
mov rdi, qword [rsp + 0x98]
add rsp, 0x58
pop r15
pop r13
pop r12
pop rbp
ret
mov eax, ebp
jmp 0x1401abc88