Function at 0x140024230
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
push r12
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
cmp byte [rcx + 0x18], 0
mov r15, r9
movaps xmmword [rax - 0x28], xmm6
mov rbx, rdx
movaps xmm6, xmm2
mov r12, rcx
je 0x14002427e
mov r8d, 0x898
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui_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 0x14002429d
mov r8d, 0x748
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x1b0], rsi
lea rdx, [0x140142fe8]
mov rcx, rbx
mov qword [rsp + 0x1b8], r14
call fcn.140003f70
mov rdi, rax
test rax, rax
je 0x1400245eb
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x1400245e2
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400245e2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400245e2
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400245e2
cmp rsi, 0xffffffffffffffff
je 0x1400245e2
mov rax, qword [0x1401668b0]
test rax, rax
je 0x14002433e
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x1400245e2
mov r9, rdi
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, rdi
cmp rax, rsi
je 0x140024395
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401668b0]
test rax, rax
je 0x140024387
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400245eb
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm8
movaps xmmword [rsp + 0x150], xmm9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r15, r15
je 0x1400243ec
movaps xmm2, xmmword [r15]
movaps xmm1, xmmword [r15 + 0x10]
movaps xmm3, xmmword [r15 + 0x20]
movaps xmm4, xmmword [r15 + 0x30]
movaps xmm5, xmmword [r15 + 0x40]
movaps xmm0, xmmword [r15 + 0x50]
movaps xmm7, xmmword [r15 + 0x60]
movaps xmm8, xmmword [r15 + 0x70]
movsd xmm9, qword [r15 + 0x80]
jmp 0x140024458
xorps xmm3, xmm3
xor eax, eax
movups xmmword [rsp + 0x40], xmm3
mov qword [rbp - 0x50], rax
mov eax, 0xffff
movsd xmm9, qword [rbp - 0x50]
xorps xmm4, xmm4
movups xmmword [rbp - 0x80], xmm3
mov word [rbp - 0x7c], ax
movups xmmword [rsp + 0x30], xmm3
mov byte [rsp + 0x3c], 1
movups xmm2, xmmword [rsp + 0x30]
mov dword [rsp + 0x48], 3
movups xmmword [rsp + 0x70], xmm3
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x74], 0x7f7fffff
xorps xmm7, xmm7
movups xmm1, xmmword [rsp + 0x40]
mov dword [rbp - 0x80], 0x3f800000
movups xmm0, xmmword [rbp - 0x80]
movups xmm5, xmmword [rsp + 0x70]
xorps xmm8, xmm8
movaps xmmword [rbp + 0x10], xmm0
mov rdi, rsi
psrldq xmm0, 6
mov r15, r14
movd eax, xmm0
movaps xmmword [rbp + 0x20], xmm7
movaps xmm7, xmmword [rsp + 0x170]
movaps xmmword [rbp + 0x30], xmm8
movaps xmm8, xmmword [rsp + 0x160]
movsd qword [rbp + 0x40], xmm9
movaps xmm9, xmmword [rsp + 0x150]
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm3
movaps xmmword [rbp - 0x10], xmm4
movaps xmmword [rbp], xmm5
test al, al
jne 0x14002450f
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x1400244b3
add r9, rbx
cmp r9, rbx
jbe 0x1400244e9
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x1400244e9
cmp al, 0x5c
je 0x1400244e9
mov r9, rcx
cmp rcx, rbx
ja 0x1400244d0
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, Ordinal_41
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.140003d80
movaps xmm2, xmmword [rbp - 0x40]
cmp byte [r12 + 0x18], 0
je 0x140024535
mov r8d, 0x8ae
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui_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]
movaps xmm2, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movq rax, xmm2
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
movaps xmmword [rsp + 0x30], xmm2
test rax, rax
je 0x1400245a4
mov r8d, 0x8b0
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
comiss xmm6, xmm0
mov dword [rsp + 0x38], edi
jbe 0x1400245bb
movss dword [rsp + 0x44], xmm6
mov rax, qword [rbp + 0xd0]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x68], rcx
mov rcx, r12
call fcn.140023ef0
jmp 0x140024607
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8d, 0x89d
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui_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 r14, qword [rsp + 0x1b8]
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsi, qword [rsp + 0x1b0]
mov rsp, r11
pop r15
pop r12
pop rbp
ret