Function at 0x140020040
Capabilities:
Enumerate process modules
Log keystrokes via polling
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.140022c60
sub rsp, rax
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rbp + 0x1040], rax
lea rcx, str.cs2_external_esp
xor esi, esi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._info__Github_Repository:_https:__github.com_IMXNOOBX_cs2_external_esp
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._info__Unknowncheats_thread:_https:__www.unknowncheats.me_forum_counter_strike_2_releases_600259_cs2_external_esp.html_n
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea ecx, [rsi + 0x38]
call fcn.140021d50
mov qword [rbp - 0x30], rax
lea rcx, vtable.std::_Ref_count_obj2_class_pProcess_.0
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rdx
mov rbx, qword [0x140031128]
mov qword [0x140031120], rcx
mov qword [0x140031128], rax
test rbx, rbx
je 0x14002014d
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002014d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002014d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._config__Reading_configuration.
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.14001bb90
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._updater__Sucessfully_read_configuration_file_n
test al, al
jne 0x14002018e
lea rdx, str._updater__Error_reading_config_file__reseting_to_the_default_state_n
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400033d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Waiting_for_cs2.exe...
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs rdi, 0x7fffffffc46535fe
movabs r14, 0x7fffffffffffffff
nop
mov rbx, qword [0x140031120]
call fcn.1400211b0
mov dword [rbx], eax
test eax, eax
je 0x1400202af
mov ecx, eax
call fcn.140020e30
mov qword [rbx + 8], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14002031a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cheat__Handle_Hijack_failed__falling_back_to_OpenProcess_method.
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400211b0
mov dword [rbx], eax
test eax, eax
je 0x1400202a5
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 2
mov rcx, rax
mov qword [rbx + 8], rax
mov r8d, 0x7f8
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rcx, qword [rbx + 8]
mov r9d, 0x18
mov qword [rbx + 0x18], rdx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rbp - 0x18]
mov edx, dword [rbx]
mov qword [rbx + 0x20], rax
call fcn.1400213e0
mov qword [rbx + 0x10], rax
mov al, 1
jmp 0x1400202a7
xor al, al
test al, al
jne 0x14002036d
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400202cd
imul rax, rax, 0x64
jmp 0x1400202eb
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jg 0x140020308
add rax, 0x3b9aca00
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
call fcn.140020b80
jmp 0x1400201e0
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x30], r14
call fcn.140020b80
jmp 0x1400201e0
lea r9, [rbp - 0x24]
mov dword [rsp + 0x20], 2
mov r8d, 0x7f8
lea rdx, [rbp + 0x840]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rbp + 0x840]
lea r8, [rbp - 8]
mov rcx, qword [rbx + 8]
mov r9d, 0x18
mov qword [rbx + 0x18], rdx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rbp]
mov edx, dword [rbx]
mov qword [rbx + 0x20], rax
call fcn.1400213e0
mov qword [rbx + 0x10], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Attached_to_cs2.exe_n
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._updater__Reading_offsets_from_file_offsets.json.
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140004540
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._updater__Sucessfully_read_offsets_file_n
test al, al
jne 0x1400203d1
lea rdx, str._updater__Error_reading_offsets_file__reseting_to_the_default_state_n
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop word [rax + rax]
mov rcx, qword [0x140031120]
lea r8, str.client.dll
lea rdx, [rsp + 0x60]
call fcn.1400214a0
mov rcx, qword [0x140031120]
lea r8, str.engine2.dll
lea rdx, [rsp + 0x70]
movups xmm0, xmmword [rax]
movups xmmword [0x1400310e0], xmm0
call fcn.1400214a0
movups xmm0, xmmword [rax]
mov rax, qword [0x1400310e0]
movups xmmword [0x1400310d0], xmm0
test rax, rax
je 0x140020450
mov rcx, qword [0x1400310d0]
test rcx, rcx
jne 0x1400204db
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14002046e
imul rax, rax, 0x64
jmp 0x14002048c
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jg 0x14002049d
add rax, 0x3b9aca00
mov qword [rbp - 0x30], rax
jmp 0x1400204a1
mov qword [rbp - 0x30], r14
lea rcx, [rbp - 0x30]
call fcn.140020b80
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Failed_to_find_module_client.dll_engine2.dll__waiting_for_the_game_to_load_it...
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [0x1400310e0]
mov rcx, qword [0x1400310d0]
test rax, rax
je 0x1400203f0
test rcx, rcx
je 0x1400203f0
mov rdx, qword [0x140030068]
lea r8, [rbp - 0x30]
add rdx, rcx
mov qword [rbp - 0x30], rsi
mov rcx, qword [0x140031120]
mov r9d, 8
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x140030100]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp qword [rbp - 0x30], rax
je 0x1400205a0
lea rdx, str._cs2__Build_number_doesnt_match__the_game_has_been_updated_and_this_esp_most_likely_wont_work.
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._warn__If_the_esp_doesnt_work__consider_updating_offsets_manually_in_the_file_offsets.json
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Press_any_key_to_continue
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
jmp 0x1400205bc
lea rdx, str._cs2__Offsets_seem_to_be_up_to_date__have_fun_
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._overlay__Waiting_to_focus_game_to_create_the_overlay...
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._overlay__Make_sure_your_game_is_in__Full_Screen_Windowed_
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, qword [0x140031120]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
je 0x1400206b9
nop dword [rax]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14002063e
imul rax, rax, 0x64
jmp 0x14002065c
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jg 0x14002066d
add rax, 0x3b9aca00
mov qword [rbp - 0x30], rax
jmp 0x140020671
mov qword [rbp - 0x30], r14
lea rcx, [rbp - 0x30]
call fcn.140020b80
mov rbx, qword [0x140031120]
mov edx, dword [rbx]
call fcn.1400213e0
mov qword [rbx + 0x10], rax
mov edx, 1
mov rcx, qword [0x140031120]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [0x140031120]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x10]
jne 0x140020620
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._overlay__Creating_window_overlay...
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [0x140031120]
lea rax, [0x14001fe50]
xorps xmm0, xmm0
mov qword [rbp - 0x70], rsi
movdqa xmmword [rbp - 0x60], xmm0
mov edx, 0xfffffffa
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x80], 0x50
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x7c], 3
mov qword [rbp - 0x50], rsi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongA]
movsxd rcx, eax
lea rbx, [0x1400281c8]
mov qword [rbp - 0x68], rcx
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140031120]
lea rdx, [0x1400310f0]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x1400310f0]
lea r8, str.cs2_external_esp
mov ecx, dword [0x1400310fc]
mov r9d, 0x80000000
mov eax, dword [0x1400310f8]
add ecx, edx
mov qword [rsp + 0x58], rsi
sub eax, edx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ecx
mov ecx, 0x800a8
mov dword [rsp + 0x30], eax
mov eax, dword [0x1400310f4]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, rbx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
test rax, rax
je 0x140020a75
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], esi
lea rdx, [r9 - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n_settings__In_Game_keybinds:_n_t_F5__enable_disable_Team_ESP_n_t_F6__enable_disable_automatic_updates_n_t_F7__enable_disable_extra_flags_n_t_end__Unload_esp._n
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._settings__Make_sure_you_check_the_config_for_additional_settings_
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor r9d, r9d
lea rcx, [rbp + 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1400209a6
mov qword [rsp + 0x1170], r15
movabs r15, 0x7ffffffffff0bdbe
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14002099e
mov ecx, 0x74
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400208ac
cmp byte [0x1400310ca], sil
sete byte [0x1400310ca]
call fcn.14001d310
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x75
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400208e1
cmp byte [0x1400310c8], sil
sete byte [0x1400310c8]
call fcn.14001d310
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x76
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140020916
cmp byte [0x1400310c9], sil
sete byte [0x1400310c9]
call fcn.14001d310
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140020948
imul rax, rax, 0x64
jmp 0x140020966
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r15
jg 0x140020977
add rax, 0xf4240
mov qword [rbp - 0x30], rax
jmp 0x14002097b
mov qword [rbp - 0x30], r14
lea rcx, [rbp - 0x30]
call fcn.140020b80
xor r9d, r9d
lea rcx, [rbp + 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140020861
mov r15, qword [rsp + 0x1170]
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov edx, 0x64
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._overlay__Destroying_overlay_window.
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [0x140031130]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [0x140031138]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Deataching_from_process
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [0x140031120]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._cs2__Press_any_key_to_close
call fcn.14000a240
lea rdx, [0x14000a410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov eax, 1
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.140021d30
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret