Function at 0x7ff8c3a0a4e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x7ff8c3aba080]
xor rax, rsp
mov qword [rbp + 0x50], rax
cmp byte [rcx + 0x18], 0
movaps xmm6, xmm2
mov r15, qword [rbp + 0xc0]
mov r14, rcx
je 0x7ff8c3a0a538
mov r8d, 0x85a
lea rdx, [0x7ff8c3aa3050]
lea rcx, [0x7ff8c3aa3410]
call qword [sym.imp.ucrtbase.dll__wassert]
lea r12, [0x7ff8c3aa6af8]
mov qword [rsp + 0x1a8], rsi
mov rcx, r12
mov qword [rsp + 0x1b8], rdi
lea rdx, [0x7ff8c3a9c7c8]
call fcn.7ff8c39d6aa0
mov rbx, rax
test rax, rax
je 0x7ff8c3a0a7de
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x7ff8c3a0a7d5
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff8c3a0a7d5
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x7ff8c3a0a7d5
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff8c3a0a7d5
cmp rdi, 0xffffffffffffffff
je 0x7ff8c3a0a7d5
mov rax, qword [0x7ff8c3abb7a0]
test rax, rax
je 0x7ff8c3a0a5dc
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_malloc]
mov rsi, rax
test rax, rax
je 0x7ff8c3a0a7d5
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x7ff8c3a0a633
call qword [sym.imp.ucrtbase.dll_fclose]
mov rax, qword [0x7ff8c3abb7a0]
test rax, rax
je 0x7ff8c3a0a625
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
jmp 0x7ff8c3a0a7de
call qword [sym.imp.ucrtbase.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
mov qword [rbp - 0x50], rax
mov eax, 0xffff
movups xmmword [rbp - 0x80], xmm2
mov word [rbp - 0x7c], ax
movups xmmword [rsp + 0x40], xmm2
mov dword [rbp - 0x80], 0x3f800000
movaps xmm1, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x70], xmm2
mov dword [rsp + 0x48], 3
movups xmmword [rsp + 0x30], xmm2
mov dword [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp + 0x10], xmm1
psrldq xmm1, 6
mov dword [rsp + 0x74], 0x7f7fffff
movaps xmm0, xmmword [rsp + 0x70]
movd eax, xmm1
mov byte [rsp + 0x3c], 1
movaps xmm3, xmmword [rsp + 0x30]
movaps xmmword [rbp], xmm0
movsd xmm0, qword [rbp - 0x50]
movaps xmmword [rbp - 0x40], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmmword [rbp + 0x30], xmm2
movsd qword [rbp + 0x40], xmm0
test al, al
jne 0x7ff8c3a0a712
lea r9, [0x7ff8c3aa6b12]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x7ff8c3a0a6ec
cmp al, 0x5c
je 0x7ff8c3a0a6ec
mov r9, rcx
cmp rcx, r12
ja 0x7ff8c3a0a6d3
xorps xmm0, xmm0
lea r8, [0x7ff8c3aa3658]
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.7ff8c39d6970
movaps xmm3, xmmword [rbp - 0x40]
cmp byte [r14 + 0x18], 0
je 0x7ff8c3a0a737
mov r8d, 0x870
lea rdx, [0x7ff8c3aa3050]
lea rcx, [0x7ff8c3aa3410]
call qword [sym.imp.ucrtbase.dll__wassert]
movaps xmm3, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movq rax, xmm3
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
movaps xmmword [rsp + 0x30], xmm3
test rax, rax
je 0x7ff8c3a0a7a6
mov r8d, 0x872
lea rdx, [0x7ff8c3aa3050]
lea rcx, [0x7ff8c3aa3668]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [rsp + 0x68]
lea rdx, [rsp + 0x30]
test r15, r15
movss dword [rsp + 0x44], xmm6
mov rcx, r14
mov qword [rsp + 0x30], rsi
cmovne rax, r15
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x68], rax
call fcn.7ff8c3a0a1b0
jmp 0x7ff8c3a0a7fa
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov r8d, 0x85f
lea rdx, [0x7ff8c3aa3050]
lea rcx, [0x7ff8c3aa3610]
call qword [sym.imp.ucrtbase.dll__wassert]
xor eax, eax
mov rdi, qword [rsp + 0x1b8]
mov rsi, qword [rsp + 0x1a8]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.7ff8c3a839f0
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x170
pop r15
pop r14
pop r12
pop rbx
pop rbp
ret