Function at 0x140008ff0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x148
mov rax, qword [0x1400123b8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbp, rcx
mov edi, 1
movsxd rcx, dword [rdx + 0x1404]
test rcx, rcx
jle 0x14000903e
mov rax, qword [rdx + 0x1408]
nop word [rax + rax]
imul rdi, qword [rax]
lea rax, [rax + 8]
sub rcx, 1
jne 0x140009030
mov eax, dword [rdx + 0x13f8]
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x140], rsi
cmp eax, 8
je 0x1400092dc
cmp eax, 0x10
je 0x14000922f
cmp eax, 0x20
je 0x140009192
cmp eax, 0x40
je 0x1400090c2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Invalid_input_size._n
lea rdx, [0x14000b640]
call qword [sym.imp.hdf5.dll_HDfprintf]
xor eax, eax
mov rsi, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140009b50
add rsp, 0x148
pop rdi
pop rbp
ret
mov eax, dword [rdx + 0x13f4]
mov rsi, qword [rdx + 0x1440]
test eax, eax
je 0x14000913a
cmp eax, 4
je 0x1400090ef
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.Unrecognized_input_class_type._n
jmp 0x140009382
xor ebx, ebx
test rdi, rdi
je 0x140009096
nop word [rax + rax]
mov edx, 8
lea rcx, [rsp + 0x28]
mov r9, rbp
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x140009370
mov rax, qword [rsp + 0x28]
inc rbx
mov qword [rsi], rax
add rsi, 8
cmp rbx, rdi
jb 0x140009100
jmp 0x140009096
xor ebx, ebx
test rdi, rdi
je 0x140009096
nop word [rax + rax]
lea r8, [rsp + 0x30]
mov rcx, rbp
lea rdx, [0x14000b640]
call fcn.140002200
cmp eax, 1
jl 0x140009370
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoll]
mov qword [rsi], rax
inc rbx
add rsi, 8
cmp rbx, rdi
jb 0x140009150
jmp 0x140009096
mov eax, dword [rdx + 0x13f4]
mov rsi, qword [rdx + 0x1440]
test eax, eax
je 0x1400091f8
cmp eax, 4
jne 0x1400090d8
xor ebx, ebx
test rdi, rdi
je 0x140009096
nop word [rax + rax]
mov edx, 4
lea rcx, [rsp + 0x24]
mov r9, rbp
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x140009370
mov eax, dword [rsp + 0x24]
inc rbx
mov dword [rsi], eax
add rsi, 4
cmp rbx, rdi
jb 0x1400091c0
jmp 0x140009096
xor ebx, ebx
test rdi, rdi
je 0x140009096
mov r8, rsi
lea rdx, [0x14000b86c]
mov rcx, rbp
call fcn.140002200
cmp eax, 1
jne 0x140009370
inc rbx
add rsi, 4
cmp rbx, rdi
jb 0x140009203
jmp 0x140009096
mov eax, dword [rdx + 0x13f4]
mov rsi, qword [rdx + 0x1440]
test eax, eax
je 0x14000929a
cmp eax, 4
jne 0x1400090d8
xor ebx, ebx
test rdi, rdi
je 0x140009096
nop dword [rax]
nop dword [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x20]
mov r9, rbp
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x140009370
movzx eax, word [rsp + 0x20]
inc rbx
mov word [rsi], ax
add rsi, 2
cmp rbx, rdi
jb 0x140009260
jmp 0x140009096
xor ebx, ebx
test rdi, rdi
je 0x140009096
nop word [rax + rax]
mov r8, rsi
lea rdx, [0x14000b868]
mov rcx, rbp
call fcn.140002200
cmp eax, 1
jne 0x140009370
inc rbx
add rsi, 2
cmp rbx, rdi
jb 0x1400092b0
jmp 0x140009096
mov eax, dword [rdx + 0x13f4]
test eax, eax
je 0x14000932b
cmp eax, 4
jne 0x1400090d8
mov rsi, qword [rdx + 0x1440]
xor ebx, ebx
test rdi, rdi
je 0x140009096
mov edx, 1
mov r9, rbp
mov r8d, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x140009370
inc rbx
inc rsi
cmp rbx, rdi
jb 0x140009301
jmp 0x140009096
mov rsi, qword [rdx + 0x1440]
xor ebx, ebx
test rdi, rdi
je 0x140009096
nop dword [rax]
lea r8, [rsp + 0x20]
mov rcx, rbp
lea rdx, [0x14000b868]
call fcn.140002200
cmp eax, 1
jne 0x140009370
movzx eax, byte [rsp + 0x20]
inc rbx
mov byte [rsi], al
inc rsi
cmp rbx, rdi
jb 0x140009340
jmp 0x140009096
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.Unable_to_get_integer_value_from_file._n
mov rcx, rax
lea rdx, [0x14000b640]
call qword [sym.imp.hdf5.dll_HDfprintf]
mov eax, 0xffffffff
jmp 0x140009098