Function at 0x140009614
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400260c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13d, ecx
mov ecx, 0x30032
mov r15, r8
mov qword [rsp + 0x20], rdx
call fcn.14000e494
mov rdi, rax
test rax, rax
jne 0x14000965c
or eax, 0xffffffff
jmp 0x140009968
mov rdx, rax
mov ecx, r13d
mov rsi, rax
call fcn.140009488
or ebp, 0xffffffff
mov r14d, eax
cmp eax, ebp
je 0x14000995e
movzx eax, byte [rdi + 0x12]
movzx edx, byte [rdi + 0x13]
movzx ecx, byte [rdi + 0xf]
shl ecx, 8
shl edx, 8
xor r8d, r8d
or edx, eax
movzx eax, byte [rdi + 0x11]
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 0x10]
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 0xe]
or ecx, eax
movzx eax, byte [rdi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0xc]
shl ecx, 8
or ecx, eax
add ecx, edx
sub r14d, ecx
mov ecx, r13d
add edx, r14d
call fcn.14001a8a4
test eax, eax
js 0x14000995e
mov r8d, 0x400
mov rdx, rdi
mov ecx, r13d
call fcn.140019bd4
mov r12d, eax
test eax, eax
js 0x14000995e
movzx eax, byte [rdi + 2]
movzx ecx, byte [rdi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x2014b50
jne 0x14000995e
cmp r12d, 0x2e
jge 0x14000974e
movsxd rbx, r12d
mov rdx, rsi
mov rcx, rdi
mov r8, rbx
call fcn.14000d300
lea rdx, [rbx + rdi]
mov r8d, 0x400
mov ecx, r13d
mov rsi, rax
call fcn.140019bd4
test eax, eax
jle 0x14000995e
add r12d, eax
movzx eax, byte [rsi + 0x20]
movzx edx, byte [rsi + 0x21]
movzx ecx, byte [rsi + 0x1f]
shl ecx, 8
shl edx, 8
or edx, eax
movzx eax, byte [rsi + 0x1e]
or ecx, eax
movzx eax, byte [rsi + 0x1c]
add edx, ecx
movzx ecx, byte [rsi + 0x1d]
shl ecx, 8
or ecx, eax
lea ebx, [rdx + rcx + 0x2e]
lea eax, [rbx + 4]
cmp r12d, eax
jge 0x1400097c8
cmp rsi, rdi
je 0x140009799
movsxd r8, r12d
mov rdx, rsi
mov rcx, rdi
call fcn.14000d300
mov rsi, rax
mov eax, 0x400
mov r8d, ebx
movsxd rdx, r12d
sub r8d, r12d
mov ecx, r13d
add r8d, 4
cmp r8d, eax
cmovl r8d, eax
add rdx, rdi
call fcn.140019bd4
test eax, eax
jle 0x14000995e
add r12d, eax
mov rcx, r15
call fcn.14000d160
movzx ecx, byte [rsi + 0x1d]
shl ecx, 8
movsxd rdx, ecx
movzx ecx, byte [rsi + 0x1c]
or rdx, rcx
cmp rdx, rax
jne 0x140009801
mov rcx, r15
call fcn.14000d160
lea rcx, [rsi + 0x2e]
mov rdx, r15
mov r8, rax
call fcn.14000f750
test eax, eax
je 0x140009828
movsxd rax, ebx
sub r12d, ebx
add rsi, rax
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
jmp 0x140009706
movzx eax, byte [rsi + 0x2c]
movzx edx, byte [rsi + 0x2d]
xor r8d, r8d
shl edx, 8
mov ecx, r13d
or edx, eax
movzx eax, byte [rsi + 0x2b]
shl edx, 8
or edx, eax
movzx eax, byte [rsi + 0x2a]
shl edx, 8
or edx, eax
add edx, r14d
call fcn.14001a8a4
test eax, eax
js 0x14000995e
lea rdx, [rsp + 0x28]
mov r8d, 0x1e
mov ecx, r13d
call fcn.140019bd4
test eax, eax
js 0x14000995e
movzx eax, byte [rsp + 0x2a]
movzx ecx, byte [rsp + 0x2b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x29]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x28]
shl ecx, 8
or ecx, eax
cmp ecx, 0x4034b50
jne 0x14000995e
movzx eax, byte [rsi + 0x1a]
movzx ecx, byte [rsi + 0x1b]
mov r9, qword [rsp + 0x20]
movzx edx, byte [rsp + 0x45]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 0x19]
shl edx, 8
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 0x18]
shl ecx, 8
movsxd rcx, ecx
or rcx, rax
mov qword [r9], rcx
movzx eax, byte [rsi + 0x16]
movzx ecx, byte [rsi + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 0x14]
shl ecx, 8
movsxd rcx, ecx
or rcx, rax
mov qword [r9 + 8], rcx
movzx eax, byte [rsi + 0x2c]
movzx r8d, byte [rsi + 0x2d]
movzx ecx, byte [rsp + 0x43]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsi + 0x2b]
shl ecx, 8
shl r8d, 8
or r8d, eax
movzx eax, byte [rsi + 0x2a]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsp + 0x44]
or edx, eax
movzx eax, byte [rsp + 0x42]
or ecx, eax
add edx, r14d
add edx, r8d
lea eax, [rcx + rdx + 0x1e]
mov dword [r9 + 0x10], eax
movzx ecx, byte [rsi + 0xb]
movzx eax, byte [rsi + 0xa]
shl ecx, 8
or ecx, eax
xor ebp, ebp
mov dword [r9 + 0x14], ecx
mov rcx, rdi
call fcn.14000e620
mov eax, ebp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000d9e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret