Function at 0x18011f9c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x810
mov r15, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rsp + 0x420]
mov r14, r9
call fcn.1802991c0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x3e8
call fcn.1802991c0
lea rdx, [0x18033d4a8]
mov rcx, rbx
call fcn.1802b29d4
mov rbx, rax
test rax, rax
je 0x18011fcd1
xor r8d, r8d
mov edx, 0x3aff
mov rcx, rax
call fcn.1802b2e68
test eax, eax
jne 0x18011fcc9
mov r9, rbx
lea edx, [rax + 4]
lea r8d, [rax + 1]
lea rcx, [rsp + 0x20]
call fcn.1802b36fc
cmp rax, 1
jne 0x18011fcc9
movsxd rcx, dword [rsp + 0x20]
lea eax, [rcx - 1]
cmp eax, 0x3e7
ja 0x18011fcc9
mov r8, rcx
mov r9, rbx
lea rcx, [rsp + 0x420]
mov edx, 1
call fcn.1802b36fc
mov ecx, dword [rsp + 0x20]
cmp rax, rcx
jne 0x18011fcc9
mov rcx, rbx
call fcn.1802b38e8
mov edi, dword [rsp + 0x20]
mov ecx, edi
and ecx, 0x80000007
jge 0x18011fab6
dec ecx
or ecx, 0xfffffff8
inc ecx
test ecx, ecx
je 0x18011facc
mov eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edi, [rax*8 + 8]
mov edx, 1
call fcn.180249200
test edi, edi
jle 0x18011fb12
dec edi
xor ebx, ebx
shr edi, 3
inc edi
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x420]
add rdx, rbx
add rcx, rbx
call fcn.180249fc0
add rbx, 8
sub rdi, 1
jne 0x18011faf0
movsxd rax, dword [rsp + 0x20]
lea rdi, [rsp + 0x30]
add rdi, rax
lea rdx, [0x180357098]
lea rcx, [rsp + 0x30]
mov byte [rdi], 0
call fcn.180299a60
mov rbx, rax
test rax, rax
je 0x18011fcd1
cmp rax, rdi
ja 0x18011fcd1
lea r8, [rsi + 8]
mov byte [rax], 0
lea rcx, [rsp + 0x30]
sub r8, rcx
nop word [rax + rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x18011fb73
inc rcx
test eax, eax
jne 0x18011fb60
test edx, edx
jne 0x18011fcd1
add rbx, 2
lea rdx, [0x180357098]
mov rcx, rbx
call fcn.180299a60
mov r8, rax
test rax, rax
je 0x18011fcd1
cmp rax, rdi
ja 0x18011fcd1
lea rdx, [rsi + 0x208]
mov byte [rax], 0
sub rdx, rbx
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x18011fbc2
inc rbx
test eax, eax
jne 0x18011fbb0
test ecx, ecx
jne 0x18011fcd1
lea rbx, [r8 + 2]
mov rcx, rbx
lea rdx, [0x180357098]
call fcn.180299a60
mov r8, rax
test rax, rax
je 0x18011fcd1
cmp rax, rdi
ja 0x18011fcd1
lea rdx, [rsi + 0x408]
mov byte [rax], 0
sub rdx, rbx
nop
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x18011fc12
inc rbx
test eax, eax
jne 0x18011fc00
test ecx, ecx
jne 0x18011fcd1
lea rsi, [r8 + 2]
mov rcx, rsi
lea rdx, [0x180357098]
call fcn.180299a60
mov rbx, rax
test rax, rax
je 0x18011fcd1
cmp rax, rdi
ja 0x18011fcd1
mov rcx, rsi
mov byte [rax], 0
call fcn.1802b4260
movsxd rcx, eax
mov qword [r14], rcx
cmp rcx, 1
jl 0x18011fcd1
lea rsi, [rbx + 2]
mov rcx, rsi
lea rdx, [0x180357098]
call fcn.180299a60
mov rbx, rax
test rax, rax
je 0x18011fcd1
cmp rax, rdi
ja 0x18011fcd1
mov rcx, rsi
mov byte [rax], 0
call fcn.1802b4260
mov rcx, qword [rsp + 0x840]
movsxd r8, eax
mov qword [rcx], r8
cmp r8, 1
jl 0x18011fcd1
lea rdx, [0x180357098]
lea rcx, [rbx + 2]
call fcn.180299a60
test rax, rax
je 0x18011fcd1
cmp rax, rdi
ja 0x18011fcd1
lea rcx, [rbx + 2]
mov byte [rax], 0
call fcn.1802b4260
mov dword [r15], eax
test eax, eax
js 0x18011fcd1
mov al, 1
jmp 0x18011fcd3
mov rcx, rbx
call fcn.1802b38e8
xor al, al
lea r11, [rsp + 0x810]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret