Function at 0x140074610
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov eax, r8d
cmp r8, rax
je 0x140074681
lea rax, vtable.Exception.0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.14002e130
nop
lea rdx, str.Requested_size_to_read_is_too_big
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rax, vtable.IOException.0
mov qword [rsp + 0x30], rax
lea rdx, [0x140101d48]
lea rcx, [rsp + 0x30]
call fcn.14007c4b0
int3
xor ebx, ebx
mov dword [rsp + 0xe0], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xe0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140074832
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
jne 0x1400746fe
lea rax, vtable.Exception.0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.14002e130
nop
lea rdx, str.End_of_file_reached
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rax, vtable.EOFException.0
mov qword [rsp + 0x30], rax
lea rdx, [0x140101ff0]
lea rcx, [rsp + 0x30]
call fcn.14007c4b0
int3
lea rax, vtable.StringStorage.0
mov qword [rsp + 0x30], rax
mov ecx, 8
call fcn.1400797fc
test rax, rax
je 0x140074723
lea rcx, [rsp + 0x38]
mov qword [rax], rcx
jmp 0x140074726
mov rax, rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x58]
mov rsi, rdx
mov rdi, qword [rsp + 0x50]
sub rsi, rdi
sar rsi, 1
add rsi, rsi
cmp rdi, rdx
jbe 0x14007477d
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140074791
call fcn.1400796a8
mov rdx, rbx
jmp 0x140074794
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x14007479f
call fcn.1400796a8
mov r8, rsi
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
lea rcx, [rsp + 0x30]
call fcn.14003c980
mov rdi, qword [rsp + 0x50]
cmp rdi, qword [rsp + 0x58]
jbe 0x1400747cd
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400747de
call fcn.1400796a8
jmp 0x1400747e1
mov rbx, qword [rax]
cmp rdi, qword [rbx + 0x20]
jb 0x1400747ec
call fcn.1400796a8
lea rax, vtable.Exception.0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.14002e130
nop
mov rdx, rdi
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rax, vtable.IOException.0
mov qword [rsp + 0x70], rax
lea rdx, [0x140101d48]
lea rcx, [rsp + 0x70]
call fcn.14007c4b0
nop
mov eax, dword [rsp + 0xe0]
test eax, eax
jne 0x140074887
lea rax, vtable.Exception.0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.14002e130
nop
lea rdx, str.End_of_file_reached
lea rcx, [rsp + 0x78]
mov rax, qword [rsp + 0x78]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rax, vtable.EOFException.0
mov qword [rsp + 0x70], rax
lea rdx, [0x140101ff0]
lea rcx, [rsp + 0x70]
call fcn.14007c4b0
int3
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret