Function at 0x140028e40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm6
mov rax, qword [0x140138040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov r12, rcx
mov rcx, rbx
lea rdx, [0x140118868]
movaps xmm6, xmm2
call fcn.140006610
mov rdi, rax
test rax, rax
je 0x14002911c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140029113
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140029113
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140029113
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140029113
cmp rsi, 0xffffffffffffffff
je 0x140029113
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140029113
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x140028f3b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002911c
mov qword [rsp + 0x1b0], r15
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm8
movaps xmmword [rsp + 0x170], xmm9
movaps xmmword [rsp + 0x160], xmm10
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xorps xmm5, xmm5
movups xmmword [rbp - 0x80], xmm2
mov dword [rbp - 0x80], 0x3f800000
mov rdi, rsi
movups xmmword [rsp + 0x40], xmm2
mov dword [rbp - 0x7c], 0x3f800000
mov r15, r14
movups xmmword [rsp + 0x30], xmm2
mov dword [rbp - 0x78], 0xffffffff
movaps xmm1, xmmword [rbp - 0x80]
xorps xmm8, xmm8
movups xmmword [rsp + 0x70], xmm2
mov byte [rsp + 0x3c], 1
movaps xmm3, xmmword [rsp + 0x30]
movdqa xmm0, xmm1
psrldq xmm0, 0xc
xorps xmm9, xmm9
movd eax, xmm0
xorps xmm10, xmm10
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x4c], 1
movaps xmm4, xmmword [rsp + 0x40]
mov dword [rsp + 0x74], 0x7f7fffff
movaps xmm7, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm3
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x10], xmm5
movaps xmmword [rbp], xmm7
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp + 0x20], xmm8
movaps xmmword [rbp + 0x30], xmm9
movaps xmmword [rbp + 0x40], xmm10
test al, al
jne 0x140029096
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], 0
jne 0x140029020
add r9, rbx
cmp r9, rbx
jbe 0x14002904d
movzx ecx, byte [r9 - 1]
lea rax, [r9 - 1]
cmp cl, 0x2f
je 0x14002904d
cmp cl, 0x5c
je 0x14002904d
mov r9, rax
cmp rax, rbx
ja 0x140029032
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x1c]
movsd qword [rsp + 0x20], xmm0
call fcn.140006340
movaps xmm1, xmmword [rbp + 0x10]
movaps xmm5, xmmword [rbp - 0x10]
movaps xmm2, xmmword [rbp - 0x20]
movaps xmm4, xmmword [rbp - 0x30]
movaps xmm3, xmmword [rbp - 0x40]
movaps xmm10, xmmword [rbp + 0x40]
movaps xmm9, xmmword [rbp + 0x30]
movaps xmm8, xmmword [rbp + 0x20]
movaps xmm7, xmmword [rbp]
movaps xmmword [rsp + 0x30], xmm3
xorps xmm0, xmm0
comiss xmm6, xmm0
mov qword [rsp + 0x30], r15
mov r15, qword [rsp + 0x1b0]
mov dword [rsp + 0x38], edi
movaps xmmword [rsp + 0x70], xmm7
movaps xmm7, xmmword [rsp + 0x190]
movaps xmmword [rbp - 0x70], xmm8
movaps xmm8, xmmword [rsp + 0x180]
movaps xmmword [rbp - 0x60], xmm9
movaps xmm9, xmmword [rsp + 0x170]
movaps xmmword [rbp - 0x50], xmm10
movaps xmm10, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x40], xmm4
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm5
movaps xmmword [rbp - 0x80], xmm1
jbe 0x140029104
movss dword [rsp + 0x44], xmm6
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400288c0
jmp 0x14002911e
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400f62c0
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret