Function at 0x140036ab0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, qword [rbp + 0x100]
lea r12, str.c:WindowsFontsmsyh.ttc
mov r15, rcx
lea rdx, [0x14005a8d0]
mov rcx, r12
movaps xmm6, xmm2
call fcn.140004d20
mov rbx, rax
test rax, rax
je 0x140036d93
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140036d8a
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 0x140036d8a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140036d8a
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 0x140036d8a
cmp rdi, 0xffffffffffffffff
je 0x140036d8a
mov rcx, rdi
call fcn.140008cb0
mov rsi, rax
test rax, rax
je 0x140036d8a
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 0x140036bb5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.140008d60
jmp 0x140036d93
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 [0x140060920]
xor eax, eax
movss xmm0, dword [0x140060a10]
xorps xmm3, xmm3
mov qword [rbp - 0x50], rax
xorps xmm2, xmm2
movsd xmm10, qword [rbp - 0x50]
mov eax, 0xffff
movups xmmword [rbp - 0x80], xmm3
mov word [rbp - 0x7c], ax
movaps xmm4, xmmword [rbp - 0x80]
xorps xmm8, xmm8
movss xmm4, xmm1
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm0
movaps xmmword [rbp - 0x20], xmm3
movups xmmword [rsp + 0x40], xmm3
mov dword [rsp + 0x48], 2
movups xmmword [rsp + 0x30], xmm3
mov byte [rsp + 0x3c], 1
shufps xmm2, xmm2, 0xe1
movdqa xmm0, xmm4
movaps xmm5, xmmword [rsp + 0x30]
xorps xmm1, xmm1
psrldq xmm0, 6
xorps xmm9, xmm9
movd eax, xmm0
mov dword [rsp + 0x4c], 1
movaps xmm7, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x40], xmm5
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x10], xmm8
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp], xmm2
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm9
movsd qword [rbp + 0x40], xmm10
test al, al
jne 0x140036d03
lea r9, [0x140060769]
nop
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140036cb9
cmp al, 0x5c
je 0x140036cb9
mov r9, rcx
cmp rcx, r12
ja 0x140036ca0
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.140004a50
movaps xmm1, xmmword [rbp + 0x20]
movaps xmm4, xmmword [rbp + 0x10]
movaps xmm2, xmmword [rbp]
movaps xmm3, xmmword [rbp - 0x20]
movaps xmm5, xmmword [rbp - 0x40]
movsd xmm10, qword [rbp + 0x40]
movaps xmm9, xmmword [rbp + 0x30]
movaps xmm8, xmmword [rbp - 0x10]
movaps xmm7, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x30], xmm5
xorps xmm0, xmm0
comiss xmm6, xmm0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], edi
movaps xmmword [rsp + 0x40], xmm7
movaps xmm7, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x60], xmm8
movaps xmm8, xmmword [rsp + 0x180]
movaps xmmword [rbp - 0x60], xmm9
movaps xmm9, xmmword [rsp + 0x170]
movsd qword [rbp - 0x50], xmm10
movaps xmm10, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp - 0x70], xmm1
jbe 0x140036d6a
movss dword [rsp + 0x44], xmm6
mov rax, qword [rsp + 0x68]
lea rdx, [rsp + 0x30]
test r14, r14
mov rcx, r15
cmovne rax, r14
mov qword [rsp + 0x68], rax
call fcn.1400364b0
jmp 0x140036d95
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.1400570a0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret