Function at 0x14005c3d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x140095040]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
lea rdx, [rbp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rsi, [r15 - 1]
test eax, eax
je 0x14005c4a5
lea rax, [rbp + 0xa0]
mov rdx, rsi
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14005c450
mov rax, qword [rbp - 0x80]
cmp rdx, rax
ja 0x14005c494
lea rdi, [rsp + 0x68]
cmp rax, 7
cmova rdi, qword [rsp + 0x68]
mov qword [rsp + 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r15w
jmp 0x14005c4a5
lea r9, [rbp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.140052460
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x68]
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14005f570
cmp qword [rax + 0x18], 0xf
jbe 0x14005c4dd
mov rax, qword [rax]
mov r9, rax
lea r8, str._sog.log
mov edx, 0x104
lea r14, [0x140096120]
mov rcx, r14
call fcn.140053850
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14005c53b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c536
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072944
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
inc rsi
cmp byte [r14 + rsi], 0
jne 0x14005c545
call fcn.140073508
mov edi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
mov dword [rsp + 0x30], 4
test rsi, rsi
je 0x14005c5ee
cmp rsi, 0x7fffffff
ja 0x14005c96b
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, eax
call fcn.140073530
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x14005c971
movsxd rdx, ebx
lea rcx, [rsp + 0x48]
call fcn.140051c20
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova r9, qword [rsp + 0x48]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r14
mov ecx, edi
call fcn.140073530
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14005c961
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x48]
call fcn.140055710
movzx ebx, al
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14005c648
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c643
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c643
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072944
test bl, bl
jne 0x14005c665
mov dword [0x1400965a8], 1
mov dword [0x1400965a4], 1
jmp 0x14005c751
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.14005d650
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140087c90]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x30], 0xb
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.140066bc0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.14005d570
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14005c751
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c74c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c74c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072944
xor ecx, ecx
call fcn.1400324d0
mov rax, qword [0x140096110]
test rax, rax
jne 0x14005c785
mov r8d, 0x997
lea rdx, str.C:Users_bravedev_riderOMNi_Loaderextimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140096110]
movaps xmm0, xmmword [0x140087de0]
movups xmmword [rax + 0x171c], xmm0
movaps xmm1, xmmword [0x140087dd0]
movups xmmword [rax + 0x179c], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x17ac], xmm1
movaps xmm1, xmmword [0x140087df0]
movups xmmword [rax + 0x172c], xmm1
movaps xmm0, xmmword [0x140087c50]
movups xmmword [rax + 0x174c], xmm0
movaps xmm1, xmmword [0x140087dc0]
movups xmmword [rax + 0x176c], xmm1
movaps xmm0, xmm1
movups xmmword [rax + 0x177c], xmm1
movups xmmword [rax + 0x184c], xmm1
mov dword [rax + 0x170c], 0x3ebd70a4
mov dword [rax + 0x1710], 0x3ebd70a4
mov dword [rax + 0x1714], 0x3ebd70a4
mov dword [rax + 0x1718], 0x3f800000
test rax, rax
jne 0x14005c834
mov r8d, 0x997
lea rdx, str.C:Users_bravedev_riderOMNi_Loaderextimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140096110]
mov dword [rax + 0x163c], 0x40800000
mov dword [rax + 0x1640], 0x40800000
mov qword [rax + 0x1644], 0x40a00000
mov dword [rax + 0x167c], 0x40400000
mov dword [rax + 0x1660], 0x41a00000
mov dword [rax + 0x1678], 0x40400000
xorps xmm1, xmm1
movss xmm0, dword [0x140095340]
ucomiss xmm0, xmm1
jp 0x14005c8f1
jne 0x14005c8f1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm2, dword [rsp + 0x44]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rsp + 0x40]
cvtdq2ps xmm1, xmm1
movss dword [0x140095338], xmm1
movss dword [0x14009533c], xmm2
subss xmm2, dword [0x14009534c]
mulss xmm2, dword [0x140087aac]
subss xmm1, dword [0x140095348]
mulss xmm1, dword [0x140087aac]
movss dword [0x140095340], xmm1
movss dword [0x140095344], xmm2
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14005c935
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c930
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c930
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072944
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140072530
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rcx, 0x20
call fcn.140054980
int3
call fcn.1400546b0
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.140054980
int3