Function at 0x18002a920
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
movaps xmmword [rsp + 0x1a0], xmm6
mov rax, qword [0x18004e010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, rcx
lea r15, str.C:WindowsFontsArial.ttf
mov rcx, r15
lea rdx, [0x180044870]
movaps xmm6, xmm2
call fcn.180007f70
mov rbx, rax
test rax, rax
je 0x18002abe0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18002abd7
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18002abd7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18002abd7
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18002abd7
cmp rdi, 0xffffffffffffffff
je 0x18002abd7
mov rcx, rdi
call fcn.18000b290
mov rsi, rax
test rax, rax
je 0x18002abd7
mov r9, rbx
mov r8, rdi
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, rdi
je 0x18002aa1c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.18000b340
jmp 0x18002abe0
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]
movss xmm1, dword [0x18004531c]
xorps xmm2, xmm2
movups xmmword [rbp - 0x80], xmm2
mov dword [rbp - 0x80], 0x3f800000
mov eax, 0xffff
xorps xmm3, xmm3
mov word [rbp - 0x78], ax
movups xmmword [rsp + 0x40], xmm2
mov dword [rbp - 0x7c], 0x3f800000
shufps xmm3, xmm3, 0xe1
xorps xmm7, xmm7
movss xmm3, xmm1
mov dword [rsp + 0x48], 2
movaps xmm1, xmmword [rbp - 0x80]
xorps xmm8, xmm8
movups xmmword [rsp + 0x30], xmm2
mov byte [rsp + 0x3c], 1
shufps xmm3, xmm3, 0xe1
movdqa xmm0, xmm1
movaps xmm4, xmmword [rsp + 0x30]
xorps xmm9, xmm9
psrldq xmm0, 0xa
xorps xmm10, xmm10
movd eax, xmm0
mov dword [rsp + 0x4c], 1
movaps xmm5, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm5
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp], xmm3
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp + 0x20], xmm8
movaps xmmword [rbp + 0x30], xmm9
movaps xmmword [rbp + 0x40], xmm10
test al, al
jne 0x18002ab62
lea r9, [0x18003ea92]
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x18002ab19
cmp al, 0x5c
je 0x18002ab19
mov r9, rcx
cmp rcx, r15
ja 0x18002ab00
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x1a]
movsd qword [rsp + 0x20], xmm0
call fcn.180007db0
movaps xmm1, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp]
movaps xmm2, xmmword [rbp - 0x20]
movaps xmm5, xmmword [rbp - 0x30]
movaps xmm4, xmmword [rbp - 0x40]
movaps xmm10, xmmword [rbp + 0x40]
movaps xmm9, xmmword [rbp + 0x30]
movaps xmm8, xmmword [rbp + 0x20]
movaps xmm7, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x30], xmm4
xorps xmm0, xmm0
comiss xmm6, xmm0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], edi
movaps xmmword [rsp + 0x60], 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], xmm5
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm1
jbe 0x18002abc8
movss dword [rsp + 0x44], xmm6
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.18002a330
jmp 0x18002abe2
mov rcx, rbx
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.18003b630
mov rbx, qword [rsp + 0x1e8]
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret