Function at 0x140021db0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push r12
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x14004d040]
xor rax, rsp
mov qword [rbp + 0x50], rax
cmp byte [rcx], 0
movaps xmm6, xmm2
mov r15, rcx
je 0x140021dfe
mov r8d, 0x632
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui_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]
mov qword [rsp + 0x1a8], rsi
lea r12, str.fortnite.otf
mov rcx, r12
mov qword [rsp + 0x1b8], rdi
lea rdx, [0x14003fb78]
mov qword [rsp + 0x170], r14
call fcn.1400025e0
mov rbx, rax
test rax, rax
je 0x1400220aa
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400220a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd r14, eax
cmp r14d, 0xffffffff
je 0x1400220a1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400220a1
mov rcx, qword [0x14004dd30]
test rcx, rcx
je 0x140021e8d
inc dword [rcx + 0x3c8]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400220a1
mov r9, rbx
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, rbx
cmp rax, r14
je 0x140021ee4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004dd30]
test rax, rax
je 0x140021ed6
dec dword [rax + 0x3c8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400220aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
mov dword [rsp + 0x48], 3
xorps xmm2, xmm2
mov qword [rsp + 0x5c], rcx
xor eax, eax
mov qword [rsp + 0x40], rcx
movups xmmword [rbp - 0x7c], xmm2
mov qword [rbp - 0x5c], rax
movups xmmword [rbp - 0x6c], xmm2
mov byte [rsp + 0x50], cl
mov qword [rsp + 0x54], rcx
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
mov dword [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x68], rcx
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], 0x7f7fffff
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ecx
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm1
movaps xmm1, xmmword [rbp - 0x70]
mov dword [rbp - 0x80], 0x3f800000
movaps xmm0, xmmword [rbp - 0x80]
movd eax, xmm2
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x20], xmm1
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x3c], 1
movaps xmm3, xmmword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
movsd xmm1, qword [rbp - 0x50]
movaps xmmword [rbp + 0x30], xmm0
movsd qword [rbp + 0x40], xmm1
movaps xmmword [rbp - 0x40], xmm3
test al, al
jne 0x140021fef
lea r9, [0x140045b7c]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140021fc9
cmp al, 0x5c
je 0x140021fc9
mov r9, rcx
cmp rcx, r12
ja 0x140021fb0
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x14]
movsd qword [rsp + 0x20], xmm0
call fcn.140002400
movaps xmm3, xmmword [rbp - 0x40]
cmp byte [r15], 0
je 0x140022013
mov r8d, 0x648
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui_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 0x140022082
mov r8d, 0x64a
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rdx, [rsp + 0x30]
movss dword [rsp + 0x44], xmm6
mov rcx, r15
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x38], r14d
call fcn.140021ab0
jmp 0x1400220c6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8d, 0x637
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui_draw.cpp
lea rcx, [0x14003d750]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov r14, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x1b8]
mov rsi, qword [rsp + 0x1a8]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14003ac50
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop r15
pop r12
pop rbx
pop rbp
ret