Function at 0x140078f50
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x1400c8008]
xor rax, rsp
mov qword [rbp + 0x50], rax
cmp byte [rcx + 0x18], 0
movaps xmm6, xmm2
mov rbx, rdx
mov r15, rcx
je 0x140078fa1
mov r8d, 0x861
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui_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 0x140078fc0
mov r8d, 0x808
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x1b8], rsi
lea rdx, [0x1400a4e40]
mov rcx, rbx
mov qword [rsp + 0x170], r14
call fcn.14003c410
mov rdi, rax
test rax, rax
je 0x140079284
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x14007927b
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 0x14007927b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14007927b
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 0x14007927b
cmp rsi, 0xffffffffffffffff
je 0x14007927b
mov rax, qword [0x1400cd240]
test rax, rax
je 0x14007905f
inc dword [rax + 0xfc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x14007927b
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 0x1400790b6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cd240]
test rax, rax
je 0x1400790a8
dec dword [rax + 0xfc]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140079284
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movss xmm1, dword [0x1400b5c34]
xorps xmm3, xmm3
movss xmm2, dword [0x1400b5b44]
xor eax, eax
movups xmmword [rsp + 0x40], xmm3
mov qword [rbp - 0x50], rax
mov rdi, rsi
movups xmmword [rbp - 0x80], xmm3
mov eax, 0xffff
mov dword [rsp + 0x48], 3
mov word [rbp - 0x7c], ax
movups xmmword [rsp + 0x30], xmm3
mov dword [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
xorps xmm0, xmm0
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
mov byte [rsp + 0x3c], 1
movaps xmm1, xmmword [rbp - 0x80]
movaps xmm4, xmmword [rsp + 0x30]
movss xmm1, xmm2
shufps xmm0, xmm0, 0xe1
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp + 0x10], xmm1
psrldq xmm1, 6
movd eax, xmm1
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp], xmm0
movsd xmm0, qword [rbp - 0x50]
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x20], xmm3
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp + 0x20], xmm3
movaps xmmword [rbp + 0x30], xmm3
movsd qword [rbp + 0x40], xmm0
test al, al
jne 0x1400791c1
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rbx + r9], 0
jne 0x140079170
add r9, rbx
cmp r9, rbx
jbe 0x14007919b
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x14007919b
cmp al, 0x5c
je 0x14007919b
mov r9, rcx
cmp rcx, rbx
ja 0x140079182
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.14003c1c0
movaps xmm4, xmmword [rbp - 0x40]
cmp byte [r15 + 0x18], 0
je 0x1400791e6
mov r8d, 0x877
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui_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 xmm4, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movq rax, xmm4
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], xmm4
test rax, rax
je 0x140079255
mov r8d, 0x879
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui_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], r14
comiss xmm6, xmm0
mov dword [rsp + 0x38], edi
jbe 0x14007926c
movss dword [rsp + 0x44], xmm6
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140078c00
jmp 0x1400792a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8d, 0x866
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui_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 + 0x170]
mov rsi, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400997a0
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop r15
pop rdi
pop rbx
pop rbp
ret