Function at 0x1006c910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x102699d4]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [eax]
push edi
mov dword [ebp - 4], eax
mov edi, ecx
mov eax, dword [0x10269e10]
mov dword [ebp - 0x28], edi
test al, 1
jne 0x1006c9ac
mov esi, dword [0x10269968]
lea ecx, [ebp - 0x24]
push 0x16
or eax, 1
mov dword [ebp - 0x14], 0
vpxor xmm0, xmm0, xmm0
push str.CCSPlayer__m_bIsScoped
mov dword [0x10269e10], eax
vmovdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0
call fcn.10002ab0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [ebp - 0x10]
mov dword [0x10269e0c], eax
cmp ecx, 0xf
jbe 0x1006c9ac
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006c9a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006cc1c
push ecx
push edx
call fcn.101041cb
add esp, 8
mov eax, dword [0x10269e0c]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx - 0x14]
mov dword [ebp - 4], eax
test eax, eax
je case.default.0x1006cc96
mov eax, dword [0x102699d4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [0x10269e40]
test al, 1
jne 0x1006ca51
mov esi, dword [0x10269968]
lea ecx, [ebp - 0x24]
push 0xa
or eax, 1
mov dword [ebp - 0x14], 0
vpxor xmm0, xmm0, xmm0
push str.m_MoveType
mov dword [0x10269e40], eax
vmovdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0
call fcn.10002ab0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [ebp - 0x10]
mov dword [0x10269e3c], eax
cmp ecx, 0xf
jbe 0x1006ca51
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006ca47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006cc1c
push ecx
push edx
call fcn.101041cb
add esp, 8
mov eax, dword [0x10269e3c]
xor dl, dl
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 4]
mov cl, byte [ecx + eax]
xor al, al
test ebx, ebx
je 0x1006ca9b
mov eax, dword [ebx + 4]
cdq
mov dword [ebp - 8], 0x96
idiv dword [ebp - 8]
mov esi, dword [0x10269a40]
cmp edx, 0x96
jae 0x1006cdcb
imul eax, edx, 0x858
mov dl, byte [eax + esi + 0x1b60]
mov al, byte [eax + esi + 0x1c08]
cmp byte [edi + 0x1a], 0
je case.default.0x1006cc96
cmp cl, 8
je case.default.0x1006cc96
cmp cl, 9
je case.default.0x1006cc96
test ebx, ebx
je 0x1006cad6
cmp dl, 9
je case.default.0x1006cc96
cmp al, 9
je case.default.0x1006cc96
test byte [ebx + 0x30], 0x20
jne case.default.0x1006cc96
mov eax, dword [0x102699d4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [0x102699dc]
test al, 1
jne 0x1006cb61
mov esi, dword [0x10269968]
lea ecx, [ebp - 0x24]
push 0x15
or eax, 1
mov dword [ebp - 0x14], 0
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_fFlags
mov dword [0x102699dc], eax
vmovdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0
call fcn.10002ab0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [ebp - 0x10]
mov dword [0x102699d8], eax
cmp ecx, 0xf
jbe 0x1006cb61
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006cb57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006cc1c
push ecx
push edx
call fcn.101041cb
add esp, 8
mov eax, dword [0x102699d8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 4]
test byte [ecx + eax], 0x40
jne case.default.0x1006cc96
mov esi, dword [0x10269964]
mov al, byte [esi + 0x188]
test al, 0x10
jne case.default.0x1006cc96
cmp byte [esi + 0x170], 0
jne case.default.0x1006cc96
test al, 4
je 0x1006cc65
mov eax, dword [0x102699d4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [0x10269e20]
test al, 1
jne 0x1006cc2f
mov edi, dword [0x10269968]
lea ecx, [ebp - 0x24]
push 0x25
or eax, 1
mov dword [ebp - 0x14], 0
vpxor xmm0, xmm0, xmm0
push str.CBaseCombatCharacter__m_hActiveWeapon
mov dword [0x10269e20], eax
vmovdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0
call fcn.10002ab0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.10006660
mov ecx, dword [ebp - 0x10]
mov dword [0x10269e1c], eax
cmp ecx, 0xf
jbe 0x1006cc2c
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006cc22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006cc22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101041cb
add esp, 8
mov edi, dword [ebp - 0x28]
mov eax, dword [0x10269e1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [edx + eax]
cmp edx, 0xffffffff
jne 0x1006cc46
xor eax, eax
jmp 0x1006cc54
mov ecx, dword [0x10269978]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
push ebx
push eax
mov ecx, esi
call fcn.1000ace0
test al, al
jne case.default.0x1006cc96
mov eax, dword [edi + 0x54]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x1006cc7a
push eax
call esi
test ax, ax
jne case.0x1006cc96.1
mov eax, dword [edi + 0x58]
test eax, eax
je 0x1006cc89
push eax
call esi
test ax, ax
jne case.0x1006cc96.1
mov eax, dword [edi + 0x48]
dec eax
cmp eax, 3
ja case.default.0x1006cc96
jmp dword [eax*4 + 0x1006cdd0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, dword [ecx + 0x340]
mov dword [ebx + 0xc], eax
pop ebx
mov esp, ebp
pop ebp
ret 4
vmovss xmm0, dword [0x1016f190]
pop edi
pop esi
vmovss dword [ebx + 0xc], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
vxorps xmm0, xmm0, xmm0
pop esi
vmovss dword [ebx + 0xc], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x10269970]
vmovss xmm0, dword [eax + 0x20]
mov eax, dword [0x10269a30]
vmovss dword [ebp - 8], xmm0
mov eax, dword [eax + 0x48]
cmp eax, 0x64
je 0x1006cdae
test eax, eax
jle 0x1006cdae
mov ecx, edi
call fcn.1006b250
test al, al
je 0x1006cdae
vmovss xmm0, dword [ebp - 8]
vdivss xmm0, xmm0, dword [0x10128f2c]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [ebp - 0xc], xmm0
fld qword [ebp - 0xc]
fld qword [0x1016f368]
mov byte [edi + 0x6d], 1
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
call fcn.10104930
mov ecx, dword [ebp - 4]
mov dword [edi + 0x84], eax
cmp eax, 1
jne 0x1006cd55
mov eax, dword [ecx + 0x340]
mov dword [ebx + 0xc], eax
cmp dword [edi + 0x84], 2
vmovss xmm1, dword [0x1016f190]
jne 0x1006cd6b
vmovss dword [ebx + 0xc], xmm1
cmp dword [edi + 0x84], 3
jne 0x1006cd81
vmovss xmm0, dword [0x1016f384]
vmovss dword [ebx + 0xc], xmm0
cmp dword [edi + 0x84], 4
jne 0x1006cd8f
vmovss dword [ebx + 0xc], xmm1
cmp dword [edi + 0x84], 5
jne 0x1006cda1
mov eax, dword [ecx + 0x340]
mov dword [ebx + 0xc], eax
mov byte [edi + 0x6e], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov byte [edi + 0x6d], 0
mov eax, dword [ecx + 0x340]
mov dword [ebx + 0xc], eax
mov byte [edi + 0x6e], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10055060
popfd
int3