Function at 0x140229240
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx + 0x78], 0
je 0x1402292bd
mov rsi, rcx
mov eax, dword [rcx + 0x9c]
test al, 8
jne 0x1402292c4
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
xor ecx, ecx
cmp byte [rsi + 0xa2], 0
sete cl
mov edx, 0x68
mov edi, 0x40
cmove rdi, rdx
shl rcx, 4
mov rdx, qword [rsi + rdi]
mov rcx, qword [rcx + rsi + 0x60]
add rcx, rdx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x20], rcx
mov dword [rsi + 0x9c], 8
jmp 0x1402292c8
mov edi, 0xffffffff
jmp 0x140229324
mov rcx, qword [rsi + 0x18]
mov byte [rsp + 0x4f], 0xaa
test rcx, rcx
je 0x14022933d
mov rdx, qword [rsi + 0x20]
test al, 8
jne 0x1402292de
xor edi, edi
jmp 0x1402292ff
mov rdi, rdx
sub rdi, qword [rsi + 0x10]
mov rax, rdi
shr rax, 0x3f
add rax, rdi
sar rax, 1
cmp rax, 4
mov edi, 4
cmovb rdi, rax
cmp rcx, rdx
je 0x14022935b
movzx edi, byte [rcx]
lea rax, [rsp + 0x4f]
cmp qword [rsi + 0x10], rax
jne 0x140229324
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.1400ccfe0
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4f]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov rcx, rdx
jmp 0x1402292d6
mov rcx, qword [rsi + 0x10]
sub rdx, rdi
mov r8, rdi
call fcn.1400cf0a0
cmp byte [rsi + 0xa2], 0
je 0x1402293b4
mov rcx, qword [rsi + 0x10]
add rcx, rdi
mov r8, qword [rsi + 0x20]
mov r9, qword [rsi + 0x78]
sub r8, rcx
mov edx, 1
call fcn.1400cbe98
test rax, rax
je 0x1402294d2
mov rcx, qword [rsi + 0x10]
lea rdx, [rcx + rdi]
add rax, rdx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rax
movzx edi, byte [rcx + rdi]
jmp 0x140229307
mov rdx, qword [rsi + 0x48]
mov rax, qword [rsi + 0x50]
mov r8, rax
mov rcx, rax
sub r8, rdx
je 0x1402293d8
mov rcx, qword [rsi + 0x40]
call fcn.1400cf0a0
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 0x1402294ba
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, rdi
cmp rax, r8
cmovb r8, rax
mov rax, qword [rsi + 0x88]
mov qword [rsi + 0x90], rax
mov edx, 1
call fcn.1400cbe98
test rax, rax
je 0x1402294d2
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x1402294dc
lea r9, [rsi + 0x48]
lea rdx, [rsi + 0x88]
add rax, qword [rsi + 0x48]
mov qword [rsi + 0x50], rax
movabs r8, 0xaaaaaaaaaaaaaaaa
lea r10, [rsp + 0x40]
mov qword [r10], r8
mov r11, qword [rsi + 0x10]
mov r8, qword [rsi + 0x40]
mov rbx, qword [rsi + 0x70]
add rbx, r11
add r11, rdi
mov r14, qword [rcx]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r9
mov r9, rax
call qword [r14 + 0x18]
cmp eax, 3
jne 0x1402294c4
mov rdi, qword [rsi + 0x40]
mov rax, qword [rsi + 0x50]
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rax
movzx edi, byte [rdi]
jmp 0x140229307
mov edx, 8
jmp 0x1402293f7
mov rax, qword [rsp + 0x40]
add rdi, qword [rsi + 0x10]
cmp rax, rdi
jne 0x1402294aa
mov edi, 0xffffffff
jmp 0x140229307
call fcn.14014ef75
int3