Function at 0x140006d54
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 [0x1400270d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13d, ecx
mov ecx, 0x30032
mov r14, r8
mov qword [rsp + 0x20], rdx
call fcn.14000bee4
mov rdi, rax
test rax, rax
jne 0x140006d9c
or eax, 0xffffffff
jmp 0x140007056
mov rdx, rax
mov ecx, r13d
call fcn.140006abc
or rbp, 0xffffffffffffffff
mov r15, rax
cmp rax, rbp
je 0x14000704c
mov r8d, 0x400
mov rdx, rdi
mov ecx, r13d
call fcn.140018ab8
mov r12d, eax
test eax, eax
js 0x14000704c
movzx eax, byte [rdi + 2]
movzx ecx, byte [rdi + 3]
mov rsi, rdi
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 0x14000704c
cmp r12d, 0x2e
jge 0x140006e37
movsxd rbx, r12d
mov rdx, rsi
mov rcx, rdi
mov r8, rbx
call fcn.14000acc0
lea rdx, [rbx + rdi]
mov r8d, 0x400
mov ecx, r13d
mov rsi, rax
call fcn.140018ab8
test eax, eax
jle 0x14000704c
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 0x140006eb1
cmp rsi, rdi
je 0x140006e82
movsxd r8, r12d
mov rdx, rsi
mov rcx, rdi
call fcn.14000acc0
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.140018ab8
test eax, eax
jle 0x14000704c
add r12d, eax
mov rcx, r14
call fcn.14000ab20
movzx ecx, byte [rsi + 0x1d]
shl ecx, 8
movsxd rdx, ecx
movzx ecx, byte [rsi + 0x1c]
or rdx, rcx
cmp rdx, rax
jne 0x140006eea
mov rcx, r14
call fcn.14000ab20
lea rcx, [rsi + 0x2e]
mov rdx, r14
mov r8, rax
call fcn.14000d020
test eax, eax
je 0x140006f11
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 0x140006def
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 rdx, rax
add rdx, r15
call fcn.14000cf28
test rax, rax
js 0x14000704c
lea rdx, [rsp + 0x28]
mov r8d, 0x1e
mov ecx, r13d
call fcn.140018ab8
test eax, eax
js 0x14000704c
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 0x14000704c
movzx eax, byte [rsi + 0x1a]
movzx ecx, byte [rsi + 0x1b]
mov r9, qword [rsp + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 0x18]
shl ecx, 8
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
or rcx, rax
mov qword [r9 + 8], rcx
movzx eax, byte [rsi + 0x2c]
movzx r8d, byte [rsi + 0x2d]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsi + 0x2b]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsi + 0x2a]
shl r8d, 8
or r8, rax
movzx eax, byte [rsp + 0x45]
shl eax, 8
movsxd rdx, eax
movzx eax, byte [rsp + 0x44]
or rdx, rax
movzx eax, byte [rsp + 0x43]
shl eax, 8
add rdx, r15
movsxd rcx, eax
movzx eax, byte [rsp + 0x42]
add rdx, r8
or rcx, rax
lea rax, [rcx + rdx + 0x1e]
mov qword [r9 + 0x10], rax
movzx ecx, byte [rsi + 0xb]
movzx eax, byte [rsi + 0xa]
shl ecx, 8
or ecx, eax
xor ebp, ebp
mov dword [r9 + 0x18], ecx
mov rcx, rdi
call fcn.14000a810
mov eax, ebp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b3a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret