Function at 0x1401f9060
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x78], 0
je 0x1401f90d3
mov rsi, rcx
mov eax, dword [rcx + 0x9c]
test al, 8
jne 0x1401f90da
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
cmp byte [rsi + 0xa2], 0
je 0x1401f91c4
lea rcx, [rsi + 0x40]
lea rdx, [rsi + 0x60]
mov rcx, qword [rcx]
mov rdx, qword [rdx]
add rdx, rcx
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov dword [rsi + 0x9c], 8
jmp 0x1401f90de
mov edi, 0xffffffff
jmp 0x1401f9150
mov rdx, qword [rsi + 0x18]
mov byte [rsp + 0x57], 0xaa
test rdx, rdx
jne 0x1401f90fe
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x57]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov rdi, qword [rsi + 0x20]
test al, 8
jne 0x1401f910a
xor ebx, ebx
jmp 0x1401f912b
mov rcx, rdi
sub rcx, qword [rsi + 0x10]
mov rax, rcx
shr rax, 0x3f
add rax, rcx
sar rax, 1
cmp rax, 4
mov ebx, 4
cmovb rbx, rax
cmp rdx, rdi
je 0x1401f916b
movzx edi, byte [rdx]
lea rax, [rsp + 0x57]
cmp qword [rsi + 0x10], rax
jne 0x1401f9150
add rsi, 0x10
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsi + 0x10]
sub rdx, rbx
mov r8, rbx
call fcn.1401bcb50
cmp byte [rsi + 0xa2], 0
je 0x1401f91d1
mov rcx, qword [rsi + 0x10]
add rcx, rbx
mov r8, qword [rsi + 0x20]
mov r9, qword [rsi + 0x78]
sub r8, rcx
mov edx, 1
call fcn.1401dba00
test rax, rax
je 0x1401f92fe
mov rcx, qword [rsi + 0x10]
lea rdx, [rcx + rbx]
add rax, rdx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rax
movzx edi, byte [rcx + rbx]
jmp 0x1401f9133
lea rcx, [rsi + 0x68]
lea rdx, [rsi + 0x70]
jmp 0x1401f90b2
mov rdx, qword [rsi + 0x48]
mov r8, qword [rsi + 0x50]
sub r8, rdx
je 0x1401f92de
mov rcx, qword [rsi + 0x40]
call fcn.1401bcb50
mov rdx, qword [rsi + 0x48]
mov rcx, qword [rsi + 0x50]
sub rcx, rdx
mov rax, qword [rsi + 0x40]
add rcx, rax
mov qword [rsi + 0x48], rcx
lea rdx, [rsi + 0x58]
cmp rax, rdx
je 0x1401f92e6
mov rdx, qword [rsi + 0x60]
add rax, rdx
mov qword [rsi + 0x50], rax
sub rax, rcx
mov r8, qword [rsi + 0x70]
mov r9, qword [rsi + 0x78]
sub r8, rbx
cmp rax, r8
cmovb r8, rax
mov rax, qword [rsi + 0x88]
mov qword [rsi + 0x90], rax
mov edx, 1
call fcn.1401dba00
test rax, rax
je 0x1401f92fe
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x1401f9308
lea r11, [rsi + 0x48]
add rax, qword [rsi + 0x48]
lea rdx, [rsi + 0x88]
mov qword [rsi + 0x50], rax
movabs r8, 0xaaaaaaaaaaaaaaaa
lea r9, [rsp + 0x48]
mov qword [r9], r8
mov r15, qword [rsi + 0x10]
mov r8, qword [rsi + 0x40]
mov r14, qword [rsi + 0x70]
add r14, r15
add r15, rbx
mov rdi, qword [rcx]
mov r10, qword [rdi + 0x18]
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r11
mov r9, rax
mov rax, r10
call qword [0x1403de008]
cmp eax, 3
jne 0x1401f92f0
mov rbx, qword [rsi + 0x40]
mov rax, qword [rsi + 0x50]
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rax
movzx edi, byte [rbx]
jmp 0x1401f9133
mov rcx, rdx
jmp 0x1401f91f3
mov edx, 8
jmp 0x1401f9212
mov rax, qword [rsp + 0x48]
add rbx, qword [rsi + 0x10]
cmp rax, rbx
jne 0x1401f92ce
mov edi, 0xffffffff
jmp 0x1401f9133
call fcn.1401f95d0
int3