Function at 0x1400220f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x148]
sub rsp, 0x248
movaps xmmword [rsp + 0x1f0], xmm10
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rdx
mov r13, rcx
mov rcx, rbx
lea rdx, [0x1400d1828]
mov rsi, r9
movaps xmm10, xmm2
call fcn.1400033f0
mov rdi, rax
test rax, rax
je 0x140022471
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140022468
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd r12, eax
cmp r12d, 0xffffffff
je 0x140022468
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 0x140022468
mov rcx, qword [0x140173030]
test rcx, rcx
je 0x1400221a3
inc dword [rcx + 0x3c8]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x140022468
mov r9, rdi
mov r8, r12
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, r12
je 0x1400221fa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140173030]
test rax, rax
je 0x1400221ec
dec dword [rax + 0x3c8]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140022471
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm7
movaps xmmword [rsp + 0x210], xmm8
movaps xmmword [rsp + 0x200], xmm9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140022279
movaps xmm0, xmmword [rsi]
lea rax, [rbp - 0x40]
movaps xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [rsi + 0x20]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm0, xmmword [rsi + 0x40]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [rsi + 0x30]
movaps xmmword [rbp], xmm0
movaps xmm0, xmmword [rsi + 0x60]
movaps xmmword [rbp - 0x10], xmm1
movaps xmm1, xmmword [rsi + 0x50]
movaps xmmword [rbp + 0x20], xmm0
movsd xmm0, qword [rsi + 0x80]
movaps xmmword [rbp + 0x10], xmm1
movaps xmm1, xmmword [rsi + 0x70]
movsd qword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm1
jmp 0x1400222e6
xor ecx, ecx
mov byte [rsp + 0x3c], 1
xor eax, eax
mov qword [rsp + 0x30], rcx
xorps xmm1, xmm1
mov qword [rbp - 0x5c], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
mov byte [rsp + 0x50], cl
mov qword [rsp + 0x54], rcx
mov qword [rsp + 0x5c], rcx
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
movups xmmword [rbp - 0x7c], xmm1
mov qword [rbp - 0x50], rcx
movups xmmword [rbp - 0x6c], xmm1
movaps xmm1, xmmword [rax + 0x50]
movaps xmm2, xmmword [rax]
movdqa xmm0, xmm1
movaps xmm3, xmmword [rax + 0x10]
movaps xmm4, xmmword [rax + 0x20]
movaps xmm5, xmmword [rax + 0x30]
movaps xmm6, xmmword [rax + 0x40]
movaps xmm7, xmmword [rax + 0x60]
movaps xmm8, xmmword [rax + 0x70]
movsd xmm9, qword [rax + 0x80]
psrldq xmm0, 4
movd eax, xmm0
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm3
movaps xmmword [rbp + 0x70], xmm4
movaps xmmword [rbp + 0x80], xmm5
movaps xmmword [rbp + 0x90], xmm6
movaps xmmword [rbp + 0xa0], xmm1
movaps xmmword [rbp + 0xb0], xmm7
movaps xmmword [rbp + 0xc0], xmm8
movsd qword [rbp + 0xd0], xmm9
test al, al
jne 0x1400223fa
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x140022364
add r9, rbx
cmp r9, rbx
jbe 0x14002239b
nop word [rax + rax]
movzx ecx, byte [r9 - 1]
lea rax, [r9 - 1]
cmp cl, 0x2f
je 0x14002239b
cmp cl, 0x5c
je 0x14002239b
mov r9, rax
cmp rax, rbx
ja 0x140022380
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm10
mov edx, Ordinal_41
lea rcx, [rbp + 0xa4]
movsd qword [rsp + 0x20], xmm0
call fcn.140003210
movaps xmm1, xmmword [rbp + 0xa0]
movaps xmm5, xmmword [rbp + 0x80]
movaps xmm4, xmmword [rbp + 0x70]
movaps xmm3, xmmword [rbp + 0x60]
movaps xmm2, xmmword [rbp + 0x50]
movsd xmm9, qword [rbp + 0xd0]
movaps xmm8, xmmword [rbp + 0xc0]
movaps xmm7, xmmword [rbp + 0xb0]
movaps xmm6, xmmword [rbp + 0x90]
movaps xmmword [rsp + 0x30], xmm2
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm3
mov rcx, r13
movss dword [rsp + 0x44], xmm10
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], r12d
movaps xmmword [rsp + 0x50], xmm4
movaps xmmword [rsp + 0x60], xmm5
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp - 0x70], xmm7
movaps xmmword [rbp - 0x60], xmm8
movsd qword [rbp - 0x50], xmm9
call fcn.140021e70
movaps xmm9, xmmword [rsp + 0x200]
movaps xmm8, xmmword [rsp + 0x210]
movaps xmm7, xmmword [rsp + 0x220]
movaps xmm6, xmmword [rsp + 0x230]
jmp 0x140022473
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400bd930
movaps xmm10, xmmword [rsp + 0x1f0]
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret