Function at 0x140017ee0
Capabilities:
Log keystrokes via polling
Set console window title

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
mov rax, qword [0x140103040]
xor rax, rsp
mov qword [rbp + 0x1e0], 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.1400072c0
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.140019850
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.1400197e0
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 0x140017ff8
mov rcx, qword [rbp + 0x140]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017ff3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017ff3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aad4
test ebx, ebx
jne 0x14001807a
xorps xmm0, xmm0
lea rdx, str.settings.json
xorps xmm1, xmm1
lea rcx, [rbp + 0x140]
mov r8d, 0xd
movups xmmword [rbp + 0x140], xmm0
movdqu xmmword [rbp + 0x150], xmm1
call fcn.1400072c0
lea rcx, [rbp + 0x140]
call fcn.140010ad0
mov rdx, qword [rbp + 0x158]
cmp rdx, 0xf
jbe 0x14001807a
mov rcx, qword [rbp + 0x140]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018075
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018075
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aad4
cmp byte [0x14012c267], 0
mov qword [rsp + 0x2f0], r15
je 0x140018124
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, [0x14008fd60]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x60]
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, [0x14008fd70]
lea rdx, str.CONIN_
lea rcx, [rsp + 0x60]
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 0x14001811f
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.140017840
xor r15d, r15d
cmp byte [0x14012c26b], r15b
je 0x14001826f
xorps xmm0, xmm0
lea rdx, str.Warning
xorps xmm1, xmm1
lea rcx, [rbp + 0x170]
mov r8d, 7
movups xmmword [rbp + 0x170], xmm0
movdqu xmmword [rbp + 0x180], xmm1
call fcn.1400236a0
xorps xmm0, xmm0
lea rdx, str.We_dont_recommend_using_cheats._Use_at_your_own_risk._nUsing_cheats_can_get_you_banned.
xorps xmm1, xmm1
lea rcx, [rbp + 0x140]
mov r8d, 0x57
movups xmmword [rbp + 0x140], xmm0
movdqu xmmword [rbp + 0x150], xmm1
call fcn.1400236a0
cmp qword [rbp + 0x188], 7
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x140]
mov r9d, 0x30
cmova r8, qword [rbp + 0x170]
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 0x14001820e
mov rcx, qword [rbp + 0x140]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018209
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018263
call fcn.14008aad4
mov rdx, qword [rbp + 0x188]
movdqa xmm0, xmmword [0x1400f3880]
mov word [rbp + 0x140], r15w
movdqu xmmword [rbp + 0x150], xmm0
cmp rdx, 7
jbe 0x14001826f
mov rcx, qword [rbp + 0x170]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001826a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001826a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aad4
mov r8d, dword [0x1401303a0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14012d3c0], rax
test rax, rax
je 0x1400188dd
lea rax, [0x1400174c0]
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], r15
mov qword [rbp - 8], rdi
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x28], r15
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], r15
mov ecx, eax
mov rax, qword [rbp - 8]
mov r9d, 0x80000000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ecx
mov ecx, 0x80028
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 1
mov r8b, 0xff
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
lea rdx, [rbp + 0x170]
xorps xmm1, xmm1
mov rcx, rdi
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x140], xmm1
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x140]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0x168]
mov qword [rbp + 0x168], r15
mov rcx, rdi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x168]
lea rdx, [rbp + 0x190]
mov dword [rbp + 0x190], eax
mov rcx, rdi
mov eax, dword [rbp + 0x16c]
mov dword [rbp + 0x194], eax
mov eax, dword [rbp + 0x178]
mov dword [rbp + 0x198], eax
mov eax, dword [rbp + 0x17c]
mov dword [rbp + 0x19c], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x68], r15
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x5c], r15
mov qword [rbp - 0x54], 1
mov qword [rbp - 0x48], 2
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x68], 0x3c
lea rax, [rsp + 0x68]
mov dword [rbp - 0x64], 1
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rbp + 0x160]
mov dword [rbp - 0x60], 0x1c
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [rsp + 0x78]
mov dword [rbp - 0x4c], 0x20
mov qword [rsp + 0x48], rax
mov edx, 1
lea rax, [rbp - 0x80]
mov qword [rbp - 0x40], rdi
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 + 0x60]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 0xb000
mov dword [rsp + 0x64], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
js 0x1400188dd
mov rcx, qword [rbp - 0x80]
lea r9, [rbp + 0x1d0]
mov qword [rbp + 0x1d0], r15
lea r8, [0x1400f0570]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp + 0x1d0]
test rdx, rdx
je 0x1400188dd
mov rcx, qword [rsp + 0x78]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x328], r14
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov ecx, 0x5620
mov r14, qword [rsp + 0x78]
mov rbx, qword [0x14012d3e0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x14012d3e0]
mov r9, rax
test r8, r8
je 0x1400185a2
movsx rdx, word [r8 + 0x5490]
lea rcx, [r8 + 0x5494]
mov r10d, dword [r8 + 0x3ff0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x140018597
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5490], cx
movsx rax, cx
lea rcx, [r8 + 0x5494]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r15d
inc word [rcx + 4]
inc dword [r8 + 0x5488]
test r9, r9
je 0x1400185b3
xor edx, edx
mov rcx, r9
call fcn.140037510
jmp 0x1400185b6
mov rax, r15
mov qword [0x14012d3e0], rax
call fcn.1400385c0
test rbx, rbx
je 0x1400185ce
mov qword [0x14012d3e0], rbx
xor ecx, ecx
call fcn.14005aad0
mov rcx, rdi
call fcn.1400659d0
mov rdx, rsi
mov rcx, r14
call fcn.140065810
call fcn.140003940
call fcn.14000dc00
cmp byte [0x14012c26a], r15b
xorps xmm0, xmm0
mov r14, qword [rsp + 0x328]
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
je 0x14001889c
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x1a0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001868c
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0x1a8], 0x12
jne 0x14001866b
mov byte [0x14012c26a], r15b
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x1a0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140018641
cmp byte [0x14012c26a], r15b
je 0x14001889c
mov rax, qword [0x14012d3e0]
test rax, rax
je 0x1400186ae
mov rcx, qword [rax + 0xa0]
jmp 0x1400186b1
mov rcx, r15
cmp qword [rcx + 0x48], r15
jne 0x1400186bc
call fcn.1400651b0
call fcn.1400663e0
call fcn.14003b0d0
cmp byte [0x14012c269], r15b
mov edx, 0xffffffec
mov rcx, rdi
je 0x1400186e5
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
and rax, 0xfffffffffff7ffdf
jmp 0x1400186f1
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
or rax, 0x80020
mov r8, rax
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
cmp dword [0x1401303a0], r15d
jbe 0x140018818
call fcn.1400049a0
lea rcx, [0x14012c270]
call fcn.14000c0a0
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001873d
cmp byte [0x14012d550], r15b
sete byte [0x14012d550]
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001875a
cmp byte [0x14012d549], r15b
sete byte [0x14012d549]
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140018785
cmp byte [0x14012c268], r15b
sete byte [0x14012c268]
cmp byte [0x14012c26c], r15b
sete byte [0x14012c26c]
mov ecx, 0x56
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400187a2
cmp byte [0x14012d548], r15b
sete byte [0x14012d548]
call fcn.140016f20
call fcn.1400124d0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], 1
call fcn.140022ad0
mov r8d, dword [0x1401303a0]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140018811
lea rdx, [rbp + 0x160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rbx
test eax, eax
je 0x14001880b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x160], 0x103
sete al
test al, al
jne 0x140018818
jmp 0x140018811
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x14012c26a], r15b
call fcn.14003d170
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x1d0], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0x1d0]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14012d3e0]
mov rcx, qword [rax + 0x4bd8]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x50
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.140064700
mov rcx, qword [rbp - 0x80]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x14012c26a], r15b
jne 0x140018620
mov r9, qword [rsp + 0x70]
lea rax, [rbp - 0x70]
mov r8, qword [rsp + 0x68]
xorps xmm0, xmm0
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
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.140017520
xor eax, eax
jmp 0x1400188e2
mov eax, 1
mov r15, qword [rsp + 0x2f0]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14008a760
add rsp, 0x2f8
pop rdi
pop rsi
pop rbx
pop rbp
ret