Function at 0x18000e4f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x1800a93c0]
xor rax, rsp
mov qword [rbp + 0x360], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x18000efcb
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x18]
call fcn.180005f40
nop
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x28]
sub rax, rsi
cmp rax, 0x2e
jb 0x18000f001
lea r15, [rbp + 0x18]
mov r13, qword [rbp + 0x18]
mov r12, qword [rbp + 0x30]
cmp r12, 7
cmova r15, r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea r14, [rsi + 0x2e]
mov ebx, 7
lea rdi, [rbp - 0x48]
cmp r14, rbx
jbe 0x18000e641
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x18000e609
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x18000e635
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000f007
mov rcx, rax
call fcn.180065ca0
test rax, rax
je 0x18000ef70
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000e63d
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x18000f007
add rcx, rcx
jne 0x18000e5d4
xor edi, edi
jmp 0x18000e63d
call fcn.180065ca0
mov rdi, rax
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [str.My_GamesRocket_LeagueTAGameLogsLaunch.log]
movups xmmword [rdi + rbx], xmm0
movaps xmm1, xmmword [0x18006d6f0]
movups xmmword [rdi + rbx + 0x10], xmm1
movaps xmm0, xmmword [0x18006d700]
movups xmmword [rdi + rbx + 0x20], xmm0
movaps xmm1, xmmword [0x18006d710]
movups xmmword [rdi + rbx + 0x30], xmm1
movaps xmm0, xmmword [0x18006d720]
movups xmmword [rdi + rbx + 0x40], xmm0
movsd xmm0, qword [0x18006d730]
movsd qword [rdi + rbx + 0x50], xmm0
mov eax, dword [0x18006d738]
mov dword [rdi + rbx + 0x58], eax
xor ebx, ebx
mov word [rdi + r14*2], bx
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x38]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x48]
cmova rdx, qword [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.180006640
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova rdx, qword [rbp - 8]
lea rcx, [rbp + 0x40]
call fcn.180013440
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
cmp qword [rbp + 0xd0], rbx
je 0x18000eea3
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], bl
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], bl
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], bl
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
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, [rbp - 0x68]
lea rcx, [rbp + 0x40]
call fcn.180018270
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x18000ea18
nop dword [rax + rax]
lea rcx, [rbp - 0x68]
mov rdi, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x50]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], 0xc
lea r9, str.ServerName_
xor r8d, r8d
mov rbx, qword [rbp - 0x58]
mov rdx, rbx
call fcn.180002a90
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x18000e8d9
lea rcx, [rbp - 0x68]
cmp rsi, 0xf
cmova rcx, rdi
lea r14, [rax + 0xc]
mov qword [rsp + 0x20], 1
lea r9, [0x18006d5e8]
mov r8, r14
mov rdx, rbx
call fcn.180002a90
cmp rax, 0xffffffffffffffff
je 0x18000e8d9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
cmp rbx, r14
jb 0x18000effb
sub rax, r15
lea r8, [rax - 0xc]
sub rbx, r14
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 0x68]
cmp rsi, 0xf
cmova rdx, rdi
add rdx, r14
lea rcx, [rsp + 0x38]
call fcn.180002b60
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x18000e8b9
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e8b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ed36
call fcn.180066054
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm1
mov rsi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], 9
lea r9, str.GameURL_
xor r8d, r8d
mov rdx, rbx
call fcn.180002a90
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x18000e9d8
lea rcx, [rbp - 0x68]
cmp rsi, 0xf
cmova rcx, rdi
lea r14, [rax + 9]
mov qword [rsp + 0x20], 1
lea r9, [0x18006d5e8]
mov r8, r14
mov rdx, rbx
call fcn.180002a90
cmp rax, 0xffffffffffffffff
je 0x18000e9d8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
cmp rbx, r14
jb 0x18000effb
sub rax, r15
lea r8, [rax - 9]
sub rbx, r14
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 0x68]
cmp rsi, 0xf
cmova rdx, rdi
add rdx, r14
lea rcx, [rsp + 0x38]
call fcn.180002b60
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x18000e9c5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e9c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ed36
call fcn.180066054
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x78], xmm1
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
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, [rbp - 0x68]
lea rcx, [rbp + 0x40]
call fcn.180018270
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x18000e7c0
mov r15, 0xffffffffffffffff
cmp qword [rsp + 0x68], 0
je 0x18000ebd5
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea rcx, str.Server_Name:__s
call fcn.18004f610
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x18000ea80
mov r8, rsi
mov edx, 0x3a
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18000ea80
sub rbx, rdi
jmp 0x18000ea83
mov rbx, r15
cmp rbx, r15
je 0x18000ebd5
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, rbx
cmp rsi, rbx
cmovb r8, rsi
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180002b60
nop
inc rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov rax, qword [rsp + 0x68]
cmp rax, rbx
jb 0x18000f00d
sub rax, rbx
mov r8, r15
cmp rax, r15
cmovb r8, rax
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
add rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.180002b60
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
lea rcx, str.Server_IP:__s
call fcn.18004f610
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rdx, qword [rbp - 0x28]
lea rcx, str.Server_Port:__s
call fcn.18004f610
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x18000eb84
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000eb7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000eb7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066054
movdqa xmm0, xmmword [0x18009b9c0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x18000ebd5
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ebd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ebd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066054
mov r14, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rbp - 0x70]
test r14, r14
je 0x18000edc5
lea r12, [rsp + 0x78]
cmp rsi, 0xf
cmova r12, rbx
test r14, r14
je 0x18000ec1a
mov r8, r14
mov edx, 0x3a
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x18000ec1a
sub rdi, r12
jmp 0x18000ec1d
mov rdi, r15
cmp rdi, 0xffffffffffffffff
je 0x18000edc1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, rdi
cmp r14, rdi
cmovb r8, r14
lea rdx, [rsp + 0x78]
cmp rsi, 0xf
cmova rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180002b60
mov rdx, qword [0x1800a96a8]
cmp rdx, 0xf
jbe 0x18000ec9a
inc rdx
mov rcx, qword [0x1800a9690]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ec95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ed36
call fcn.180066054
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x1800a9690], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x1800a96a0], xmm1
inc rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov rax, qword [rbp - 0x78]
cmp rax, rdi
jb 0x18000effb
sub rax, rdi
cmp rax, 0xffffffffffffffff
cmovb r15, rax
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
add rdx, rdi
mov r8, r15
lea rcx, [rsp + 0x38]
call fcn.180002b60
mov rdx, qword [0x1800a96e8]
cmp rdx, 0xf
jbe 0x18000ed42
inc rdx
mov rcx, qword [0x1800a96d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ed3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ed3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066054
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x1800a96d0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x1800a96e0], xmm1
lea rdx, [0x1800a9690]
cmp qword [0x1800a96a8], 0xf
cmova rdx, qword [0x1800a9690]
lea rcx, str.Game_IP:__s
call fcn.18004f610
lea rdx, [0x1800a96d0]
cmp qword [0x1800a96e8], 0xf
cmova rdx, qword [0x1800a96d0]
lea rcx, str.Game_Port:__s
call fcn.18004f610
lea rcx, [0x18006cd61]
call fcn.18004f610
lea rcx, str._kernflow
call fcn.18004f610
mov rsi, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x78]
mov r12, qword [rbp + 0x30]
cmp rsi, 0xf
jbe 0x18000edff
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000edf7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000edf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180066054
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x18000ee51
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ee4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ee4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066054
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x18000eea3
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ee9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ee9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066054
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.180005880
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 + 0xf0]
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 [rbp + 0x10]
cmp rdx, 0xf
jbe 0x18000ef28
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ef23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ef23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066054
movdqa xmm0, xmmword [0x18009b9c0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x18000ef7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ef77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ef77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180066054
movdqa xmm0, xmmword [0x18009b9a0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], bx
cmp r12, 7
jbe 0x18000efcb
lea rdx, [r12*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x18000efc3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000efc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.180066054
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.180065c80
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800064c0
nop
call fcn.180001fd0
int3
call fcn.180001f30
nop
call fcn.1800064c0
int3