Function at 0x14000bba0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400790f0]
xor rax, rsp
mov qword [rbp - 8], rax
xor eax, eax
xorps xmm0, xmm0
xor r15d, r15d
mov qword [rbp - 0x10], rax
mov r14, rcx
mov qword [rbp - 0x38], r15
mov r9, rcx
lea rcx, [rbp - 0x30]
lea edx, [rax + 0x28]
lea r8d, [r15 + 1]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call fcn.14003ae58
movzx eax, word [rbp - 0x30]
mov ecx, 0x2010
and ax, cx
cmp ax, cx
je 0x14000bc01
xor eax, eax
jmp 0x14000be4b
mov edx, 0x28
mov qword [rsp + 0x90], rsi
mov r9, r14
lea rcx, [rbp - 0x30]
mov rsi, r15
lea r8d, [rdx - 0x27]
call fcn.14003ae58
cmp rax, 1
je 0x14000bc36
mov rcx, r14
call fcn.140036c6c
xor eax, eax
jmp 0x14000be43
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x98], rdi
nop word [rax + rax]
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.14003b3e4
mov rbx, rax
test rax, rax
jne 0x14000bc6a
mov rbx, r15
jmp 0x14000bc86
mov dword [rax + 0x10], 0x7d2b7500
mov dword [rax + 0x14], 0x7d2b7500
mov dword [rax + 0x18], 0x82d48b00
mov dword [rax + 0x1c], 0x82d48b00
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movzx eax, word [rbp - 0x30]
mov word [rbx], ax
movzx eax, word [rbp - 0x2e]
mov word [rbx + 2], ax
mov eax, dword [rbp - 0x2c]
mov dword [rbx + 4], eax
mov rax, qword [rbp - 0x28]
mov qword [rbx + 8], rax
mov eax, dword [rbp - 0x20]
mov dword [rbx + 0x10], eax
mov eax, dword [rbp - 0x1c]
mov dword [rbx + 0x14], eax
mov eax, dword [rbp - 0x18]
mov dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x14]
mov dword [rbx + 0x1c], eax
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov edi, dword [rbp - 0x10]
test edi, edi
je 0x14000bdc6
mov edx, 0x10
lea rcx, [rbp - 0x40]
mov r9, r14
dec edi
lea r8d, [rdx - 0xf]
call fcn.14003ae58
cmp rax, 1
jne 0x14000bd87
lea edx, [rax + 0x17]
mov rcx, rax
call fcn.14003b3e4
movzx ecx, word [rbp - 0x40]
mov rdx, rax
mov word [rax], cx
movzx ecx, word [rbp - 0x3e]
mov word [rax + 2], cx
mov ecx, dword [rbp - 0x3c]
mov dword [rax + 4], ecx
mov ecx, dword [rbp - 0x38]
mov dword [rax + 8], ecx
mov ecx, dword [rbp - 0x34]
mov dword [rax + 0xc], ecx
mov qword [rax + 0x10], r15
cmp word [rbp - 0x40], 0x48
je 0x14000bd67
mov eax, dword [rax + 8]
cmp dword [rbx + 0x10], eax
jle 0x14000bd46
mov dword [rbx + 0x10], eax
mov eax, dword [rdx + 0xc]
cmp dword [rbx + 0x14], eax
jle 0x14000bd54
mov dword [rbx + 0x14], eax
mov eax, dword [rdx + 0xc]
cmp dword [rbx + 0x1c], eax
jge 0x14000bd5c
mov dword [rbx + 0x1c], eax
mov eax, dword [rdx + 8]
cmp dword [rbx + 0x18], eax
jge 0x14000bd67
mov dword [rbx + 0x18], eax
cmp qword [rbx + 0x20], r15
je 0x14000bd77
mov rax, qword [rbx + 0x28]
mov qword [rax + 0x10], rdx
jmp 0x14000bd7b
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], rdx
test edi, edi
jne 0x14000bce0
movzx eax, word [rbx]
cmp ax, 0x47
je 0x14000bd96
cmp ax, 0x42
jne 0x14000bdc6
mov rdx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x28]
mov r8d, dword [rax + 0xc]
mov eax, dword [rdx + 8]
sub eax, r8d
mov dword [rbx + 0x10], eax
mov eax, dword [rdx + 0xc]
sub eax, r8d
mov dword [rbx + 0x14], eax
mov ecx, dword [rdx + 8]
add ecx, r8d
mov dword [rbx + 0x18], ecx
mov ecx, dword [rdx + 0xc]
add ecx, r8d
mov dword [rbx + 0x1c], ecx
mov rdi, rsi
test rsi, rsi
je 0x14000bdd8
cmp qword [rsi + 0x38], r15
jne 0x14000bdd8
mov qword [rsi + 0x38], rsi
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x14000bde8
mov qword [rbx + 0x38], rbx
mov rax, rbx
test rsi, rsi
je 0x14000bdff
mov rax, qword [rsi + 0x38]
mov qword [rax + 0x30], rbx
mov rax, qword [rbx + 0x38]
mov qword [rsi + 0x38], rax
jmp 0x14000be06
mov rdi, rbx
mov qword [rbx + 0x38], rax
mov edx, 0x28
lea rcx, [rbp - 0x30]
mov r9, r14
mov rsi, rdi
lea r8d, [rdx - 0x27]
call fcn.14003ae58
cmp rax, 1
je 0x14000bc50
mov rcx, r14
call fcn.140036c6c
mov rbx, qword [rsp + 0x88]
mov rax, rdi
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013940
add rsp, 0x60
pop r15
pop r14
pop rbp
ret