Function at 0x180013630
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xcd0
mov rax, qword [0x180068400]
xor rax, rsp
mov qword [rsp + 0xcc0], rax
xor edi, edi
lea r8d, [rdi + 2]
lea rdx, str.CONOUT_
lea rcx, [0x1800685d0]
call fcn.180013bd0
xor r8d, r8d
test rax, rax
mov rax, qword [0x1800685c8]
movsxd rcx, dword [rax + 4]
lea rax, [0x1800685c8]
je 0x180013694
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1800136a3
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x180013731
mov r8d, 0x3ff
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
lea rax, [rsp + 0xc0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180013710
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.180006f90
jmp 0x180013766
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x180043b95]
lea rcx, [rsp + 0x80]
call fcn.180006f90
mov rbx, 0xffffffffffffffff
lea rdx, [rsp + 0x80]
call fcn.180014000
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x1800137ba
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800137b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800137b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024194
mov rsi, qword [str.GAMER_YUNUS]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1800137c1
call fcn.180023858
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rbx
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1800125f0
nop
lea rdx, [rsp + 0x50]
call fcn.180012840
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x180013844
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001383f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001383f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024194
lea rbx, [0x1800684a0]
mov rcx, rbx
cmp qword [0x1800684b8], 7
cmova rcx, qword [0x1800684a0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0xa0]
call fcn.180023a0c
mov r8d, eax
test eax, eax
jne 0x1800138d2
mov edx, dword [rsp + 0xb0]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x84], ecx
bt edx, 0xa
jae 0x1800138c4
mov eax, dword [rsp + 0xb4]
cmp eax, 0xa000000c
jne 0x1800138b6
lea edi, [r8 + 4]
jmp 0x1800138f6
cmp eax, 0xa0000003
jne 0x1800138c4
mov edi, 0xa
jmp 0x1800138f6
movzx edi, dl
and edi, 0x10
or edi, 0x20
shr edi, 4
jmp 0x1800138f6
mov dword [rsp + 0x84], 0xffff
sub eax, 2
je 0x1800138f1
sub eax, 1
je 0x1800138f1
sub eax, 0x32
je 0x1800138f1
cmp eax, 0x46
jne 0x1800138f6
mov edi, 1
mov dword [rsp + 0x80], r8d
lea rax, [0x180068468]
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
test edi, edi
jne 0x18001392d
test r8d, r8d
jne 0x180013a96
jmp 0x180013932
cmp edi, 1
jne 0x180013959
cmp qword [0x1800684b8], 7
cmova rbx, qword [0x1800684a0]
mov rcx, rbx
call fcn.180023994
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180013aa3
lea rax, str..
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 5
mov rax, qword [str.GAMER_YUNUS]
mov qword [rsp + 0x60], rax
movabs rax, 0xb000000000000000
mov qword [rsp + 0x50], rax
lea rax, [0x180060410]
mov qword [rsp + 0x68], rax
movabs rax, 0xb000000000000008
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x80], 2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.180008100
nop
lea rdx, [rsp + 0xa0]
call fcn.180014000
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x180013a49
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013a43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180013a43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024194
nop
lea rbx, [0x1800684c0]
mov rcx, rbx
call fcn.180013e60
mov rax, qword [0x1800684c0]
movsxd rcx, dword [rax + 4]
add rcx, rbx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
mov rcx, qword [rsp + 0xcc0]
xor rcx, rsp
call fcn.180023dc0
lea r11, [rsp + 0xcd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rdx, [rsp + 0x80]
call fcn.180013470
shr rdx, 0x20
call fcn.180013410
int3