Function at 0x14007cb10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
movzx r12d, r9w
mov rbp, rcx
lea eax, [r12 - 9]
mov r15, r8
movzx ebx, r14w
lea ecx, [r14 + 1]
cmp ax, 0xe
ja 0x14007cb66
mov r13d, dword [r8 + 0x18]
mov edi, 2
add r13d, r13d
mov dword [rsp + 0x24], edi
jmp 0x14007cb8c
mov edi, ecx
mov dword [rsp + 0x24], ecx
cmp r12w, 8
jg 0x14007cb77
mov eax, ecx
jmp 0x14007cb84
movsx eax, r12w
cdq
and edx, 7
add eax, edx
sar eax, 3
mov r13d, dword [r8 + 0x18]
imul r13d, eax
lea eax, [r13 + 0x400]
movsxd rdx, eax
call fcn.1401be1f8
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x14007cbad
lea eax, [rsi + 1]
jmp 0x14007cc18
movzx eax, word [rsp + 0xa0]
cmp ax, 8
jge 0x14007cc30
cmp dword [r15 + 0x1c], r14d
jle 0x14007cc0b
mov rsi, qword [rsp + 0xa8]
movsx rdi, ax
nop dword [rax]
mov r9, qword [rbp]
mov rcx, qword [r15 + 0x10]
mov ebx, 1
mov r8d, ebx
mov rdx, rdi
call fcn.1401c1e14
or r8d, 0xffffffff
mov r9d, ebx
or edx, r8d
mov rcx, rsi
call fcn.1400615b0
movzx ebx, ax
test ax, ax
jne 0x14007cc0b
inc r14d
cmp r14d, dword [r15 + 0x1c]
jl 0x14007cbd0
mov rcx, qword [rsp + 0x30]
call fcn.1401be23c
movzx eax, bx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x28], r14d
cmp dword [r15 + 0x1c], r14d
jle 0x14007cc0b
mov edx, 0xfa
mov rbp, qword [r15 + 0x10]
cmp ax, dx
jg 0x14007cc62
cmp r12w, 0x10
jg 0x14007cc62
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rbx]
call fcn.1401c3f28
jmp 0x14007cc75
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call fcn.140066de0
movzx eax, ax
lea ecx, [r13 + 0x400]
mov dword [rsp + 0x20], eax
cmp eax, ecx
mov rcx, rsi
jg 0x14007ce08
mov r9, qword [rbx]
movsxd rdx, eax
mov r8d, 1
call fcn.1401c1e14
mov ecx, dword [rsp + 0x20]
mov r12d, r14d
test ecx, ecx
jle 0x14007cd80
nop dword [rax + rax]
movsxd rax, r14d
lea rdx, [rax + rsi]
movzx eax, byte [rax + rsi]
test al, al
jns 0x14007cd16
cmp al, 0x80
jne 0x14007cccb
inc r14d
jmp 0x14007cd6a
movzx eax, al
not eax
movzx ebx, al
add ebx, 2
cmp r12d, r13d
jge 0x14007cd0e
test ebx, ebx
jle 0x14007cd0e
lea r15, [rdx + 1]
movsxd rdi, edi
mov esi, ebx
nop dword [rax + rax]
mov r8, rdi
mov rdx, r15
mov rcx, rbp
call fcn.1401bd6e0
add rbp, rdi
dec rsi
jne 0x14007ccf0
mov edi, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
inc r14d
add r14d, edi
jmp 0x14007cd5f
movzx ebx, al
inc ebx
mov esi, ebx
imul esi, edi
lea eax, [rsi + r12]
cmp eax, r13d
jle 0x14007cd3d
cmp r12d, r13d
jge 0x14007cd59
mov eax, r13d
sub eax, esi
sub eax, r12d
js 0x14007cd73
movsxd rdi, eax
jmp 0x14007cd40
movsxd rdi, esi
mov r8, rdi
inc rdx
mov rcx, rbp
call fcn.1401bd6e0
mov ecx, dword [rsp + 0x20]
add rbp, rdi
mov edi, dword [rsp + 0x24]
inc r14d
add r14d, esi
mov rsi, qword [rsp + 0x30]
imul ebx, edi
add r12d, ebx
cmp r14d, ecx
jl 0x14007ccb0
mov r15, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x30]
movzx r12d, word [rsp + 0x98]
xor r14d, r14d
cmp r12w, 0x10
jne 0x14007cdb8
mov rbx, qword [r15 + 0x10]
mov edi, r14d
cmp dword [r15 + 0x18], r14d
jle 0x14007cdb8
movzx ecx, word [rbx]
call fcn.140065fd0
inc edi
add rbx, 2
mov word [rbx - 2], ax
cmp edi, dword [r15 + 0x18]
jl 0x14007cda0
mov rcx, qword [rsp + 0xa8]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
movzx ebx, ax
test ax, ax
jne 0x14007cc0b
mov eax, dword [rsp + 0x28]
mov edi, dword [rsp + 0x24]
mov edx, 0xfa
inc eax
cmp eax, dword [r15 + 0x1c]
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0xa0]
jl 0x14007cc40
jmp 0x14007cc0b
call fcn.1401be23c
movzx eax, r14w
jmp 0x14007cc18