Function at 0x140140be0
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx + 0x78], 0
je 0x140140c51
mov rsi, rcx
mov eax, dword [rcx + 0x9c]
test al, 8
jne 0x140140c58
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
cmp byte [rsi + 0xa2], 0
je 0x140140d40
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 0x140140c5c
mov edi, 0xffffffff
jmp 0x140140cce
mov rdx, qword [rsi + 0x18]
mov byte [rsp + 0x4f], 0xaa
test rdx, rdx
jne 0x140140c7c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4f]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov rdi, qword [rsi + 0x20]
test al, 8
jne 0x140140c88
xor ebx, ebx
jmp 0x140140ca9
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 0x140140ce7
movzx edi, byte [rdx]
lea rax, [rsp + 0x4f]
cmp qword [rsi + 0x10], rax
jne 0x140140cce
add rsi, 0x10
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi + 0x10]
sub rdx, rbx
mov r8, rbx
call fcn.140113df0
cmp byte [rsi + 0xa2], 0
je 0x140140d4d
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.1401296f4
test rax, rax
je 0x140140e6b
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 0x140140cb1
lea rcx, [rsi + 0x68]
lea rdx, [rsi + 0x70]
jmp 0x140140c30
mov rdx, qword [rsi + 0x48]
mov rax, qword [rsi + 0x50]
mov r8, rax
mov rcx, rax
sub r8, rdx
je 0x140140d71
mov rcx, qword [rsi + 0x40]
call fcn.140113df0
mov rax, qword [rsi + 0x48]
mov rcx, qword [rsi + 0x50]
sub rcx, rax
mov rax, qword [rsi + 0x40]
add rcx, rax
mov qword [rsi + 0x48], rcx
lea rdx, [rsi + 0x58]
cmp rax, rdx
je 0x140140e53
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.1401296f4
test rax, rax
je 0x140140e6b
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x140140e75
lea r10, [rsi + 0x48]
lea rdx, [rsi + 0x88]
add rax, qword [rsi + 0x48]
mov qword [rsi + 0x50], rax
movabs r8, 0xaaaaaaaaaaaaaaaa
lea r9, [rsp + 0x40]
mov qword [r9], r8
mov rdi, qword [rsi + 0x10]
mov r8, qword [rsi + 0x40]
mov r11, qword [rsi + 0x70]
add r11, rdi
add rdi, rbx
mov r14, qword [rcx]
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r10
mov r9, rax
call qword [r14 + 0x18]
cmp eax, 3
jne 0x140140e5d
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 0x140140cb1
mov edx, 8
jmp 0x140140d90
mov rax, qword [rsp + 0x40]
add rbx, qword [rsi + 0x10]
cmp rax, rbx
jne 0x140140e43
mov edi, 0xffffffff
jmp 0x140140cb1
call fcn.140141140
int3