Function at 0x1401e16b0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x78], 0
je 0x1401e179e
mov rsi, rcx
mov eax, dword [rcx + 0x9c]
test al, 8
je 0x1401e16f2
mov rdx, qword [rsi + 0x18]
jmp 0x1401e1731
lea rcx, [rsi + 0x68]
lea rdx, [rsi + 0x70]
jmp 0x1401e1712
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
cmp byte [rsi + 0xa2], 0
je 0x1401e16e8
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
lea rbx, [rsp + 0x57]
mov byte [rbx], 0xaa
test rdx, rdx
jne 0x1401e174f
lea rdx, [rsp + 0x58]
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rdx
mov rcx, qword [rsi + 0x20]
test al, 8
je 0x1401e177a
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
jmp 0x1401e177c
xor edi, edi
cmp rdx, rcx
je 0x1401e17d7
movzx edi, byte [rdx]
cmp qword [rsi + 0x10], rbx
jne 0x1401e17a3
add rsi, 0x10
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1401e17a3
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401a2850
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsp + 0x48]
add rdi, qword [rsi + 0x10]
cmp rax, rdi
jne 0x1401e1944
mov edi, 0xffffffff
jmp 0x1401e1784
mov rcx, qword [rsi + 0x10]
sub rdx, rdi
mov r8, rdi
call fcn.1401a42f0
cmp byte [rsi + 0xa2], 0
je 0x1401e1833
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.1401c3a28
test rax, rax
je 0x1401e17d0
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 0x1401e1784
mov edx, 8
jmp 0x1401e1884
mov rdx, qword [rsi + 0x48]
mov rax, qword [rsi + 0x50]
mov r8, rax
mov rcx, rax
sub r8, rdx
je 0x1401e1869
test rdx, rdx
je 0x1401e1954
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x1401e1980
call fcn.1401a42f0
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 0x1401e182c
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.1401c3a28
test rax, rax
je 0x1401e17d0
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x1401e19ac
lea r9, [rsi + 0x48]
add rax, qword [rsi + 0x48]
lea rdx, [rsi + 0x88]
mov qword [rsi + 0x50], rax
movabs r8, 0xaaaaaaaaaaaaaaaa
lea r11, [rsp + 0x48]
mov qword [r11], r8
mov r14, qword [rsi + 0x10]
mov r8, qword [rsi + 0x40]
mov r15, qword [rsi + 0x70]
add r15, r14
add r14, rdi
mov r10, qword [rcx]
mov r10, qword [r10 + 0x18]
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r9
mov r9, rax
mov rax, r10
call qword [0x1403d6008]
cmp eax, 3
jne 0x1401e17be
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 0x1401e1784
lea rax, str.underflow_moving_from_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_fstream
lea r9, str.__extbufnext____nullptr
mov r8d, 0x2f4
call fcn.1401e44d0
lea rax, str.underflow_moving_into_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_fstream
lea r9, str.__extbuf____nullptr
mov r8d, 0x2f5
call fcn.1401e44d0
call fcn.1401e1c90
int3