Function at 0x140039940
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 - 0x78], xmm10
mov rax, qword [0x1400aa020]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, qword [rbp + 0x100]
lea r12, str.C:WindowsFontsmalgun.ttf
mov r15, rcx
lea rdx, [0x14009cb9c]
mov rcx, r12
movaps xmm10, xmm2
call fcn.14000cf80
mov rbx, rax
test rax, rax
je 0x140039c3e
mov rcx, rax
call fcn.14005eb78
mov esi, eax
cmp eax, 0xffffffff
je 0x140039c36
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.14005e090
test eax, eax
jne 0x140039c36
mov rcx, rbx
call fcn.14005eb78
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140039c36
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14005e090
test eax, eax
jne 0x140039c36
cmp rdi, 0xffffffffffffffff
je 0x140039c36
mov rax, qword [0x1400b00e0]
test rax, rax
je 0x140039a12
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.14005e548
mov rsi, rax
test rax, rax
je 0x140039c36
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14005dcc0
mov rcx, rbx
cmp rax, rdi
je 0x140039a65
call fcn.140057b68
mov rax, qword [0x1400b00e0]
test rax, rax
je 0x140039a58
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.14005d688
jmp 0x140039c3e
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm8
movaps xmmword [rsp + 0x170], xmm9
call fcn.140057b68
movss xmm1, dword [0x14009d414]
xor eax, eax
movss xmm0, dword [0x14009d4c4]
xorps xmm4, xmm4
mov qword [rbp - 0x50], rax
xorps xmm3, xmm3
movsd xmm9, qword [rbp - 0x50]
mov eax, 0xffff
movups xmmword [rbp - 0x80], xmm4
mov word [rbp - 0x7c], ax
movaps xmm5, xmmword [rbp - 0x80]
xorps xmm2, xmm2
movss xmm5, xmm1
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
movaps xmmword [rbp - 0x20], xmm4
movups xmmword [rsp + 0x40], xmm4
mov dword [rsp + 0x48], 3
movups xmmword [rsp + 0x30], xmm4
mov byte [rsp + 0x3c], 1
shufps xmm3, xmm3, 0xe1
movdqa xmm0, xmm5
movaps xmm6, xmmword [rsp + 0x30]
xorps xmm1, xmm1
psrldq xmm0, 6
xorps xmm8, xmm8
movd eax, xmm0
mov dword [rsp + 0x4c], 1
movaps xmm7, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp + 0x10], xmm5
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm8
movsd qword [rbp + 0x40], xmm9
test al, al
jne 0x140039bb3
lea r9, [0x14009002b]
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140039b69
cmp al, 0x5c
je 0x140039b69
mov r9, rcx
cmp rcx, r12
ja 0x140039b50
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm10
mov edx, 0x28
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.14000ce50
movaps xmm1, xmmword [rbp + 0x20]
movaps xmm5, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm4, xmmword [rbp - 0x20]
movsd xmm9, qword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp - 0x30]
movaps xmm6, xmmword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm2
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm6
test r14, r14
psrldq xmm2, 8
mov rcx, r15
movq rax, xmm2
movaps xmmword [rsp + 0x40], xmm7
cmovne rax, r14
movss dword [rsp + 0x44], xmm10
mov qword [rsp + 0x68], rax
movaps xmmword [rsp + 0x50], xmm4
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm8
movsd qword [rbp - 0x50], xmm9
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], edi
call fcn.140039690
movaps xmm9, xmmword [rsp + 0x170]
movaps xmm8, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
jmp 0x140039c40
mov rcx, rbx
call fcn.140057b68
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140050300
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret