Function at 0x140017990
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
lea rdx, str.settings.json
xorps xmm0, xmm0
lea rcx, [rbp + 0x140]
xorps xmm1, xmm1
mov r8d, 0xd
movups xmmword [rbp + 0x140], xmm0
mov esi, r9d
movdqu xmmword [rbp + 0x150], xmm1
call fcn.140006f40
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x110
call sub.VCRUNTIME140.dll_memset
cmp qword [rbp + 0x158], 0xf
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x30]
cmova rdx, qword [rbp + 0x140]
call fcn.140018f90
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ebx, dword [rbp + rcx + 0x40]
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.140018f20
lea rcx, [rbp + 0x48]
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 + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [rbp + 0x158]
cmp rdx, 0xf
jbe 0x140017aab
mov rcx, qword [rbp + 0x140]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017aa6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017aa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a3a4
test ebx, ebx
jne 0x140017b2b
xorps xmm0, xmm0
lea r8d, [rbx + 0xd]
xorps xmm1, xmm1
lea rdx, str.settings.json
lea rcx, [rbp + 0x140]
movups xmmword [rbp + 0x140], xmm0
movdqu xmmword [rbp + 0x150], xmm1
call fcn.140006f40
lea rcx, [rbp + 0x140]
call fcn.140010830
mov rdx, qword [rbp + 0x158]
cmp rdx, 0xf
jbe 0x140017b2b
mov rcx, qword [rbp + 0x140]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b26
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017b26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a3a4
cmp byte [0x140102496], 0
mov qword [rsp + 0x2d8], r14
je 0x140017bd5
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14008ed20]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14008ed30]
lea rdx, str.CONIN_
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x140017bd0
mov edx, 0x64
mov dword [rsp + 0x28], 1
mov r8d, edx
mov dword [rsp + 0x20], 0x258
mov r9d, 0x3e8
mov rcx, rax
call qword [sym.imp.USER32.dll_MoveWindow]
call fcn.140017300
xor r14d, r14d
cmp byte [0x14010249a], r14b
je 0x140017d1a
xorps xmm0, xmm0
lea r8d, [r14 + 7]
xorps xmm1, xmm1
lea rdx, str.Warning
lea rcx, [rbp + 0x168]
movups xmmword [rbp + 0x168], xmm0
movdqu xmmword [rbp + 0x178], xmm1
call fcn.140022ab0
xorps xmm0, xmm0
lea r8d, [r14 + 0x57]
xorps xmm1, xmm1
lea rdx, str.We_dont_recommend_using_cheats._Use_at_your_own_risk._nUsing_cheats_can_get_you_banned.
lea rcx, [rbp + 0x140]
movups xmmword [rbp + 0x140], xmm0
movdqu xmmword [rbp + 0x150], xmm1
call fcn.140022ab0
cmp qword [rbp + 0x180], 7
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0x140]
cmova r8, qword [rbp + 0x168]
lea r9d, [r14 + 0x30]
cmp qword [rbp + 0x158], 7
cmova rdx, qword [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp + 0x158]
cmp rdx, 7
jbe 0x140017cb9
mov rcx, qword [rbp + 0x140]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017cb4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017d0e
call fcn.14008a3a4
mov rdx, qword [rbp + 0x180]
movdqa xmm0, xmmword [0x1400f25e0]
mov word [rbp + 0x140], r14w
movdqu xmmword [rbp + 0x150], xmm0
cmp rdx, 7
jbe 0x140017d1a
mov rcx, qword [rbp + 0x168]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017d15
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017d15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a3a4
mov r8d, dword [0x1401065d8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1401061f0], rax
test rax, rax
je 0x140018019
lea rax, [0x140016970]
mov dword [rbp - 0x20], 0x50
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x20]
lea rax, str.External_Overlay_Class
mov dword [rbp - 0x1c], 3
xorps xmm0, xmm0
mov qword [rbp + 0x20], rax
xorps xmm1, xmm1
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], rdi
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x28], r14
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rdx, qword [rbp + 0x20]
lea r8, str.External_Overlay
mov qword [rsp + 0x58], r14
mov ecx, eax
mov rax, qword [rbp - 8]
mov r9d, 0x80000000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ecx
mov ecx, 0x8080008
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 1
mov r8b, 0xff
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
lea rdx, [rbp + 0x168]
xorps xmm1, xmm1
mov rcx, rbx
movups xmmword [rbp + 0x168], xmm0
movups xmmword [rbp + 0x140], xmm1
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x140]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0x160]
mov qword [rbp + 0x160], r14
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x160]
lea rdx, [rbp + 0x188]
mov dword [rbp + 0x188], eax
mov rcx, rbx
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x18c], eax
mov eax, dword [rbp + 0x170]
mov dword [rbp + 0x190], eax
mov eax, dword [rbp + 0x174]
mov dword [rbp + 0x194], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x5c], r14
mov qword [rbp - 0x54], 1
mov qword [rbp - 0x48], 2
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x68], 0x3c
lea rax, [rsp + 0x60]
mov dword [rbp - 0x64], 1
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rbp + 0x198]
mov dword [rbp - 0x60], 0x1c
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [rsp + 0x68]
mov dword [rbp - 0x4c], 0x20
mov qword [rsp + 0x48], rax
lea edx, [r9 + 1]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x40], rbx
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp - 0x70]
mov qword [rbp - 0x38], 1
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], 0xb000
mov dword [rsp + 0x7c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
js 0x140018019
mov rcx, qword [rsp + 0x70]
lea r9, [rbp - 0x80]
mov qword [rbp - 0x80], r14
lea r8, [0x1400ef460]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140018019
mov rcx, qword [rsp + 0x68]
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
call fcn.1400169d0
call fcn.14000d9e0
mov r9, qword [rbp - 0x78]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
call fcn.140017060
mov r9, qword [rbp - 0x78]
lea rax, [rbp - 0x70]
mov r8, qword [rsp + 0x60]
xorps xmm0, xmm0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm0
call fcn.140016d40
xor eax, eax
jmp 0x14001801e
mov eax, 1
mov r14, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14008a030
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret