Function at 0x14003c310
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 [0x14004c010]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r15d, r15d
mov esi, r15d
mov qword [rbp + 0x200], r15
mov r14d, r15d
mov qword [rbp + 0x208], r15
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp - 0x3c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x40], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14003c3f9
lea rax, [rbp - 0x14]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x14003c3a0
mov r8d, 7
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 0x14]
lea rcx, str.cs2.exe
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003c3d0
cmp rbx, 7
je 0x14003c3d5
mov rcx, rdi
jmp 0x14003c387
mov esi, dword [rbp - 0x38]
mov qword [rbp + 0x200], rsi
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov qword [rbp + 0x208], rax
test rdi, rdi
je 0x14003c407
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x3c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x40], 0x238
mov edx, esi
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov rsi, r15
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x14003c489
lea rax, [rbp - 0x10]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], sil
jne 0x14003c450
mov r8d, 0xa
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, str.client.dll
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003c480
cmp rbx, 0xa
je 0x14003c485
mov rcx, rdi
jmp 0x14003c435
mov rsi, qword [rbp - 0x28]
test rdi, rdi
je 0x14003c497
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004c778], rsi
mov ecx, 0x18
call fcn.14003d68c
movups xmm6, xmmword [rbp + 0x200]
movups xmmword [rax], xmm6
lea rcx, [0x14003bae0]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14003caa0]
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 0x14003ca83
cmp dword [rsp + 0x68], r15d
jne 0x14003c501
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x200], xmm0
lea rcx, [rbp + 0x200]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14003c528
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov ecx, 0x18
call fcn.14003d68c
movups xmmword [rax], xmm6
lea rcx, [0x14003bd80]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14003caa0]
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 0x14003ca72
cmp dword [rsp + 0x68], r15d
jne 0x14003c58d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x200], xmm0
lea rcx, [rbp + 0x200]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14003c5b4
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 0x40
lea rax, [0x14003cae0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
lea rdi, str.class001
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r15
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
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.CS2_External_Cheat
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004c790], rax
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004c790]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x14004c788], rax
mov ebx, 1
test rax, rax
je 0x14003c736
mov qword [0x14004c7a0], r15
mov qword [0x14004c7ac], r15
mov dword [0x14004c7b4], r15d
mov qword [0x14004c7bc], r15
mov dword [0x14004c7c4], r15d
mov qword [0x14004c7d4], r15
mov dword [0x14004c7c8], ebx
mov dword [0x14004c7b8], ebx
mov dword [0x14004c7a8], r15d
mov dword [0x14004c7cc], ebx
mov dword [0x14004c7d0], 0x50
mov dword [0x14004c7dc], ebx
mov rax, qword [rax]
lea rdx, [0x14004c798]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14004c7a0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, qword [0x14004c790]
mov r8d, ebx
xor edx, edx
call qword [rax + 0x80]
test eax, eax
setns al
test al, al
jne 0x14003c760
mov rcx, qword [0x14004c790]
call qword [sym.imp.USER32.dll_DestroyWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnregisterClassA]
jmp 0x14003ca31
call fcn.14003cd20
cmp byte [0x14004c044], 0
je 0x14003c9d5
mov qword [rsp + 0x60], 5
movss xmm6, dword [0x140045764]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003c7d8
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rsp + 0x78], 0x12
je 0x14003c7ed
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14003c7a0
mov rax, qword [0x14004c738]
test rax, rax
je 0x14003c7fd
mov rcx, qword [rax + 0x98]
jmp 0x14003c800
cmp byte [0x14004c044], 0
sete byte [0x14004c044]
jmp 0x14003c82e
mov rcx, r15
cmp qword [rcx + 0x18], 0
jne 0x14003c823
test rax, rax
je 0x14003c823
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14003c823
cmp qword [rcx], 0
je 0x14003c823
call fcn.140001a20
call fcn.140002760
call fcn.14000b780
nop
mov rax, qword [0x14004c738]
mov qword [rax + 0x4a98], r15
mov qword [rax + 0x4aa0], r15
mov dword [rax + 0x4a8c], ebx
or dword [rax + 0x4a88], 3
mov dword [rax + 0x4aa8], 0x43fa0000
mov dword [rax + 0x4aac], 0x43960000
mov dword [rax + 0x4a90], ebx
mov r8d, 0x126
lea rdx, [0x14004c044]
lea rcx, str.CS2_External_Cheat
call fcn.140010d10
mov dword [rbp + 0x210], 0xa0
mov dword [rbp + 0x218], r15d
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x218]
call fcn.140034eb0
call fcn.140034000
call fcn.140013330
nop
call fcn.14000d2a0
mov rcx, qword [0x14004c798]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004c798]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004c798]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x14004c798]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r15d
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 [0x14004c798]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003c980
call fcn.14000d630
mov rax, qword [0x14004c738]
mov rax, qword [rax + 0x4b98]
mov rcx, qword [rax]
add rcx, 0x50
mov rax, r15
cmp byte [rcx], r15b
cmovne rax, rcx
mov rcx, rax
call fcn.140001470
mov rcx, qword [0x14004c798]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004c798]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003c9be
mov rcx, qword [0x14004c798]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003c9be
call fcn.14003cc60
nop
lea rcx, [rsp + 0x60]
call fcn.14003c160
cmp byte [0x14004c044], 0
jne 0x14003c783
call fcn.14003cef0
nop
mov rcx, qword [0x14004c798]
test rcx, rcx
je 0x14003c9f4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004c798], r15
mov rcx, qword [0x14004c788]
test rcx, rcx
je 0x14003ca0d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004c788], r15
mov rcx, qword [0x14004c790]
call qword [sym.imp.USER32.dll_DestroyWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov ebx, r15d
test r14, r14
je 0x14003ca3f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14003d1a0
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 dword [rsp + 0x68], r15d
mov ecx, 6
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