Function at 0x1400069d8
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401cbd70
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
movsxd rax, dword [rsp + 0x60]
cmp rax, 0xfffffffffffffffe
jne 0x1401cbdad
call fcn.14000572c
mov dword [rax], 0
call fcn.140003751
mov dword [rax], 9
mov eax, 0xffffffff
jmp 0x1401cc0b4
cmp dword [rsp + 0x60], 0
jl 0x1401cbdca
mov eax, dword [0x14028eedc]
cmp dword [rsp + 0x60], eax
jae 0x1401cbdca
mov dword [rsp + 0x30], 1
jmp 0x1401cbdd2
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1401cbe1b
lea rax, str.fh___0___unsigned_fh____unsigned__nhandle
mov qword [rsp + 0x28], rax
lea rax, [0x140231338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x17c
lea rdx, [0x140253ee0]
mov ecx, 2
call fcn.140001c4e
cmp eax, 1
jne 0x1401cbe1b
int3
cmp dword [rsp + 0x34], 0
jne 0x1401cbe6b
call fcn.14000572c
mov dword [rax], 0
call fcn.140003751
mov dword [rax], 9
mov qword [rsp + 0x20], 0
mov r9d, 0x17c
lea r8, [0x140253ee0]
lea rdx, str._read
lea rcx, str.fh___0___unsigned_fh____unsigned__nhandle
call fcn.140006f2d
mov eax, 0xffffffff
jmp 0x1401cc0b4
mov eax, dword [rsp + 0x60]
sar eax, 6
cdqe
lea rcx, [0x14028ea10]
mov edx, dword [rsp + 0x60]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
and eax, 1
test eax, eax
je 0x1401cbea3
mov dword [rsp + 0x38], 1
jmp 0x1401cbeab
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x1401cbef4
lea rax, str._osfile_fh___FOPEN
mov qword [rsp + 0x28], rax
lea rax, [0x140231338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x17d
lea rdx, [0x140253ee0]
mov ecx, 2
call fcn.140001c4e
cmp eax, 1
jne 0x1401cbef4
int3
cmp dword [rsp + 0x3c], 0
jne 0x1401cbf44
call fcn.14000572c
mov dword [rax], 0
call fcn.140003751
mov dword [rax], 9
mov qword [rsp + 0x20], 0
mov r9d, 0x17d
lea r8, [0x140253ee0]
lea rdx, str._read
lea rcx, str._osfile_fh___FOPEN
call fcn.140006f2d
mov eax, 0xffffffff
jmp 0x1401cc0b4
cmp dword [rsp + 0x70], 0x7fffffff
ja 0x1401cbf58
mov dword [rsp + 0x40], 1
jmp 0x1401cbf60
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1401cbfa9
lea rax, str.buffer_size___INT_MAX
mov qword [rsp + 0x28], rax
lea rax, [0x140231338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x17e
lea rdx, [0x140253ee0]
mov ecx, 2
call fcn.140001c4e
cmp eax, 1
jne 0x1401cbfa9
int3
cmp dword [rsp + 0x44], 0
jne 0x1401cbff9
call fcn.14000572c
mov dword [rax], 0
call fcn.140003751
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0x17e
lea r8, [0x140253ee0]
lea rdx, str._read
lea rcx, str.buffer_size___INT_MAX
call fcn.140006f2d
mov eax, 0xffffffff
jmp 0x1401cc0b4
mov ecx, dword [rsp + 0x60]
call fcn.140001325
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x60]
sar eax, 6
cdqe
lea rcx, [0x14028ea10]
mov edx, dword [rsp + 0x60]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
and eax, 1
test eax, eax
jne 0x1401cc090
call fcn.140003751
mov dword [rax], 9
call fcn.14000572c
mov dword [rax], 0
xor eax, eax
test eax, eax
jne 0x1401cc08e
lea rax, str.__Invalid_file_descriptor._File_possibly_closed_by_a_different_thread__0_
mov qword [rsp + 0x28], rax
lea rax, [0x140231338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x188
lea rdx, [0x140253ee0]
mov ecx, 2
call fcn.140001c4e
cmp eax, 1
jne 0x1401cc08e
int3
jmp 0x1401cc0a7
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
call fcn.140002e9b
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x60]
call fcn.140006de8
mov eax, dword [rsp + 0x48]
add rsp, 0x58
ret