Function at 0x140047550
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rax - 0x78]
sub rsp, 0x160
cmp byte [rcx + 0x18], 0
mov rsi, r9
movaps xmmword [rax - 0x28], xmm6
mov rbx, rdx
movaps xmm6, xmm2
mov r12, rcx
je 0x14004759a
mov r8d, 0xcea
lea rdx, str.C:UsersShovenDesktopmenuimgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbx, rbx
jne 0x1400475b9
mov r8d, 0x87e
lea rdx, str.C:UsersShovenDesktopmenuimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x180], r14
lea rdx, [0x1401555d8]
mov rcx, rbx
mov qword [rsp + 0x188], r15
call fcn.14001b580
mov rdi, rax
test rax, rax
je 0x140047830
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r15d, eax
cmp eax, 0xffffffff
je 0x140047827
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140047827
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd r14, eax
cmp r14d, 0xffffffff
je 0x140047827
xor r8d, r8d
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140047827
cmp r14, 0xffffffffffffffff
je 0x140047827
mov rcx, r14
call fcn.14001f100
mov r15, rax
test rax, rax
je 0x140047827
mov r9, rdi
mov r8, r14
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, r14
je 0x14004768a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r15
call fcn.14001f1b0
jmp 0x140047830
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400476e6
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [rsi + 0x70]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm0
jmp 0x14004774c
xorps xmm0, xmm0
mov eax, 0xffff
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], 0x3f800000
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], 2
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x3c], 1
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x4c], 1
movups xmmword [rsp + 0x50], xmm0
mov dword [rbp - 0x7c], 0x3f800000
movups xmmword [rsp + 0x60], xmm0
mov word [rbp - 0x78], ax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movss xmm0, dword [0x14016bff8]
movss dword [rsp + 0x74], xmm0
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x30], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp - 0x10], xmm1
movups xmm1, xmmword [rax + 0x70]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rax + 0x80]
psrldq xmm2, 0xa
movd eax, xmm2
movaps xmmword [rbp + 0x30], xmm1
movaps xmmword [rbp + 0x40], xmm0
test al, al
jne 0x1400477ff
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], 0
jne 0x1400477b0
add r9, rbx
cmp r9, rbx
jbe 0x1400477dd
movzx ecx, byte [r9 - 1]
lea rax, [r9 - 1]
cmp cl, 0x2f
je 0x1400477dd
cmp cl, 0x5c
je 0x1400477dd
mov r9, rax
cmp rax, rbx
ja 0x1400477c2
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, Ordinal_41
lea rcx, [rbp + 0x1a]
movsd qword [rsp + 0x20], xmm0
call fcn.14001b280
mov rax, qword [rbp + 0xa0]
movaps xmm3, xmm6
mov qword [rsp + 0x28], rax
mov r8d, r14d
lea rax, [rbp - 0x40]
mov rdx, r15
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140047880
jmp 0x14004784c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8d, 0xcef
lea rdx, str.C:UsersShovenDesktopmenuimgui_draw.cpp
lea rcx, str._0____Could_not_load_font_file__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov r15, qword [rsp + 0x188]
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov r14, qword [rsp + 0x180]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret