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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140070080]
xor rax, rsp
mov qword [rbp], rax
xor r14d, r14d
lea rcx, str.cs2_external_esp
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str._info__Github_Repository:_https:__github.com_IMXNOOBX_cs2_external_esp
lea rsi, [0x140071cc0]
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rdx, str._info__Unknowncheats_thread:_https:__www.unknowncheats.me_forum_counter_strike_2_releases_600259_cs2_external_esp.html_n
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rdx, str._config__Reading_configuration.
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
call fcn.140022b40
mov rcx, rsi
test al, al
lea rdx, str._updater__Sucessfully_read_configuration_file_n
jne 0x140027724
lea rdx, str._updater__Error_reading_config_file__reseting_to_the_default_state_n
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
call fcn.140004980
lea rdx, str._updater__Reading_offsets_from_file_offsets.json.
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
call fcn.140005ce0
mov rcx, rsi
test al, al
lea rdx, str._updater__Sucessfully_read_offsets_file_n
jne 0x140027767
lea rdx, str._updater__Error_reading_offsets_file__reseting_to_the_default_state_n
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rcx, [0x140070ed0]
call fcn.1400292d0
movsxd rax, dword [0x140070d70]
mov rcx, rsi
cmp qword [0x140070f10], rax
je 0x1400277dc
lea rdx, str._cs2__Build_number_doesnt_match__the_game_has_been_updated_and_this_esp_most_likely_wont_work.
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rdx, str._warn__If_the_esp_doesnt_work__consider_updating_offsets_manually_in_the_file_offsets.json
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rdx, str._cs2__Press_any_key_to_continue
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
call fcn.140027df0
jmp 0x1400277f0
lea rdx, str._cs2__Offsets_seem_to_be_up_to_date__have_fun_
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rdx, str._overlay__Waiting_to_focus_game_to_create_the_overlay...
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rdx, str._overlay__Make_sure_your_game_is_in__Full_Screen_Windowed_
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
mov rbx, qword [0x140070ed0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
je 0x140027884
mov qword [rbp - 0x50], 1
nop dword [rax]
lea rcx, [rbp - 0x50]
call fcn.1400280d0
mov rbx, qword [0x140070ed0]
mov edx, dword [rbx]
call fcn.140028f70
mov qword [rbx + 0x10], rax
mov edx, 1
mov rcx, qword [0x140070ed0]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [0x140070ed0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
jne 0x140027840
lea rdx, str._overlay__Creating_window_overlay...
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
mov qword [rsp + 0x70], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x58], r14
mov dword [rsp + 0x60], 0x50
lea rax, [0x1400273d0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x64], 3
mov qword [rbp - 0x70], r14
mov edx, 0xfffffffa
mov rcx, qword [0x140070ed0]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongA]
movsxd rcx, eax
mov qword [rsp + 0x78], rcx
lea rbx, [0x140064e18]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExA]
lea rdx, [0x140073900]
mov rcx, qword [0x140070ed0]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r9d, dword [0x140073900]
mov ecx, dword [0x14007390c]
add ecx, r9d
mov eax, dword [0x140073908]
sub eax, r9d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x140073904]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r9d
mov r9d, 0x80000000
lea r8, str.cs2_external_esp
mov rdx, rbx
mov ecx, 0x800a8
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
test rax, rax
jne 0x1400279ac
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14002dc00
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 8
call fcn.14002dc28
lea rcx, [0x1400275c0]
mov qword [rax], rcx
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400287b0]
xor edx, edx
xor ecx, ecx
call fcn.14003ce48
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140027d3e
lea rdx, str._n_settings__In_Game_keybinds:_n_t_F4__enable_disable_Box_ESP_n_t_F5__enable_disable_Team_ESP_n_t_F6__enable_disable_automatic_updates_n_t_F7__enable_disable_extra_flags_n_t_F8__enable_disable_skeleton_esp_n_t_F9__enable_disable_head_tracker_n_t_end__Unload_esp._n
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
lea rdx, str._settings__Make_sure_you_check_the_config_for_additional_settings_
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x140027c5a
movabs r14, 0x7ffffffffff0bdbf
movabs r15, 0x7fffffffffffffff
cmp byte [0x1400738f8], 0
jne 0x140027c5a
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140027aa5
mov byte [0x1400738f8], 1
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140027ad8
cmp byte [0x140070db4], 0
sete byte [0x140070db4]
call fcn.1400249b0
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x74
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140027b0b
cmp byte [0x1400738f4], 0
sete byte [0x1400738f4]
call fcn.1400249b0
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x75
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140027b3e
cmp byte [0x1400738f2], 0
sete byte [0x1400738f2]
call fcn.1400249b0
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x76
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140027b71
cmp byte [0x1400738f3], 0
sete byte [0x1400738f3]
call fcn.1400249b0
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x77
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140027ba4
cmp byte [0x1400738f0], 0
sete byte [0x1400738f0]
call fcn.1400249b0
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x78
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140027bd7
cmp byte [0x1400738f1], 0
sete byte [0x1400738f1]
call fcn.1400249b0
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.14002d1cc
mov rbx, rax
call fcn.14002d1b0
cmp rbx, 0x989680
jne 0x140027c07
imul rax, rax, 0x64
jmp 0x140027c22
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x140027c33
add rax, 0xf4240
mov qword [rbp - 0x50], rax
jmp 0x140027c37
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
call fcn.1400284e0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140027a81
cmp dword [rbp - 0x38], 0
je 0x140027d33
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call fcn.14002d54c
test eax, eax
jne 0x140027d33
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea edx, [rax + 0x64]
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
lea rdx, str._overlay__Destroying_overlay_window.
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
mov rcx, qword [0x140073978]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [0x140073980]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
lea rdx, str._cs2__Deatachig_from_process
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
mov rcx, qword [0x140070ed0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str._cs2__Press_any_key_to_close
mov rcx, rsi
call fcn.14000d210
mov rcx, rax
call fcn.14000d4d0
call fcn.140027df0
nop
cmp dword [rbp - 0x38], 0
jne 0x140027d4d
mov eax, 1
jmp 0x140027983
mov ecx, 1
call fcn.14002d458
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14002d458
nop
call fcn.14003cf30
int3