Function at 0x1400029f0
Capabilities:
Create thread

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 [0x14004e040]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r14d, r14d
mov qword [rbp + 0x210], r14
mov qword [rbp + 0x218], r14
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp - 0x2c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x30], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140002ae2
lea rax, [rbp - 4]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140002a80
mov r8d, 7
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 4]
lea rcx, str.cs2.exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002ab0
cmp rbx, 7
je 0x140002ac3
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002a71
jmp 0x140002ae2
mov r8d, dword [rbp - 0x28]
mov qword [rbp + 0x210], r8
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x218], rax
test rdi, rdi
je 0x140002af0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x2c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x30], 0x238
mov edx, dword [rbp + 0x210]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov rsi, r14
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x140002b87
lea rax, [rbp]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x140002b40
mov r8d, 0xa
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp]
lea rcx, str.client.dll
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002b70
cmp rbx, 0xa
je 0x140002b83
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140002b30
jmp 0x140002b87
mov rsi, qword [rbp - 0x18]
test rdi, rdi
je 0x140002b95
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004e970], rsi
mov ecx, 0x10
call fcn.140040830
lea rcx, [rbp + 0x210]
mov qword [rax], rcx
lea rcx, [0x1400404f0]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140003300]
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 0x1400032ed
cmp dword [rsp + 0x68], r14d
je 0x1400032e1
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400032e1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov ecx, 0x10
call fcn.140040830
lea rcx, [rbp + 0x210]
mov qword [rax], rcx
lea rcx, [0x140040670]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140003300]
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 0x1400032d0
cmp dword [rsp + 0x68], r14d
je 0x1400032c4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400032c4
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov ecx, 0x10
call fcn.140040830
lea rcx, [rbp + 0x210]
mov qword [rax], rcx
lea rcx, [0x1400407a0]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140003300]
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 0x1400032b3
cmp dword [rsp + 0x68], r14d
je 0x1400032a7
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400032a7
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rbp - 0x80], 0x50
mov dword [rbp - 0x7c], 0x40
lea rax, [0x140001750]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
lea r15, str.class001
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
lea r8, str.templecheats.xyz
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004e990], rax
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004e990]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x14004e988], rax
test rax, rax
je 0x140002ea1
mov qword [0x14004e9a0], r14
mov qword [0x14004e9ac], r14
mov dword [0x14004e9b4], r14d
mov qword [0x14004e9bc], r14
mov dword [0x14004e9c4], r14d
mov qword [0x14004e9d4], r14
mov dword [0x14004e9c8], 1
mov dword [0x14004e9b8], 1
mov dword [0x14004e9a8], r14d
mov dword [0x14004e9cc], 1
mov dword [0x14004e9d0], 0x50
mov dword [0x14004e9dc], 1
mov rax, qword [rax]
lea rdx, [0x14004e998]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14004e9a0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, qword [0x14004e990]
xor edx, edx
mov r8d, 1
call qword [rax + 0x80]
nop
call fcn.1400019a0
cmp byte [0x14004e0c0], 0
je 0x1400030a4
mov qword [rsp + 0x60], 5
movss xmm6, dword [0x14004749c]
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140002f28
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp - 0x78], 0x12
je 0x140002f3d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140002ef0
mov rax, qword [0x14004ea08]
test rax, rax
je 0x140002f4d
mov rcx, qword [rax + 0xf0]
jmp 0x140002f50
cmp byte [0x14004e0c2], 0
sete byte [0x14004e0c2]
jmp 0x140002f7e
mov rcx, r14
cmp qword [rcx + 0x18], 0
jne 0x140002f73
test rax, rax
je 0x140002f73
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x140002f73
cmp qword [rcx], 0
je 0x140002f73
call fcn.14002aed0
call fcn.14002b5d0
call fcn.140008980
nop
call fcn.140001f30
nop
call fcn.14000abe0
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 0xff000000
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000304f
call fcn.14000afb0
mov rax, qword [0x14004ea08]
mov rax, qword [rax + 0x1e10]
mov rcx, qword [rax]
add rcx, 0x40
mov rax, r14
cmp byte [rcx], r14b
cmovne rax, rcx
mov rcx, rax
call fcn.14002a910
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14000308d
mov rcx, qword [0x14004e998]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000308d
call fcn.1400018e0
nop
lea rcx, [rsp + 0x60]
call fcn.140001420
cmp byte [0x14004e0c0], 0
jne 0x140002ed0
mov rcx, qword [0x14004ea08]
test rcx, rcx
je 0x1400030b9
mov rdi, qword [rcx + 0xf0]
jmp 0x1400030bc
mov rdi, r14
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140003139
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x140003139
cmp qword [rbx], 0
je 0x140003139
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400030f4
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], r14
mov rcx, qword [0x14004ea08]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140003111
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], r14
mov rcx, qword [0x14004ea08]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140003139
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], r14
mov rcx, qword [0x14004ea08]
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], r14
mov rdx, qword [rdi]
test rdx, rdx
je 0x140003151
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14004ea08]
mov qword [rsi + 0xd8], r14
mov qword [rsi + 0xe8], r14
test rcx, rcx
je 0x14000316a
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14004ea08]
test rax, rax
je 0x140003188
mov rbx, qword [rax + 0xe8]
jmp 0x14000318b
mov rbx, r14
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400031a5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14004ea08]
mov qword [rdi + 0xd0], r14
mov qword [rdi + 0xe0], r14
test rax, rax
je 0x1400031be
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14004ea08]
mov rcx, rbx
call fcn.14000a030
cmp qword [0x14004ea08], rbx
jne 0x1400031e6
mov qword [0x14004ea08], r14
test rbx, rbx
je 0x14000320f
mov rcx, rbx
call fcn.140019ce0
mov rax, qword [0x14004ea08]
test rax, rax
je 0x140003205
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [0x14004e998]
test rcx, rcx
je 0x140003228
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004e998], r14
mov rcx, qword [0x14004e988]
test rcx, rcx
je 0x140003241
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004e988], r14
mov rcx, qword [0x14004e990]
call qword [sym.imp.USER32.dll_DestroyWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x218]
test rcx, rcx
je 0x140003274
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140040810
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], r14d
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], r14d
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], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3