Function at 0x100b6650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eded5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10116080]
mov edi, dword [ebx + 8]
mov esi, dword [0x10117950]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x100b6e9a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115fb4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10116050]
mov dword [ebp - 0xd0], ecx
cmp eax, dword [ecx + 4]
jle 0x100b6714
push 0x10116050
call fcn.100e1f99
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100b6714
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e1150
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10116010]
mov ecx, dword [ebp - 0xcc]
cmp byte [eax + ecx], 0
jne 0x100b6e9a
test edi, edi
je 0x100b6e9a
sub esp, 8
call fcn.100bc620
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x100b6e9a
mov al, byte [0x10116369]
mov byte [0x10116368], al
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100b6786
cmp dword [0x10116228], 0
jne 0x100b67ad
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
xor al, al
cmp dword [0x10116228], 0
mov byte [0x10116369], al
jne 0x100b67d3
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x100b6857
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x100b6786
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b6786
mov al, 1
jmp 0x100b6788
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x100b6857
mov al, byte [0x10116369]
test al, al
je 0x100b6857
cmp al, byte [0x10116368]
je 0x100b6857
mov ecx, dword [0x10116080]
call fcn.1001cec0
mov eax, dword [eax]
shr eax, 7
test al, 1
jne 0x100b6857
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x10117880]
fstp dword [ebp - 0xcc]
vmovss xmm0, dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vcomiss xmm0, dword [eax + 8]
jbe 0x100b6857
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b6857
cmp byte [esi + 1], al
sete al
mov byte [esi + 1], al
mov ecx, dword [0x10116080]
call fcn.1001cec0
mov eax, dword [eax]
shr eax, 7
test al, 1
jne 0x100b6e8b
call fcn.100b4350
cmp dword [eax], 0
jne 0x100b6e8b
mov ecx, dword [ebp - 0xd4]
call fcn.100b43f0
cmp dword [eax], 5
jne 0x100b697a
mov ecx, dword [ebp - 0xd0]
mov eax, dword [0x10117760]
cmp eax, dword [ecx + 4]
jle 0x100b68ef
push 0x10117760
call fcn.100e1f99
add esp, 4
cmp dword [0x10117760], 0xffffffff
jne 0x100b68e9
push str.m_iWinningTeam
push str.CTeamplayRoundBasedRulesProxy
mov dword [ebp - 4], 1
call fcn.100e1150
push 0x10117760
mov dword [0x10117764], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov ecx, dword [ebp - 0xd0]
mov eax, dword [0x10117764]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x10116080]
mov dword [ebp - 0xd8], eax
mov eax, dword [0x10116100]
cmp eax, dword [ecx + 4]
jle 0x100b6957
push 0x10116100
call fcn.100e1f99
add esp, 4
cmp dword [0x10116100], 0xffffffff
jne 0x100b6957
push str.m_iTeamNum
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.100e1150
push 0x10116100
mov dword [0x101160fc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ecx + eax]
mov eax, dword [0x101160fc]
cmp ecx, dword [eax + edx]
jne 0x100b6e8b
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x10117880]
fstp dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [ebp - 0xcc]
jbe 0x100b69b4
mov byte [esi + 1], 1
jmp 0x100b69f4
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x10117880]
fstp dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vmovss xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [0x10100ba4]
vcomiss xmm0, dword [ebp - 0xcc]
jbe 0x100b69f4
mov byte [esi + 1], 0
cmp byte [esi + 1], 0
mov ecx, dword [0x10116208]
mov eax, dword [ecx]
je 0x100b6e81
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [ebp - 0xd0]
mov eax, dword [0x10116080]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x10117710]
cmp eax, dword [ecx + 4]
jle 0x100b6a71
push 0x10117710
call fcn.100e1f99
add esp, 4
cmp dword [0x10117710], 0xffffffff
jne 0x100b6a71
push str.56_8B_F1_E8_________8B_46_04_8D_4E_04_8B_40_0C_FF_D0_84_C0_74_2E
push str.client.dll
mov dword [ebp - 4], 3
call fcn.100bc4e0
push 0x10117710
mov dword [0x10117738], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov ecx, dword [ebp - 0xcc]
call dword [0x10117738]
cmp byte [esi + 1], 0
je 0x100b6e9a
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x100b6aeb
cmp dword [0x10116228], 0
jne 0x100b6ab9
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
jmp 0x100b6aeb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x100b6aeb
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b6aeb
mov eax, dword [0x101178b0]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x20]
neg eax
mov dword [ecx + 0x20], eax
mov ecx, dword [0x10115ffc]
lea edx, [ebp - 0xf0]
vxorps xmm0, xmm0, xmm0
vmovss dword [ebp - 0xf0], xmm0
vmovss dword [ebp - 0xec], xmm0
mov eax, dword [ecx]
vmovss dword [ebp - 0xe8], xmm0
push edx
mov eax, dword [eax + 0x4c]
call eax
vmovss xmm0, dword [ebp - 0xf0]
mov ecx, dword [0x101178a8]
lea eax, [ebp - 0xd4]
vmulss xmm0, xmm0, dword [0x10100b78]
push eax
lea eax, [ebp - 0xf4]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c750
vmovss xmm0, dword [ebp - 0xec]
vmulss xmm0, xmm0, dword [0x10100b78]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xdc]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c750
vmovss xmm0, dword [ebp - 0xe8]
vmulss xmm0, xmm0, dword [0x10100b78]
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xf8]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c750
vmovss xmm1, dword [ebp - 0xd4]
vmulss xmm0, xmm1, dword [ebp - 0xd0]
vmovss xmm2, dword [ebp - 0xdc]
vmovss xmm7, dword [ebp - 0xf4]
vmovss xmm6, dword [ebp - 0xf8]
vxorps xmm5, xmm2, xmmword [0x10100f90]
vmovss xmm4, dword [0x10100ec0]
vmulss xmm3, xmm4, dword [ebp - 0xe0]
mov eax, dword [0x101178b0]
vmovss dword [ebp - 0xcc], xmm0
vmulss xmm0, xmm2, xmm1
vxorps xmm1, xmm7, xmmword [0x10100f90]
mov eax, dword [eax + 0x10]
vmovss dword [ebp - 0xfc], xmm0
vmulss xmm2, xmm6, xmm7
vmulss xmm0, xmm2, dword [ebp - 0xd0]
cmp byte [eax + 0x14], 0
vmovss dword [ebp - 0x104], xmm1
vmulss xmm1, xmm5, xmm3
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm3, dword [ebp - 0xd0]
vmovss xmm3, dword [ebp - 0xe0]
vmovss dword [ebp - 0xd8], xmm0
vmulss xmm0, xmm2, dword [ebp - 0xdc]
vsubss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x100], xmm0
vmulss xmm0, xmm6, xmm4
vmulss xmm0, xmm0, dword [ebp - 0xd4]
vmulss xmm2, xmm7, xmm3
vmulss xmm1, xmm2, dword [ebp - 0xd0]
vmulss xmm7, xmm3, dword [ebp - 0xd4]
vmovss dword [ebp - 0x108], xmm0
vmulss xmm0, xmm5, xmm6
vsubss xmm5, xmm1, xmm0
vmulss xmm1, xmm2, dword [ebp - 0xdc]
vmulss xmm0, xmm6, dword [ebp - 0xd0]
vsubss xmm6, xmm1, xmm0
je 0x100b6c9d
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
jmp 0x100b6ca6
xor ecx, ecx
mov edx, 0x96
xor eax, eax
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, edx
vmulss xmm1, xmm2, dword [ebp - 0xcc]
vxorps xmm3, xmm3, xmm3
vcvtsi2ss xmm3, xmm3, ecx
vmulss xmm0, xmm3, dword [ebp - 0xd8]
vsubss xmm1, xmm1, xmm0
vxorps xmm4, xmm4, xmm4
vcvtsi2ss xmm4, xmm4, eax
vmulss xmm0, xmm5, xmm4
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm2, dword [ebp - 0xfc]
vmovss dword [ebp - 0xe4], xmm0
vmulss xmm0, xmm3, dword [ebp - 0x100]
vsubss xmm1, xmm1, xmm0
vmulss xmm0, xmm6, xmm4
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm2, dword [ebp - 0x104]
vmovss dword [ebp - 0xd8], xmm0
vmulss xmm0, xmm3, dword [ebp - 0x108]
vsubss xmm1, xmm1, xmm0
push 0x30
vmulss xmm0, xmm7, xmm4
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x18], 0x100f6f88
vsubss xmm0, xmm1, xmm0
push 0
push eax
vmovss dword [ebp - 0xcc], xmm0
call sub.VCRUNTIME140.dll_memset
vmovss xmm5, dword [edi + 0x40]
vmovss xmm6, dword [edi + 0x44]
vmovss xmm7, dword [edi + 0x48]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [ebp - 0xc8], ymm0
vsubss xmm0, xmm5, dword [ebp - 0xe4]
vsubss xmm3, xmm0, xmm5
vsubss xmm0, xmm6, dword [ebp - 0xd8]
vsubss xmm1, xmm0, xmm6
vsubss xmm0, xmm7, dword [ebp - 0xcc]
vsubss xmm2, xmm0, xmm7
vmovss dword [ebp - 0x5c], xmm1
vmulss xmm0, xmm3, xmm3
vmulss xmm1, xmm1, xmm1
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vxorps xmm4, xmm4, xmm4
add esp, 0xc
mov byte [ebp - 0x2f], 1
vaddss xmm0, xmm1, xmm0
vucomiss xmm0, xmm4
vmovss dword [ebp - 0xa8], xmm4
lahf
vmovss dword [ebp - 0x60], xmm3
vmovss dword [ebp - 0x58], xmm2
test ah, 0x44
jp 0x100b6dc4
mov byte [ebp - 0x2f], 0
vmovss xmm0, dword [0x10100ce4]
mov ecx, dword [0x10116090]
lea edx, [ebp - 0xc8]
vmovss dword [ebp - 0x40], xmm0
vmovss dword [ebp - 0x3c], xmm0
vmovss dword [ebp - 0x38], xmm0
vaddss xmm0, xmm5, xmm4
vmovss dword [ebp - 0x70], xmm0
vaddss xmm0, xmm6, xmm4
vmovss dword [ebp - 0x6c], xmm0
vaddss xmm0, xmm7, xmm4
vmovss dword [ebp - 0x68], xmm0
vmovss xmm0, dword [0x10100eb0]
push edx
vmovss dword [ebp - 0x50], xmm0
vmovss dword [ebp - 0x4c], xmm0
vmovss dword [ebp - 0x48], xmm0
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x18]
mov eax, dword [ecx]
push edx
push 0x200400b
lea edx, [ebp - 0x70]
mov eax, dword [eax + 0x10]
push edx
vzeroupper
call eax
vmovss xmm2, dword [ebp - 0x9c]
vmovss xmm0, dword [edi + 0x40]
vmulss xmm1, xmm2, dword [ebp - 0xe4]
vsubss xmm0, xmm0, xmm1
vmulss xmm1, xmm2, dword [ebp - 0xd8]
vmovss dword [edi + 0x40], xmm0
vmovss xmm0, dword [edi + 0x44]
vsubss xmm0, xmm0, xmm1
vmulss xmm1, xmm2, dword [ebp - 0xcc]
vmovss dword [edi + 0x44], xmm0
vmovss xmm0, dword [edi + 0x48]
vsubss xmm0, xmm0, xmm1
vmovss dword [edi + 0x48], xmm0
jmp 0x100b6e9a
mov eax, dword [eax + 0x84]
call eax
jmp 0x100b6e9a
call fcn.100b4350
mov dword [eax], 0
mov byte [esi + 1], 0
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.100e1a4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4