Function at 0x10005f40
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 0x1001b571
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x10023040]
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 [0x10023334], 0
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], edi
je 0x100062d8
push 0
push 0x10023700
push 0x100236e4
push 0
push eax
call sub.VCruNTiMe140.dLL___RTDynamicCast
mov dword [ebp - 0x80], eax
add esp, 0x14
mov eax, dword [0x10023454]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0x7f7fffff
mov dword [ebp - 0x8c], 0x7f7fffff
cmp eax, 1
jne 0x10006032
mov cl, byte [edi + 0x24]
and cl, al
jmp 0x1000604e
test eax, eax
jne 0x1000603d
mov eax, 1
jmp 0x10006049
push eax
call dword [sym.imp.USer32.dLl_GetAsyncKeyState]
and eax, 0x8000
test eax, eax
setne cl
mov eax, dword [0x1002330c]
sub eax, 0
jne 0x10006068
movss xmm0, dword [0x100232f0]
movss dword [0x10023f30], xmm0
test cl, cl
je 0x100062d8
push ecx
push esi
call fcn.10005520
test al, al
je 0x100062d8
mov eax, dword [0x1002330c]
sub eax, 0
je 0x100060a0
sub eax, 1
je 0x10006097
mov dword [ebp - 0x7c], 0
jmp 0x100060a7
mov dword [ebp - 0x7c], 2
jmp 0x100060a7
mov dword [ebp - 0x7c], 1
mov esi, dword [0x100243ec]
lea eax, [ebp - 0x7c]
mov ecx, dword [0x100243e8]
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 [0x100243ec]
push eax
call fcn.100023e0
mov edi, dword [ebp - 0x84]
lea ecx, [ebp - 0x20]
add esp, 8
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x3b4]
mov eax, dword [0x100243ec]
mov esi, dword [0x100243e8]
mov dword [ebp - 0x84], eax
cmp esi, eax
je 0x100062d8
nop word [eax + eax]
cmp byte [0x10023304], 0
je 0x100061ed
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.10004fb0
test al, al
je 0x100061fc
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi]
jne 0x100061fc
cmp byte [0x10023444], 0
movups xmm0, xmmword [esi + 8]
mov eax, dword [esi]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 4]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0xac], eax
movups xmm0, xmmword [esi + 0x18]
mov esi, dword [ebp - 0x88]
movups xmmword [ebp - 0x98], xmm0
je 0x100061c0
or dword [esi + 0x24], 1
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5ec]
call eax
cmp eax, 6
jne 0x10006217
test byte [esi + 0x24], 1
je 0x10006210
mov eax, dword [0x10023eec]
mov ecx, dword [ebp - 0x80]
call eax
test al, al
je 0x10006210
mov al, 1
jmp 0x100062a6
lea edx, [esi + 8]
lea ecx, [ebp - 0x20]
call fcn.100036f0
test al, al
jne 0x10006186
add esi, 0x28
cmp esi, dword [ebp - 0x84]
jne 0x10006110
jmp 0x100062d8
xor al, al
jmp 0x100062a6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10023eb8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10023fe8]
cmp eax, dword [ecx + 4]
jle 0x10006278
push 0x10023fe8
call fcn.1001a56d
add esp, 4
cmp dword [0x10023fe8], 0xffffffff
jne 0x10006278
push str.m_flSmackTime
push str.CTFWeaponBaseMelee
mov dword [ebp - 4], 0
call fcn.10016990
push 0x10023fe8
mov dword [0x10023ff0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1001a51c
add esp, 4
mov eax, dword [0x10023ff0]
mov edx, dword [ebp - 0x80]
mov ecx, dword [0x10023f6c]
movss xmm0, dword [eax + edx]
movss xmm1, dword [ecx + 0x1c]
subss xmm0, dword [ecx + 0xc]
addss xmm1, xmm1
andps xmm0, xmmword [0x1001fd70]
comiss xmm1, xmm0
seta al
cmp dword [0x100232dc], 2
jne 0x100062ca
test al, al
je 0x100062d8
lea eax, [ebp - 0x9c]
push eax
push esi
push edi
call fcn.10005cd0
mov byte [0x10023f37], 1
jmp 0x100062d8
lea eax, [ebp - 0x9c]
push eax
push esi
push edi
call fcn.10005cd0
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.1001a168
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc