Function at 0x10005fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018dd1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x1002000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100202c4], 0
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x84], edi
je 0x1000636b
push 0
push 0x100205f0
push 0x100205d4
push 0
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
mov dword [ebp - 0xb4], eax
add esp, 0x14
mov eax, dword [0x100203d8]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x8c], 0x7f7fffff
mov dword [ebp - 0x88], 0x7f7fffff
cmp eax, 1
jne 0x100060a2
mov al, byte [edi + 0x24]
and al, 1
jmp 0x100060be
test eax, eax
jne 0x100060ad
mov eax, 1
jmp 0x100060b9
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
test eax, eax
setne al
test al, al
je 0x1000636b
push ecx
push esi
call fcn.10005520
test al, al
je 0x1000636b
mov eax, dword [0x1002029c]
sub eax, 0
je 0x100060f6
sub eax, 1
je 0x100060ed
mov dword [ebp - 0x80], 0
jmp 0x100060fd
mov dword [ebp - 0x80], 2
jmp 0x100060fd
mov dword [ebp - 0x80], 1
mov esi, dword [0x10021244]
lea eax, [ebp - 0x80]
mov ecx, dword [0x10021240]
sub esi, ecx
push eax
mov eax, 0x66666667
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x10021244]
push eax
call fcn.10002240
mov edi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x20]
add esp, 8
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x3b4]
mov eax, dword [0x10021244]
mov esi, dword [0x10021240]
mov dword [ebp - 0xb0], eax
cmp esi, eax
je 0x1000636b
nop dword [eax]
cmp byte [0x10020294], 0
je 0x10006274
push 0x30
lea eax, [ebp - 0x54]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x64], 0
push eax
lea eax, [esi + 0x14]
mov dword [ebp - 0x68], 0
push eax
push ecx
push edi
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.10004db0
test al, al
je 0x1000628c
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi]
jne 0x1000628c
lea edi, [esi + 8]
cmp byte [0x100203c8], 0
movss xmm0, dword [edi]
mov eax, dword [esi]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [edi + 4]
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [edi + 8]
movss dword [ebp - 0x9c], xmm0
movups xmm0, xmmword [esi + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [esi + 4]
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0xa8], eax
movss xmm0, dword [esi + 0x24]
mov esi, dword [ebp - 0x84]
movss dword [ebp - 0x88], xmm0
je 0x10006243
or dword [esi + 0x24], 1
mov edi, dword [ebp - 0xb4]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x5ec]
call eax
cmp eax, 6
jne 0x100062a7
test byte [esi + 0x24], 1
je 0x100062a0
mov eax, dword [0x10020d98]
mov ecx, edi
call eax
test al, al
je 0x100062a0
mov al, 1
jmp 0x10006333
lea edi, [esi + 8]
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.10003520
test al, al
jne 0x100061e1
mov edi, dword [ebp - 0x7c]
add esi, 0x28
cmp esi, dword [ebp - 0xb0]
jne 0x10006160
jmp 0x1000636b
xor al, al
jmp 0x10006333
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10020d68]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10020e98]
cmp eax, dword [ecx + 4]
jle 0x10006308
push 0x10020e98
call fcn.10017d6d
add esp, 4
cmp dword [0x10020e98], 0xffffffff
jne 0x10006308
push str.m_flSmackTime
push str.CTFWeaponBaseMelee
mov dword [ebp - 4], 0
call fcn.10014610
push 0x10020e98
mov dword [0x10020ea0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10017d1c
add esp, 4
mov eax, dword [0x10020ea0]
mov ecx, dword [0x10020e1c]
movss xmm0, dword [eax + edi]
movss xmm1, dword [ecx + 0x1c]
subss xmm0, dword [ecx + 0xc]
addss xmm1, xmm1
andps xmm0, xmmword [0x1001c8f0]
comiss xmm1, xmm0
seta al
cmp dword [0x1002026c], 2
jne 0x1000635a
test al, al
je 0x1000636b
lea eax, [ebp - 0x98]
push eax
push esi
mov esi, dword [ebp - 0x7c]
push esi
call fcn.10005cf0
mov byte [0x10020de7], 1
jmp 0x1000636b
lea eax, [ebp - 0x98]
push eax
push esi
mov esi, dword [ebp - 0x7c]
push esi
call fcn.10005cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10017968
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc