Function at 0x140008520
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Create thread
Get common file path

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x4b8]
sub rsp, 0x5b8
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov r15, rcx
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rbp - 0x30]
movzx eax, word [rbp - 0x2e]
movzx edx, word [rbp - 0x2a]
cmp ecx, 0x7e8
ja 0x140008cec
jne 0x14000857f
cmp eax, 6
ja 0x140008cec
jne 0x14000857f
cmp edx, 5
jae 0x140008cec
mov qword [rsp + 0x5d8], rbx
lea rax, [rbp + 0x270]
mov qword [rsp + 0x5e0], rsi
xor r9d, r9d
mov qword [rsp + 0x5b0], rdi
xor r8d, r8d
mov qword [rsp + 0x5a8], r12
xor ecx, ecx
mov qword [rsp + 0x5a0], r14
lea edx, [r9 + 0x1c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [rbp + 0x270]
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, str.GamingMode
lea rcx, [rbp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000862c
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000862c
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, [0x14001b7f0]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor r12d, r12d
lea r8, [rbp + 0x60]
mov qword [rsp + 0x38], r12
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x30], r12
mov r9d, edi
mov dword [rsp + 0x28], r12d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
test eax, eax
jne 0x14000866a
mov esi, r12d
jmp 0x14000869c
mov rcx, rbx
call fcn.1400171b0
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x60]
mov qword [rsp + 0x30], r12
mov r9d, edi
mov dword [rsp + 0x28], ebx
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [0x140025fa0], rsi
mov rax, rdi
inc rax
cmp byte [rsi + rax], r12b
jne 0x1400086a6
add eax, 0x10
movsxd rbx, eax
mov rcx, rbx
call fcn.1400171b0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x14001b5b4]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str.GamingMode.log
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rsi, qword [rsp + 0x5e0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], r12b
jne 0x140008710
mov r8, rdi
lea rcx, [rbp - 0x30]
mov rdx, r14
call fcn.140005ef0
mov rdi, qword [0x1400262b8]
lea rcx, [rdi + 0x108]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
mov r14, qword [rsp + 0x5a0]
test eax, eax
je 0x140008754
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rdi + 0x154]
cmp eax, 0x7fffffff
jne 0x140008775
dec eax
mov ecx, 6
mov dword [rdi + 0x154], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp qword [rdi + 0x88], r12
je 0x1400087a3
lea rcx, [rdi + 8]
call fcn.140005670
test rax, rax
jne 0x1400087a3
mov rax, qword [rdi]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
lea edx, [r8 + 2]
add rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp - 0x18], 0xf
lea rdx, [rbp - 0x30]
lea rcx, [rdi + 8]
mov r8d, 0xa
cmova rdx, qword [rbp - 0x30]
call fcn.140005730
mov rcx, qword [rdi]
xor r8d, r8d
movsxd rcx, dword [rcx + 4]
add rcx, rdi
test rax, rax
je 0x1400087dc
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 0x1400087e7
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]
lea rdx, [0x14001c618]
mov rcx, rdi
call fcn.140005ac0
lea rcx, [rdi + 0x108]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140008841
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000883c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000883c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
xorps xmm0, xmm0
mov qword [rbp - 0x20], r12
mov r8d, 0x17
mov qword [rbp - 0x18], r12
lea rdx, str.STARTING_APPLICATION...
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x30], xmm0
call fcn.140005ef0
xor r8d, r8d
lea rdx, [rbp - 0x30]
call fcn.14000ba70
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400088b0
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400088ab
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400088ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
lea rax, [0x140008d20]
mov dword [rbp + 0x20], 0x610047
mov qword [rbp - 0x78], rax
mov ebx, 0x77
lea rax, [rbp + 0x20]
mov dword [rbp + 0x24], 0x69006d
mov rcx, r15
mov dword [rbp + 0x28], 0x67006e
mov dword [rbp + 0x2c], 0x4d0020
lea edx, [rbx - 0xb]
mov dword [rbp + 0x30], 0x64006f
mov dword [rbp + 0x34], 0x200065
mov dword [rbp + 0x38], 0x690057
mov dword [rbp + 0x3c], 0x64006e
mov dword [rbp + 0x40], 0x77006f
mov dword [rbp + 0x44], 0x430020
mov dword [rbp + 0x48], 0x61006c
mov dword [rbp + 0x4c], 0x730073
mov word [rbp + 0x50], r12w
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], 6
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
lea rdx, str.SteamExe
lea rcx, [rsp + 0x60]
call fcn.140002480
lea rdx, str.SOFTWAREValveSteam
lea rcx, [rbp - 0x30]
call fcn.140002480
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000feb0
mov rdx, rax
lea rcx, [0x140025108]
call fcn.14000b6f0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400089dc
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400089d7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008a76
call fcn.140017140
mov rdx, qword [rbp - 0x18]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
cmp rdx, 7
jbe 0x140008a2c
mov rcx, qword [rbp - 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a27
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008a76
call fcn.140017140
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
cmp rdx, 7
jbe 0x140008a82
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a7d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
movaps xmmword [rsp + 0x590], xmm6
call fcn.140006690
call fcn.140007150
mov rcx, qword [0x140025fa8]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
cmp qword [0x140025118], r12
xorps xmm6, xmm6
je 0x140008b1a
mov ecx, 8
call fcn.140017148
lea rcx, [0x1400078d0]
mov r9, rax
lea r8, [0x14000ba40]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140008b84
movaps xmm6, xmmword [rbp - 0x30]
mov edx, 1
mov rcx, qword [0x140025fb0]
xorps xmm0, xmm0
mov r9d, ebx
movdqa xmmword [rbp - 0x30], xmm0
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_RegisterHotKey]
xorps xmm0, xmm0
mov qword [rbp - 0x20], r12
mov r8d, 0x1c
mov qword [rbp - 0x18], r12
lea rdx, str.APPLICATION_HAS_BEEN_STARTED
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x30], xmm0
call fcn.140005ef0
xor r8d, r8d
lea rdx, [rbp - 0x30]
call fcn.14000ba70
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140008b99
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b94
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 6
mov dword [rbp - 0x28], r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call fcn.140017140
xorps xmm0, xmm0
lea rcx, [rbp - 0x10]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x140008bea
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140008bc0
xor edx, edx
call fcn.1400103a0
xorps xmm0, xmm0
mov qword [rbp - 0x20], r12
mov r8d, 0x1b
mov qword [rbp - 0x18], r12
lea rdx, str.APPLICATION_HAS_BEEN_CLOSED
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x30], xmm0
call fcn.140005ef0
xor r8d, r8d
lea rdx, [rbp - 0x30]
call fcn.14000ba70
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140008c60
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c5b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
cmp qword [0x140025118], r12
je 0x140008c90
movdqa xmm0, xmm6
psrldq xmm0, 8
movd eax, xmm0
test eax, eax
je 0x140008ca4
lea rcx, [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm6
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140008ca4
xorps xmm6, xmm6
psrldq xmm6, 8
movd eax, xmm6
test eax, eax
je 0x140008cb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm6, xmmword [rsp + 0x590]
xor eax, eax
mov rdi, qword [rsp + 0x5b0]
mov rbx, qword [rsp + 0x5d8]
mov r12, qword [rsp + 0x5a8]
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140017120
add rsp, 0x5b8
pop r15
pop rbp
ret
xor r9d, r9d
lea r8, str.GainFPS_Gaming_Mode
lea rdx, str.Pobierz_najnowsz
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x140008cd2