Function at 0x140021970
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
cmp byte [rcx], 0
mov r14, rcx
movaps xmmword [rsp + 0x150], xmm6
movaps xmm6, xmm2
je 0x1400219b3
mov r8d, 0x76a
lea rdx, str.C:Users692DownloadsSpooferSpooferimguiimgui_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]
lea r15, str.C:WindowsFontsArial.ttf
mov qword [rsp + 0x180], rsi
mov rcx, r15
mov qword [rsp + 0x188], rdi
lea rdx, [0x140036130]
call fcn.140002840
mov rbx, rax
test rax, rax
je 0x140021c92
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140021c89
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 0x140021c89
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140021c89
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 0x140021c89
cmp rdi, 0xffffffffffffffff
je 0x140021c89
mov rax, qword [0x1400423a0]
test rax, rax
je 0x140021a57
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140021c89
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 0x140021aae
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400423a0]
test rax, rax
je 0x140021aa0
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140021c92
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
mov dword [rsp + 0x48], 3
xorps xmm0, xmm0
mov qword [rsp + 0x40], rcx
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x4c], 1
mov eax, 0xffff
xorps xmm2, xmm2
mov word [rbp - 0x7c], ax
movups xmm0, xmmword [rsp + 0x40]
xor eax, eax
mov byte [rsp + 0x50], cl
movups xmm1, xmmword [rsp + 0x50]
mov qword [rbp - 0x5a], rax
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x7a], xmm2
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsp + 0x60]
mov dword [rsp + 0x70], ecx
movups xmmword [rbp - 0x6a], xmm2
mov dword [rsp + 0x74], 0x7f7fffff
movaps xmmword [rbp - 0x10], xmm0
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ecx
movups xmm1, xmmword [rsp + 0x70]
mov dword [rbp - 0x80], 0x3f800000
movups xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x30], rcx
movaps xmmword [rbp], xmm1
movups xmm1, xmmword [rbp - 0x70]
mov dword [rsp + 0x38], ecx
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rbp - 0x60]
mov byte [rsp + 0x3c], 1
movups xmm3, xmmword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
movd eax, xmm2
movaps xmmword [rbp + 0x20], xmm1
movsd xmm1, qword [rbp - 0x50]
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm3
movsd qword [rbp + 0x40], xmm1
test al, al
jne 0x140021bc0
lea r9, [0x14003c1ca]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140021b9a
cmp al, 0x5c
je 0x140021b9a
mov r9, rcx
cmp rcx, r15
ja 0x140021b81
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.140002710
movaps xmm3, xmmword [rbp - 0x40]
cmp byte [r14], 0
je 0x140021be4
mov r8d, 0x780
lea rdx, str.C:Users692DownloadsSpooferSpooferimguiimgui_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 xmm3, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movq rax, xmm3
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], xmm3
test rax, rax
je 0x140021c53
mov r8d, 0x782
lea rdx, str.C:Users692DownloadsSpooferSpooferimguiimgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0xa0]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
test rax, rax
movss dword [rsp + 0x44], xmm6
cmovne rcx, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x68], rcx
mov rcx, r14
mov dword [rsp + 0x38], edi
call fcn.140021630
jmp 0x140021cae
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8d, 0x76f
lea rdx, str.C:Users692DownloadsSpooferSpooferimguiimgui_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 rdi, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x180]
mov rbx, qword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x160
pop r15
pop r14
pop rbp
ret