Function at 0x100b6810
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 0x100ed791
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x108
mov eax, dword [0x10111040]
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 [0x10115080]
mov edx, dword [ebx + 8]
mov esi, dword [0x1011696c]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x100b70a7
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10115050]
cmp eax, dword [edi + 4]
jle 0x100b68da
push 0x10115050
call fcn.100e1839
add esp, 4
cmp dword [0x10115050], 0xffffffff
jne 0x100b68d4
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e09f0
push 0x10115050
mov dword [0x10115010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov edx, dword [ebp - 0xe0]
mov eax, dword [0x10115010]
mov ecx, dword [ebp - 0xcc]
cmp byte [eax + ecx], 0
jne 0x100b70a7
test edx, edx
je 0x100b70a7
sub esp, 8
call fcn.100bd1d0
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x100b70a7
mov al, byte [0x10115369]
mov byte [0x10115368], al
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x10]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100b694c
cmp dword [0x10115228], 0
jne 0x100b6973
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
xor al, al
cmp dword [0x10115228], 0
mov byte [0x10115369], al
jne 0x100b6999
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x100b6a1d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x100b694c
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b694c
mov al, 1
jmp 0x100b694e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x100b6a1d
mov al, byte [0x10115369]
test al, al
je 0x100b6a1d
cmp al, byte [0x10115368]
je 0x100b6a1d
mov ecx, dword [0x10115080]
call fcn.1001cf20
mov eax, dword [eax]
shr eax, 7
test al, 1
jne 0x100b6a1d
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x1011689c]
fstp dword [ebp - 0xcc]
vmovss xmm0, dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vcomiss xmm0, dword [eax + 8]
jbe 0x100b6a1d
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b6a1d
cmp byte [esi + 1], al
sete al
mov byte [esi + 1], al
mov ecx, dword [0x10115080]
call fcn.1001cf20
mov eax, dword [eax]
shr eax, 7
test al, 1
jne 0x100b7098
call fcn.100b4780
cmp dword [eax], 0
jne 0x100b7098
mov eax, dword [0x1011673c]
cmp eax, dword [edi + 4]
jle 0x100b6a95
push 0x1011673c
call fcn.100e1839
add esp, 4
cmp dword [0x1011673c], 0xffffffff
jne 0x100b6a95
push str.m_iRoundState
push str.CTeamplayRoundBasedRulesProxy
mov dword [ebp - 4], 1
call fcn.100e09f0
push 0x1011673c
mov dword [0x10116764], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10116764]
mov ecx, dword [ebp - 0xd0]
cmp dword [eax + ecx], 5
jne 0x100b6b87
mov eax, dword [0x10116778]
cmp eax, dword [edi + 4]
jle 0x100b6afc
push 0x10116778
call fcn.100e1839
add esp, 4
cmp dword [0x10116778], 0xffffffff
jne 0x100b6afc
push str.m_iWinningTeam
push str.CTeamplayRoundBasedRulesProxy
mov dword [ebp - 4], 2
call fcn.100e09f0
push 0x10116778
mov dword [0x1011677c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x1011677c]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x10115080]
mov dword [ebp - 0xd4], eax
mov eax, dword [0x10115100]
cmp eax, dword [edi + 4]
jle 0x100b6b64
push 0x10115100
call fcn.100e1839
add esp, 4
cmp dword [0x10115100], 0xffffffff
jne 0x100b6b64
push str.m_iTeamNum
push str.CBaseEntity
mov dword [ebp - 4], 3
call fcn.100e09f0
push 0x10115100
mov dword [0x101150fc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ecx + eax]
mov eax, dword [0x101150fc]
cmp ecx, dword [edx + eax]
jne 0x100b7098
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x1011689c]
fstp dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [ebp - 0xcc]
jbe 0x100b6bc1
mov byte [esi + 1], 1
jmp 0x100b6c01
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x1011689c]
fstp dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vmovss xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [0x1010036c]
vcomiss xmm0, dword [ebp - 0xcc]
jbe 0x100b6c01
mov byte [esi + 1], 0
cmp byte [esi + 1], 0
mov ecx, dword [0x10115208]
mov eax, dword [ecx]
je 0x100b708e
mov eax, dword [eax + 0x80]
call eax
mov eax, dword [0x10115080]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x10116714]
cmp eax, dword [edi + 4]
jle 0x100b6c78
push 0x10116714
call fcn.100e1839
add esp, 4
cmp dword [0x10116714], 0xffffffff
jne 0x100b6c78
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], 4
call fcn.100bd090
push 0x10116714
mov dword [0x10116748], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov ecx, dword [ebp - 0xcc]
call dword [0x10116748]
cmp byte [esi + 1], 0
je 0x100b70a7
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x10]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x100b6cf2
cmp dword [0x10115228], 0
jne 0x100b6cc0
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
jmp 0x100b6cf2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x100b6cf2
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b6cf2
mov eax, dword [0x101168cc]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x20]
neg eax
mov dword [ecx + 0x20], eax
mov ecx, dword [0x10114ffc]
lea edx, [ebp - 0xf4]
vxorps xmm0, xmm0, xmm0
vmovss dword [ebp - 0xf4], xmm0
vmovss dword [ebp - 0xf0], xmm0
mov eax, dword [ecx]
vmovss dword [ebp - 0xec], xmm0
push edx
mov eax, dword [eax + 0x4c]
call eax
vmovss xmm0, dword [ebp - 0xf4]
mov ecx, dword [0x101168c4]
lea eax, [ebp - 0xd0]
vmulss xmm0, xmm0, dword [0x10100340]
push eax
lea eax, [ebp - 0xf8]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c7b0
vmovss xmm0, dword [ebp - 0xf0]
vmulss xmm0, xmm0, dword [0x10100340]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c7b0
vmovss xmm0, dword [ebp - 0xec]
vmulss xmm0, xmm0, dword [0x10100340]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xfc]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c7b0
vmovss xmm1, dword [ebp - 0xd0]
vmulss xmm0, xmm1, dword [ebp - 0xd8]
vmovss xmm2, dword [ebp - 0xdc]
vmovss xmm7, dword [ebp - 0xf8]
vmovss xmm6, dword [ebp - 0xfc]
vxorps xmm5, xmm2, xmmword [0x10100760]
vmovss xmm4, dword [0x10100688]
vmulss xmm3, xmm4, dword [ebp - 0xe4]
mov eax, dword [0x101168cc]
vmovss dword [ebp - 0xcc], xmm0
vmulss xmm0, xmm2, xmm1
vxorps xmm1, xmm7, xmmword [0x10100760]
mov eax, dword [eax + 0x10]
vmovss dword [ebp - 0x100], xmm0
vmulss xmm2, xmm6, xmm7
vmulss xmm0, xmm2, dword [ebp - 0xd8]
cmp byte [eax + 0x14], 0
vmovss dword [ebp - 0x108], xmm1
vmulss xmm1, xmm5, xmm3
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm3, dword [ebp - 0xd8]
vmovss xmm3, dword [ebp - 0xe4]
vmovss dword [ebp - 0xd4], xmm0
vmulss xmm0, xmm2, dword [ebp - 0xdc]
vsubss xmm0, xmm1, xmm0
vmovss dword [ebp - 0x104], xmm0
vmulss xmm0, xmm6, xmm4
vmulss xmm0, xmm0, dword [ebp - 0xd0]
vmulss xmm2, xmm7, xmm3
vmulss xmm1, xmm2, dword [ebp - 0xd8]
vmulss xmm7, xmm3, dword [ebp - 0xd0]
vmovss dword [ebp - 0x10c], xmm0
vmulss xmm0, xmm5, xmm6
vsubss xmm5, xmm1, xmm0
vmulss xmm1, xmm2, dword [ebp - 0xdc]
vmulss xmm0, xmm6, dword [ebp - 0xd8]
vsubss xmm6, xmm1, xmm0
je 0x100b6ea4
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
jmp 0x100b6ead
xor ecx, ecx
mov edx, 0x96
xor eax, eax
mov esi, dword [ebp - 0xe0]
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 - 0xd4]
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 - 0x100]
vmovss dword [ebp - 0xe8], xmm0
vmulss xmm0, xmm3, dword [ebp - 0x104]
vsubss xmm1, xmm1, xmm0
vmulss xmm0, xmm6, xmm4
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm2, dword [ebp - 0x108]
vmovss dword [ebp - 0xd4], xmm0
vmulss xmm0, xmm3, dword [ebp - 0x10c]
vsubss xmm1, xmm1, xmm0
push 0x30
vmulss xmm0, xmm7, xmm4
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x18], 0x100f6f78
vsubss xmm0, xmm1, xmm0
push 0
push eax
vmovss dword [ebp - 0xcc], xmm0
call sub.VCRUNTIME140.dll_memset
vmovss xmm5, dword [esi + 0x40]
vmovss xmm6, dword [esi + 0x44]
vmovss xmm7, dword [esi + 0x48]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [ebp - 0xc8], ymm0
vsubss xmm0, xmm5, dword [ebp - 0xe8]
vsubss xmm3, xmm0, xmm5
vsubss xmm0, xmm6, dword [ebp - 0xd4]
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 0x100b6fd1
mov byte [ebp - 0x2f], 0
vmovss xmm0, dword [0x101004a8]
mov ecx, dword [0x10115090]
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 [0x10100678]
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 [esi + 0x40]
vmulss xmm1, xmm2, dword [ebp - 0xe8]
vsubss xmm0, xmm0, xmm1
vmulss xmm1, xmm2, dword [ebp - 0xd4]
vmovss dword [esi + 0x40], xmm0
vmovss xmm0, dword [esi + 0x44]
vsubss xmm0, xmm0, xmm1
vmulss xmm1, xmm2, dword [ebp - 0xcc]
vmovss dword [esi + 0x44], xmm0
vmovss xmm0, dword [esi + 0x48]
vsubss xmm0, xmm0, xmm1
vmovss dword [esi + 0x48], xmm0
jmp 0x100b70a7
mov eax, dword [eax + 0x84]
call eax
jmp 0x100b70a7
call fcn.100b4780
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.100e12eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4