Function at 0x140023090
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov r14, rcx
movaps xmmword [rax - 0x68], xmm10
lea r15, str.C:WindowsFonts_tahoma.ttf
movaps xmm10, xmm2
mov rcx, r15
lea rdx, [0x140057eb0]
call fcn.140005c90
mov rbx, rax
test rax, rax
je 0x140023389
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 0x140023380
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140023380
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140023380
mov rax, qword [0x1400fb680]
mov rsi, rdi
test rax, rax
je 0x140023137
inc dword [rax + 0x3c8]
mov rdx, qword [0x1400fb670]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, rax
test rax, rax
je 0x140023380
mov r9, rbx
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, rbx
cmp rax, rsi
je 0x14002319a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400fb680]
test rax, rax
je 0x140023186
dec dword [rax + 0x3c8]
mov rdx, qword [0x1400fb670]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140023389
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]
movss xmm1, dword [0x1400cbdd0]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [rsp + 0x70], ecx
movups xmmword [rsp + 0x54], xmm0
xor eax, eax
mov byte [rsp + 0x78], cl
movss xmm0, dword [0x1400cbf6c]
xorps xmm2, xmm2
movups xmmword [rbp - 0x7c], xmm2
mov dword [rsp + 0x7c], ecx
movups xmm3, xmmword [rsp + 0x70]
mov qword [rbp - 0x5c], rax
movups xmmword [rbp - 0x6c], xmm2
mov qword [rsp + 0x30], rcx
movups xmm8, xmmword [rbp - 0x60]
mov dword [rsp + 0x38], ecx
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
mov byte [rsp + 0x3c], 1
movups xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x40], rcx
movups xmm4, xmmword [rsp + 0x30]
mov dword [rsp + 0x48], 3
movss xmm0, xmm1
shufps xmm3, xmm3, 0xe1
movups xmm1, xmmword [rbp - 0x70]
mov dword [rsp + 0x4c], 1
movups xmm5, xmmword [rsp + 0x40]
mov byte [rsp + 0x50], cl
movups xmm6, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
movups xmm7, xmmword [rsp + 0x60]
mov qword [rbp - 0x50], rcx
movsd xmm9, qword [rbp - 0x50]
movd eax, xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm5
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rbp], xmm3
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x30], xmm8
movsd qword [rbp + 0x40], xmm9
movups xmmword [rsp + 0x70], xmm3
movups xmmword [rbp - 0x80], xmm0
test al, al
jne 0x140023313
lea r9, [0x1400cb75c]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x1400232c9
cmp al, 0x5c
je 0x1400232c9
mov r9, rcx
cmp rcx, r15
ja 0x1400232b0
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.140005a20
movaps xmm1, xmmword [rbp + 0x20]
movaps xmm0, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp]
movaps xmm5, xmmword [rbp - 0x30]
movaps xmm4, xmmword [rbp - 0x40]
movsd xmm9, qword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp - 0x10]
movaps xmm6, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x30], xmm4
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm5
mov rcx, r14
movss dword [rsp + 0x44], xmm10
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x38], esi
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm8
movsd qword [rbp - 0x50], xmm9
call fcn.140022e50
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
jmp 0x14002338b
mov rcx, rbx
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 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret