Function at 0x7ff71efcb450
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
cmp byte [rcx + 0x18], 0
mov rbx, rdx
movaps xmmword [rsp + 0x150], xmm6
mov r15, rcx
movaps xmm6, xmm2
je 0x7ff71efcb496
mov r8d, 0x858
lea rdx, [0x7ff71f04d950]
lea rcx, [0x7ff71f04dc10]
call qword [sym.imp.ucrtbase.dll__wassert]
test rbx, rbx
jne 0x7ff71efcb4b5
mov r8d, 0x77e
lea rdx, [0x7ff71f00a610]
lea rcx, [0x7ff71f00aa98]
call qword [sym.imp.ucrtbase.dll__wassert]
mov qword [rsp + 0x180], rsi
lea rdx, [0x7ff71f00f148]
mov rcx, rbx
mov qword [rsp + 0x188], r14
call fcn.7ff71efa38d0
mov rdi, rax
test rax, rax
je 0x7ff71efcb764
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x7ff71efcb75b
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff71efcb75b
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x7ff71efcb75b
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff71efcb75b
cmp rsi, 0xffffffffffffffff
je 0x7ff71efcb75b
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efcb554
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_malloc]
mov r14, rax
test rax, rax
je 0x7ff71efcb75b
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x7ff71efcb5ab
call qword [sym.imp.ucrtbase.dll_fclose]
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efcb59d
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.ucrtbase.dll_free]
jmp 0x7ff71efcb764
call qword [sym.imp.ucrtbase.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
mov qword [rbp - 0x50], rax
mov rdi, rsi
movups xmmword [rsp + 0x40], xmm2
mov eax, 0xffff
mov dword [rsp + 0x48], 3
movups xmmword [rbp - 0x80], xmm2
mov word [rbp - 0x7c], ax
movups xmmword [rsp + 0x70], xmm2
mov dword [rsp + 0x4c], 1
movups xmm0, xmmword [rsp + 0x40]
mov dword [rbp - 0x80], 0x3f800000
movups xmm1, xmmword [rbp - 0x80]
mov dword [rsp + 0x74], 0x7f7fffff
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x30], xmm2
mov byte [rsp + 0x3c], 1
movups xmm3, xmmword [rsp + 0x30]
movaps xmmword [rbp + 0x10], xmm1
psrldq xmm1, 6
movd eax, xmm1
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 0x7ff71efcb6a1
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], 0
jne 0x7ff71efcb650
add r9, rbx
cmp r9, rbx
jbe 0x7ff71efcb67b
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x7ff71efcb67b
cmp al, 0x5c
je 0x7ff71efcb67b
mov r9, rcx
cmp rcx, rbx
ja 0x7ff71efcb662
xorps xmm0, xmm0
lea r8, [0x7ff71f04de58]
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.7ff71efa36e0
movaps xmm3, xmmword [rbp - 0x40]
cmp byte [r15 + 0x18], 0
je 0x7ff71efcb6c6
mov r8d, 0x86e
lea rdx, [0x7ff71f04d950]
lea rcx, [0x7ff71f04dc10]
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 0x7ff71efcb735
mov r8d, 0x870
lea rdx, [0x7ff71f04d950]
lea rcx, [0x7ff71f04de68]
call qword [sym.imp.ucrtbase.dll__wassert]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r14
comiss xmm6, xmm0
mov dword [rsp + 0x38], edi
jbe 0x7ff71efcb74c
movss dword [rsp + 0x44], xmm6
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.7ff71efcb110
jmp 0x7ff71efcb780
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fclose]
mov r8d, 0x85d
lea rdx, [0x7ff71f04d950]
lea rcx, [0x7ff71f04de10]
call qword [sym.imp.ucrtbase.dll__wassert]
xor eax, eax
mov r14, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x180]
mov rbx, qword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x160
pop r15
pop rdi
pop rbp
ret