Function at 0x140033da0
Capabilities:
Set console window title

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rbp + 0x238], rax
lea rax, [0x140033d40]
mov qword [rbp + 0x198], rcx
mov qword [rbp + 0x188], rax
lea rcx, [rbp + 0x180]
lea rax, str.External_Overlay_Class
mov dword [rbp + 0x180], 0x50
xor r13d, r13d
mov qword [rbp + 0x1c0], rax
xorps xmm0, xmm0
mov qword [rbp + 0x190], r13
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1a0], xmm0
mov r14d, r9d
movdqa xmmword [rbp + 0x1b0], xmm1
mov qword [rbp + 0x1c8], r13
mov dword [rbp + 0x184], 3
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea ecx, [r13 + 0x11]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r13 + 0x10]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [rbp + 0x198]
lea r8, str.D3D11_Overlay
mov rdx, qword [rbp + 0x1c0]
mov r9d, 0x80000000
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], rcx
mov ecx, 0x80028
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r9d, [r13 + 2]
mov r8b, 0xff
mov rcx, rax
xor edx, edx
mov r12, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea ecx, [r13 + 0x10]
call fcn.1400352a4
mov rdx, rax
mov rcx, r12
mov rsi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [r13 + 0x10]
call fcn.1400352a4
mov rdx, rax
mov rcx, r12
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [r13 + 8]
call fcn.1400352a4
mov rdx, rax
mov rcx, r12
mov rbx, rax
call qword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [r13 + 0x10]
call fcn.1400352a4
mov ecx, dword [rbx]
mov rdx, rax
mov dword [rax], ecx
mov ecx, dword [rbx + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
mov rcx, r12
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
lea edx, [r13 + 0x10]
mov rcx, rsi
call fcn.14003505c
lea edx, [r13 + 0x10]
mov rcx, rdi
call fcn.14003505c
lea edx, [r13 + 8]
mov rcx, rbx
call fcn.14003505c
lea rax, [rbp + 0x100]
mov qword [rbp + 0x130], r13
mov qword [rsp + 0x58], rax
lea edx, [r13 + 1]
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x144], r13
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp + 0x108]
mov qword [rbp + 0x14c], 1
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp + 0x110]
mov qword [rbp + 0x158], 2
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp + 0x130]
mov qword [rbp + 0x170], 2
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x220]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x138], 0x96
mov dword [rbp + 0x13c], 1
mov dword [rbp + 0x140], 0x1c
mov dword [rbp + 0x154], 0x20
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], 1
mov dword [rbp + 0x220], 0xb000
mov dword [rbp + 0x224], 0xa000
mov qword [rbp + 0x108], r13
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x110], r13
mov qword [rbp + 0x118], r13
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [rbp + 0x110]
lea r9, [rbp + 0x120]
lea r8, [0x14003d878]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp + 0x120]
test rdx, rdx
je 0x1400349d8
mov rcx, qword [rbp + 0x108]
lea r9, [rbp + 0x118]
mov qword [rsp + 0x428], r15
xor r8d, r8d
movaps xmmword [rsp + 0x3d0], xmm6
movaps xmmword [rsp + 0x3c0], xmm7
mov rax, qword [rcx]
movaps xmmword [rsp + 0x3b0], xmm8
movaps xmmword [rsp + 0x3a0], xmm9
movaps xmmword [rsp + 0x390], xmm10
movaps xmmword [rsp + 0x380], xmm11
movaps xmmword [rsp + 0x370], xmm12
movaps xmmword [rsp + 0x360], xmm13
movaps xmmword [rsp + 0x350], xmm14
movaps xmmword [rsp + 0x340], xmm15
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x120]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, r14d
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400447b0]
mov ecx, 0x61c8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400447b0]
mov r9, rax
test r8, r8
je 0x140034191
movsx rax, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
mov r10d, dword [r8 + 0x3f60]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140034186
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x607c]
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r13d
inc word [rdx + 4]
inc dword [r8 + 0x6070]
test r9, r9
je 0x1400341a2
xor edx, edx
mov rcx, r9
call fcn.140001780
jmp 0x1400341a5
mov rax, r13
mov qword [0x1400447b0], rax
call fcn.1400055e0
test rbx, rbx
je 0x1400341bd
mov qword [0x1400447b0], rbx
xor ecx, ecx
call fcn.140022f60
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str._SAPPHIRE_CS2___Debugger_Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x14003d80c]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x14003d80c]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
lea rcx, str._SAPPHIRE_CS2___n____SAPPHIRE_CS2_CHEAT__n____LOADED
call fcn.140001480
mov rcx, r12
call fcn.14002d420
mov rdx, qword [rbp + 0x100]
mov rcx, qword [rbp + 0x108]
call fcn.14002d260
movss xmm14, dword [0x14003d94c]
mov r14b, 1
movss xmm15, dword [0x14003d968]
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x1f0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400342cf
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x1f8], 0x12
je 0x1400342cc
test r14b, r14b
je 0x1400342cf
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x1f0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140034281
jmp 0x1400342cf
xor r14b, r14b
mov rax, qword [0x1400447b0]
test rax, rax
je 0x1400342e4
mov rcx, qword [rax + 0x98]
jmp 0x1400342e7
mov rcx, r13
cmp qword [rcx + 0x48], r13
jne 0x1400342f2
call fcn.14002cc00
call fcn.14002de30
call fcn.140007ae0
mov rax, qword [0x1400447b0]
lea r8, [rbp - 0x30]
mov rdx, qword [0x140044808]
xorps xmm0, xmm0
mov rcx, qword [0x1400440c0]
add rdx, 0x19154c0
mov r9d, 0x40
mov qword [rsp + 0x20], r13
movss xmm6, dword [rax + 0x10]
movss xmm7, dword [rax + 0x14]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm0, xmmword [rbp - 0x30]
lea r8, [rbp + 0x1d0]
movaps xmm1, xmmword [rbp - 0x20]
mov r9d, 8
mov rdx, qword [0x140044808]
mov rcx, qword [0x1400440c0]
add rdx, 0x18b3fa8
movaps xmmword [0x1400447c0], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [0x1400447d0], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [0x1400447e0], xmm0
movaps xmmword [0x1400447f0], xmm1
mov qword [rbp + 0x1d0], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1d0]
lea rdx, str.Counter_Strike_2
xor ecx, ecx
mov qword [0x140044800], rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x1400346ea
movss dword [rsp + 0x60], xmm6
mov esi, r13d
movss dword [rsp + 0x64], xmm7
mov r15d, r13d
movsd xmm13, qword [rsp + 0x60]
mov dword [rsp + 0x68], r13d
nop word [rax + rax]
mov edx, esi
lea rcx, [rbp + 0x10]
call fcn.140032c80
mov rdx, qword [0x140044808]
lea r8, [rbp + 0x1d0]
mov rcx, qword [0x1400440c0]
add rdx, 0x19038f8
mov r9d, 8
mov qword [rbp + 0x1d0], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1d0]
lea r8, [rbp + 0x1d8]
mov rcx, qword [0x1400440c0]
mov r9d, 8
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x1d8], r13
lea rdx, [rax + 0x7e4]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x140044800]
lea r8, [rbp + 0x1d0]
mov rbx, qword [rbp + 0x1d8]
add rdx, 0x10
mov rcx, qword [0x1400440c0]
mov r9d, 8
mov qword [rbp - 0x60], rbx
mov qword [rbp + 0x1d0], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400440c0]
lea r8, [rbp + 0x1e0]
and ebx, 0x1ff
mov qword [rbp + 0x1e0], r13
imul rdx, rbx, 0x78
mov r9d, 8
mov qword [rsp + 0x20], r13
add rdx, qword [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdi, qword [rbp + 0x1e0]
lea r8, [rbp - 0x50]
mov rcx, qword [0x1400440c0]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x58], rdi
movups xmmword [rbp - 0x50], xmm0
lea rdx, [rdi + 0x1aa8]
mov dword [rbp - 0x40], eax
lea r9d, [rax + 0x14]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movups xmm0, xmmword [rbp - 0x50]
mov eax, dword [rbp - 0x40]
mov ebx, r13d
mov dword [rbp - 0x6c], eax
movups xmmword [rbp - 0x7c], xmm0
mov ecx, 0x38
call fcn.1400352a4
mov edx, ebx
mov rcx, rax
call fcn.140032c80
mov rcx, rax
mov edx, 0x38
cmp qword [rax + 0x28], rdi
je 0x140034563
call fcn.14003505c
inc ebx
cmp ebx, 0x40
jl 0x140034533
jmp 0x14003456e
mov eax, dword [rax + 0x30]
mov dword [rbp - 0x80], eax
call fcn.14003505c
movups xmm12, xmmword [rbp - 0x80]
lea r8, [rbp + 0xd0]
mov dword [rsp + 0x78], r15d
movups xmm11, xmmword [rbp - 0x70]
lea rdx, [rbp + 0x50]
movups xmm10, xmmword [rbp - 0x60]
movups xmm9, xmmword [rbp + 0x10]
movups xmm8, xmmword [rbp + 0x20]
movups xmm7, xmmword [rbp + 0x30]
movsd xmm6, qword [rbp + 0x40]
movaps xmmword [rbp + 0xd0], xmm12
movaps xmmword [rbp + 0xe0], xmm11
movaps xmmword [rbp + 0xf0], xmm10
movaps xmmword [rbp + 0x50], xmm9
movaps xmmword [rbp + 0x60], xmm8
movaps xmmword [rbp + 0x70], xmm7
movsd qword [rsp + 0x70], xmm13
movsd qword [rbp + 0x80], xmm6
call fcn.140033310
movaps xmm3, xmm15
movss dword [rsp + 0x20], xmm14
lea r8, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm12
lea rdx, [rbp + 0x90]
movaps xmmword [rbp - 0x70], xmm11
lea rcx, [rsp + 0x70]
movaps xmmword [rbp - 0x60], xmm10
movaps xmmword [rbp + 0x90], xmm9
movaps xmmword [rbp + 0xa0], xmm8
movaps xmmword [rbp + 0xb0], xmm7
movsd qword [rbp + 0xc0], xmm6
call fcn.1400336a0
lea r8, [rbp + 0x10]
movaps xmmword [rbp + 0x10], xmm12
lea rdx, [rbp - 0x30]
movaps xmmword [rbp + 0x20], xmm11
lea rcx, [rsp + 0x70]
movaps xmmword [rbp + 0x30], xmm10
movaps xmmword [rbp - 0x30], xmm9
movaps xmmword [rbp - 0x20], xmm8
movaps xmmword [rbp - 0x10], xmm7
movsd qword [rbp], xmm6
call fcn.1400339b0
inc esi
cmp esi, 0x40
jl 0x140034400
call fcn.140009bd0
mov rcx, qword [rbp + 0x100]
lea r8, [rbp + 0x118]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x228], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [rbp + 0x100]
lea r8, [rbp + 0x228]
mov rdx, qword [rbp + 0x118]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400447b0]
mov rcx, qword [rax + 0x4ae0]
mov rax, qword [rcx]
mov rcx, r13
add rax, 0x48
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.14002c1a0
mov rcx, qword [rbp + 0x110]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
test r14b, r14b
jne 0x140034260
mov rbx, qword [0x1400447b0]
movaps xmm15, xmmword [rsp + 0x340]
movaps xmm14, xmmword [rsp + 0x350]
movaps xmm13, xmmword [rsp + 0x360]
movaps xmm12, xmmword [rsp + 0x370]
movaps xmm11, xmmword [rsp + 0x380]
movaps xmm10, xmmword [rsp + 0x390]
movaps xmm9, xmmword [rsp + 0x3a0]
movaps xmm8, xmmword [rsp + 0x3b0]
movaps xmm7, xmmword [rsp + 0x3c0]
movaps xmm6, xmmword [rsp + 0x3d0]
mov r15, qword [rsp + 0x428]
test rbx, rbx
je 0x140034768
mov rdi, qword [rbx + 0x98]
jmp 0x14003476b
mov rdi, r13
call fcn.14002d140
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003477f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003478d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003479c
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1400447b0]
mov qword [rbx + 0x88], r13
mov qword [rbx + 0x98], r13
test r8, r8
je 0x14003481a
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14003480f
lea ecx, [rdx + 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 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r13d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400447b0]
test r8, r8
je 0x140034838
mov rdi, qword [r8 + 0x90]
jmp 0x14003483b
mov rdi, r13
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140034855
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1400447b0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r13
mov qword [rbx + 0x88], r13
test r8, r8
je 0x1400348c9
movsx rdx, word [r8 + 0x6078]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rdx*8 + 0x607c]
add rcx, r8
cmp dword [rcx], r9d
je 0x1400348be
lea ecx, [rdx + 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 + 0x6078], cx
movsx rax, cx
lea rcx, [rax*8 + 0x607c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r13d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400447b0]
mov qword [0x1400447b0], rbx
call fcn.140005a60
mov qword [0x1400447b0], r13
test rbx, rbx
je 0x14003496f
mov rcx, rbx
call fcn.14001b2d0
mov r8, qword [0x1400447b0]
test r8, r8
je 0x140034966
movsx r10, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14003495b
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
lea rdx, [r8 + 0x607c]
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r13d
inc word [rdx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x140034981
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x140034993
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x1400349a5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x1400349b7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r12
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
jmp 0x1400349dd
mov eax, 1
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.140034ec0
add rsp, 0x3e0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret