Function at 0x140021bf0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov rbx, rdx
movaps xmmword [rax - 0x68], xmm10
mov r12, rcx
lea rdx, [0x140047a28]
mov rcx, rbx
movaps xmm10, xmm2
call fcn.1400040b0
mov rdi, rax
test rax, rax
je 0x140021ee4
xor edx, edx
mov r8d, 2
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140021edb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140021edb
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140021edb
mov rax, qword [0x1400e0e50]
mov r14, rsi
test rax, rax
je 0x140021c95
inc dword [rax + 0x3c8]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140021edb
mov r9, rdi
mov r8, r14
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, r14
je 0x140021cec
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400e0e50]
test rax, rax
je 0x140021cde
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140021ee4
mov qword [rsp + 0x1c0], r15
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
mov byte [rsp + 0x3c], 1
xor eax, eax
mov qword [rsp + 0x30], rcx
xorps xmm1, xmm1
mov qword [rbp - 0x5c], rax
xorps xmm0, xmm0
movd eax, xmm1
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x38], ecx
mov rdi, r14
mov qword [rsp + 0x40], rcx
mov r15, rsi
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
mov byte [rsp + 0x50], cl
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], 0x7f7fffff
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ecx
mov dword [rbp - 0x80], 0x3f800000
mov qword [rbp - 0x50], rcx
movsd xmm9, qword [rbp - 0x50]
movsd qword [rbp + 0x40], xmm9
movups xmm0, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm2
movups xmm3, xmmword [rsp + 0x50]
movups xmm4, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x20], xmm3
movaps xmmword [rbp - 0x10], xmm4
movups xmm5, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x7c], xmm1
movaps xmmword [rbp], xmm5
movups xmm6, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x6c], xmm1
movaps xmmword [rbp + 0x10], xmm6
movups xmm7, xmmword [rbp - 0x70]
movups xmm8, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x20], xmm7
movaps xmmword [rbp + 0x30], xmm8
test al, al
jne 0x140021e66
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], cl
jne 0x140021df0
add r9, rbx
cmp r9, rbx
jbe 0x140021e1c
movzx ecx, byte [r9 - 1]
lea rax, [r9 - 1]
cmp cl, 0x2f
je 0x140021e1c
cmp cl, 0x5c
je 0x140021e1c
mov r9, rax
cmp rax, rbx
ja 0x140021e01
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm10
mov edx, 0x28
lea rcx, [rbp + 0x14]
movsd qword [rsp + 0x20], xmm0
call fcn.140003ed0
movaps xmm5, xmmword [rbp]
movaps xmm4, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmm0, xmmword [rbp - 0x40]
movsd xmm9, qword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp + 0x20]
movaps xmm6, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm2
mov rcx, r12
movss dword [rsp + 0x44], xmm10
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], edi
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm5
movaps xmmword [rbp - 0x80], xmm6
movaps xmmword [rbp - 0x70], xmm7
movaps xmmword [rbp - 0x60], xmm8
movsd qword [rbp - 0x50], xmm9
call fcn.140021970
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
mov r15, qword [rsp + 0x1c0]
jmp 0x140021ee6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r14
pop r12
pop rbp
ret