Function at 0x140130760
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx + 0x78], 0
je 0x1401307cb
mov rsi, rcx
mov eax, dword [rcx + 0x9c]
test al, 8
jne 0x1401307d2
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
cmp byte [rsi + 0xa2], 0
je 0x1401308c1
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x60]
add rdx, rcx
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov dword [rsi + 0x9c], 8
jmp 0x1401307d6
mov edi, 0xffffffff
jmp 0x14013084c
mov rdx, qword [rsi + 0x18]
mov byte [rsp + 0x4f], 0xaa
test rdx, rdx
jne 0x1401307f6
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4f]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
test al, 8
jne 0x140130802
mov rdi, qword [rsi + 0x20]
xor ebx, ebx
jmp 0x140130827
mov rdi, qword [rsi + 0x20]
mov rax, rdi
sub rax, qword [rsi + 0x10]
mov rcx, rax
shr rcx, 0x3f
add rcx, rax
sar rcx, 1
cmp rcx, 4
mov ebx, 4
cmovb rbx, rcx
cmp rdx, rdi
je 0x140130865
movzx edi, byte [rdx]
lea rax, [rsp + 0x4f]
cmp qword [rsi + 0x10], rax
jne 0x14013084c
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.1401013e0
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.140103960
cmp byte [rsi + 0xa2], 0
je 0x1401308ce
mov rcx, qword [rsi + 0x10]
mov r8, qword [rsi + 0x20]
sub r8, rbx
sub r8, rcx
mov r9, qword [rsi + 0x78]
add rcx, rbx
mov edx, 1
call fcn.140119264
test rax, rax
je 0x1401309fc
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 0x14013082f
mov rcx, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x70]
jmp 0x1401307b0
mov rdx, qword [rsi + 0x48]
mov rax, qword [rsi + 0x50]
mov r8, rax
mov rcx, rax
sub r8, rdx
je 0x1401308f2
mov rcx, qword [rsi + 0x40]
call fcn.140103960
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 0x1401309d4
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.140119264
test rax, rax
je 0x1401309fc
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x140130a06
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 0x1401309de
mov rax, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rcx
movzx edi, byte [rax]
jmp 0x14013082f
mov edx, 8
jmp 0x140130911
mov rax, qword [rsp + 0x40]
add rbx, qword [rsi + 0x10]
cmp rax, rbx
je 0x1401309fc
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rax
movzx edi, byte [rbx]
jmp 0x14013082f
mov edi, 0xffffffff
jmp 0x14013082f
call fcn.140130cd0
int3