Function at 0x18007e8e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0xa0], 0
jg 0x18007e908
xor eax, eax
jmp 0x18007eb87
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x68], 0
je 0x18007e939
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.18007eb90
jmp 0x18007eb87
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x38]
cmp qword [rax], 0
je 0x18007e979
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
jmp 0x18007e981
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x18007ea70
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x38], rax
jae 0x18007e9af
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
jmp 0x18007e9b9
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
call fcn.1801e2da0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x50]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x50]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x38]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x80], 0
je 0x18007eb77
mov rcx, qword [rsp + 0x90]
call fcn.18005ff10
mov qword [rsp + 0x78], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x18007eb25
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x98]
call fcn.1801b6ab0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x40], 0xfff
je 0x18007eb20
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
jmp 0x18007eb87
jmp 0x18007ea9c
cmp qword [rsp + 0x20], 0
jbe 0x18007eb77
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x98]
call fcn.1801b6ab0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
add rsp, 0x88
ret