Function at 0x14004ad90
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x78], 0
je 0x14004ae1d
mov rsi, rcx
mov eax, dword [rcx + 0x9c]
test al, 8
jne 0x14004ae27
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x68]
lea rdx, [rsi + 0x70]
lea r8, [rsi + 0x40]
cmp byte [rsi + 0xa2], 0
lea r9, [rsi + 0x60]
cmove r8, rcx
mov rcx, qword [r8]
cmove r9, rdx
mov rdx, qword [r9]
add rdx, rcx
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov dword [rsi + 0x9c], 8
lea rbx, [rsp + 0x47]
test rdx, rdx
je 0x14004ae35
mov rcx, qword [rsi + 0x20]
test al, 8
jne 0x14004ae4e
xor edi, edi
cmp rdx, rcx
je 0x14004ae74
movzx eax, byte [rdx]
jmp 0x14004afd9
mov eax, 0xffffffff
jmp 0x14004aff1
mov rdx, qword [rsi + 0x18]
lea rbx, [rsp + 0x47]
test rdx, rdx
jne 0x14004ae06
lea rdx, [rsp + 0x48]
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov rcx, qword [rsi + 0x20]
test al, 8
je 0x14004ae0e
mov rax, rcx
sub rax, qword [rsi + 0x10]
mov r8, rax
shr r8, 0x3f
add r8, rax
sar r8, 1
cmp r8, 4
mov edi, 4
cmovb rdi, r8
cmp rdx, rcx
jne 0x14004ae15
mov rcx, qword [rsi + 0x10]
sub rdx, rdi
mov r8, rdi
call fcn.140111410
cmp byte [rsi + 0xa2], 0
je 0x14004aecd
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.14012f2bc
test rax, rax
je 0x14004afd4
mov rcx, qword [rsi + 0x10]
lea rdx, [rcx + rdi]
add rax, rdx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rax
movzx eax, byte [rcx + rdi]
jmp 0x14004afd9
mov rdx, qword [rsi + 0x48]
mov rax, qword [rsi + 0x50]
mov r8, rax
mov rcx, rax
sub r8, rdx
je 0x14004aef1
mov rcx, qword [rsi + 0x40]
call fcn.140111410
mov rax, qword [rsi + 0x48]
mov rcx, qword [rsi + 0x50]
sub rcx, rax
mov rax, qword [rsi + 0x40]
mov r8, qword [rsi + 0x70]
add rcx, rax
mov qword [rsi + 0x48], rcx
lea r9, [rsi + 0x58]
mov edx, 8
cmp rax, r9
je 0x14004af15
mov rdx, qword [rsi + 0x60]
add rax, rdx
mov qword [rsi + 0x50], rax
sub rax, rcx
sub r8, rdi
cmp rax, r8
cmovb r8, rax
mov rax, qword [rsi + 0x88]
mov qword [rsi + 0x90], rax
mov r9, qword [rsi + 0x78]
mov edx, 1
call fcn.14012f2bc
test rax, rax
je 0x14004afd4
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14004affd
lea r9, [rsi + 0x48]
add rax, qword [rsi + 0x48]
lea rdx, [rsi + 0x88]
mov qword [rsi + 0x50], rax
mov r10, qword [rsi + 0x10]
mov r8, qword [rsi + 0x40]
mov r11, qword [rsi + 0x70]
add r11, r10
add r10, rdi
mov r14, qword [rcx]
lea r15, [rsp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r9
mov r9, rax
call qword [r14 + 0x18]
cmp eax, 3
jne 0x14004afb9
mov rdi, qword [rsi + 0x40]
mov rax, qword [rsi + 0x50]
mov qword [rsi + 0x10], rdi
jmp 0x14004afc7
mov rax, qword [rsp + 0x48]
add rdi, qword [rsi + 0x10]
cmp rax, rdi
je 0x14004afd4
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rax
movzx eax, byte [rdi]
jmp 0x14004afd9
mov eax, 0xffffffff
cmp qword [rsi + 0x10], rbx
jne 0x14004aff1
add rsi, 0x10
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14004d890
int3