Function at 0x140040fa0
Capabilities:
Create thread
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x340
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r15d, r15d
mov esi, r15d
mov qword [rbp + 0x1b0], r15
mov r14d, r15d
mov qword [rbp + 0x1b8], r15
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400410b2
nop dword [rax]
lea rax, [rbp - 0x64]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x140041040
mov r8d, 7
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 0x64]
lea rcx, str.cs2.exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140041070
cmp rbx, 7
je 0x140041084
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140041030
jmp 0x1400410b2
mov esi, dword [rsp + 0x78]
mov qword [rbp + 0x1b0], rsi
mov ecx, esi
call fcn.1400419c0
mov r14, rax
mov qword [rbp + 0x1b8], rax
test rax, rax
je 0x1400410ab
cmp rax, 0xffffffffffffffff
jne 0x1400410b2
mov byte [0x1400520b4], r15b
test rdi, rdi
je 0x1400410c1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
jne 0x140041117
lea rdx, str.CS2_is_not_opened._Please_open_CS2_and_launch_the_cheat.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003f6c0
mov rcx, rax
call fcn.14003f890
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Closing_._._.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003f6c0
mov rcx, rax
call fcn.14003f890
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400418be
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x238
mov edx, esi
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov rsi, r15
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x1400411b8
nop word [rax + rax]
lea rax, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x140041170
mov r8d, 0xa
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, str.client.dll
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400411a0
cmp rbx, 0xa
je 0x1400411b4
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140041160
jmp 0x1400411b8
mov rsi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400411c6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140052850], rsi
mov ecx, 0x18
call fcn.140042824
movups xmm6, xmmword [rbp + 0x1b0]
movups xmmword [rax], xmm6
lea rcx, [0x14003e9a0]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140041980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140041962
cmp dword [rsp + 0x68], 0
je 0x140041956
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140041956
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea ecx, [rax + 0x18]
call fcn.140042824
movups xmmword [rax], xmm6
lea rcx, [0x1400421e0]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140041980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140041945
cmp dword [rsp + 0x68], 0
je 0x140041939
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140041939
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea ecx, [rax + 0x18]
call fcn.140042824
movups xmmword [rax], xmm6
lea rcx, [0x1400409f0]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140041980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140041928
cmp dword [rsp + 0x68], 0
je 0x14004191c
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004191c
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea ecx, [rax + 0x18]
call fcn.140042824
movups xmmword [rax], xmm6
lea rcx, [0x140040c70]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140041980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14004190b
cmp dword [rsp + 0x68], 0
je 0x1400418ff
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400418ff
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rbp + 0x1c0], 0x50
mov dword [rbp + 0x1c4], 3
lea rax, [0x14003f110]
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x1d8], rax
xorps xmm2, xmm2
xorps xmm3, xmm3
lea rax, str.Window_Class
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], r15
movups xmm0, xmmword [rbp + 0x1c0]
movaps xmmword [0x1400528a0], xmm0
movups xmm1, xmmword [rbp + 0x1d0]
movaps xmmword [0x1400528b0], xmm1
movaps xmmword [0x1400528c0], xmm2
movaps xmmword [0x1400528d0], xmm3
movups xmm0, xmmword [rbp + 0x200]
movaps xmmword [0x1400528e0], xmm0
lea rcx, [0x1400528a0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rdx, str.Registered_Window_Class
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003f6c0
mov rcx, rax
call fcn.14003f890
mov qword [rsp + 0x58], r15
mov rax, qword [0x1400528b8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov eax, dword [0x14005290c]
mov dword [rsp + 0x38], eax
mov eax, dword [0x140052908]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x80000000
lea r8, [0x14004aa08]
mov rdx, qword [0x1400528e0]
mov ecx, 0x800a8
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140052890], rax
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140052890]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, str.Created_Window
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003f6c0
mov rcx, rax
call fcn.14003f890
call fcn.14003f1c0
mov rbx, qword [0x1400527f8]
mov ecx, 0x61f8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r11, rax
mov r8, qword [0x1400527f8]
test r8, r8
je 0x140041599
mov r9d, dword [r8 + 0x3f60]
movsx r10, word [r8 + 0x60a8]
lea rdx, [r8 + 0x60ac]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14004158e
lea ecx, [r10 + 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 + 0x60a8], cx
movsx rax, cx
lea rdx, [r8 + 0x60ac]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r15d
inc word [rdx + 4]
inc dword [r8 + 0x60a0]
test r11, r11
je 0x1400415aa
xor edx, edx
mov rcx, r11
call fcn.140001490
jmp 0x1400415ad
mov rax, r15
mov qword [0x1400527f8], rax
call fcn.140005ef0
test rbx, rbx
je 0x1400415c7
mov qword [0x1400527f8], rbx
jmp 0x1400415ce
mov rbx, qword [0x1400527f8]
or dword [rbx + 8], 3
mov qword [rbx + 0x20], r15
xor ecx, ecx
call fcn.140023ed0
mov rcx, qword [0x140052890]
call fcn.14002e7e0
call fcn.14002e610
lea rdx, str.Created_ImGui
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003f6c0
mov rcx, rax
call fcn.14003f890
cmp byte [0x1400520b4], 0
je 0x140041834
mov qword [rsp + 0x60], 3
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004168c
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x1c8], 0x12
jne 0x14004166b
mov byte [0x1400520b4], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140041641
cmp byte [0x1400520b4], 0
je 0x140041732
mov r8d, dword [0x140052888]
test r8d, r8d
je 0x140041704
mov r9d, dword [0x140052870]
test r9d, r9d
je 0x140041704
mov rcx, qword [0x140052880]
test rcx, rcx
je 0x1400416d8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140052880], r15
mov r8d, dword [0x140052888]
mov r9d, dword [0x140052870]
mov rcx, qword [0x140052878]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x140052870], r15d
mov dword [0x140052888], r15d
call fcn.14003f650
mov rax, qword [0x1400527f8]
test rax, rax
je 0x140041719
mov rcx, qword [rax + 0x98]
jmp 0x14004171c
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x140041728
call fcn.14002dfb0
call fcn.14002f1f0
call fcn.140008730
cmp qword [0x140052850], 0
je 0x140041741
call fcn.140041d40
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, str.Counter_Strike_2
lea rcx, [rsp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140041789
lea rdx, str.CS2_Cheat
lea rcx, [rsp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140041795
lea rcx, [rbp + 0x1b0]
call fcn.14003fac0
call fcn.14000a830
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov rcx, qword [0x140052860]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140052880]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140052860]
mov rax, qword [rcx]
lea r8, [rbp + 0x210]
mov rdx, qword [0x140052880]
call qword [rax + 0x190]
mov rax, qword [0x1400527f8]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.14002d550
mov rcx, qword [0x140052878]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14003efe0
cmp byte [0x1400520b4], 0
jne 0x140041620
mov r14, qword [rbp + 0x1b8]
call fcn.14003f410
mov rcx, qword [0x140052880]
test rcx, rcx
je 0x140041852
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140052880], r15
mov rcx, qword [0x140052878]
test rcx, rcx
je 0x14004186b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140052878], r15
mov rcx, qword [0x140052860]
test rcx, rcx
je 0x140041884
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140052860], r15
mov rcx, qword [0x140052868]
test rcx, rcx
je 0x14004189d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140052868], r15
mov rcx, qword [0x140052890]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400528b8]
mov rcx, qword [0x1400528e0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
test r14, r14
je 0x1400418cc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140042440
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3