Function at 0x100b5230
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 0x100ec985
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x1011100c]
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 [0x10115020]
mov edi, dword [ebx + 8]
mov esi, dword [0x101168ec]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x100b5a7c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114f54]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10114ff0]
mov dword [ebp - 0xd0], ecx
cmp eax, dword [ecx + 4]
jle 0x100b52f4
push 0x10114ff0
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ff0], 0xffffffff
jne 0x100b52f4
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100dfaa0
push 0x10114ff0
mov dword [0x10114fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fb0]
mov ecx, dword [ebp - 0xcc]
cmp byte [eax + ecx], 0
jne 0x100b5a7c
test edi, edi
je 0x100b5a7c
sub esp, 8
call fcn.100bb200
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x100b5a7c
mov al, byte [0x10115309]
mov byte [0x10115308], al
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x10]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100b5368
cmp dword [0x101151c8], 0
jne 0x100b538f
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
xor al, al
cmp dword [0x101151c8], 0
mov byte [0x10115309], al
jne 0x100b53b5
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
jmp 0x100b5439
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101151c8]
jne 0x100b5368
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b5368
mov al, 1
jmp 0x100b536a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101151c8]
jne 0x100b5439
mov al, byte [0x10115309]
test al, al
je 0x100b5439
cmp al, byte [0x10115308]
je 0x100b5439
mov ecx, dword [0x10115020]
call fcn.1001cd40
mov eax, dword [eax]
shr eax, 7
test al, 1
jne 0x100b5439
mov ecx, dword [0x10114f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x1011681c]
fstp dword [ebp - 0xcc]
vmovss xmm0, dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vcomiss xmm0, dword [eax + 8]
jbe 0x100b5439
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b5439
cmp byte [esi + 1], al
sete al
mov byte [esi + 1], al
mov ecx, dword [0x10115020]
call fcn.1001cd40
mov eax, dword [eax]
shr eax, 7
test al, 1
jne 0x100b5a6d
call fcn.100b2f60
cmp dword [eax], 0
jne 0x100b5a6d
mov ecx, dword [ebp - 0xd4]
call fcn.100b3000
cmp dword [eax], 5
jne 0x100b555c
mov ecx, dword [ebp - 0xd0]
mov eax, dword [0x101166fc]
cmp eax, dword [ecx + 4]
jle 0x100b54d1
push 0x101166fc
call fcn.100e09a6
add esp, 4
cmp dword [0x101166fc], 0xffffffff
jne 0x100b54cb
push str.m_iWinningTeam
push str.CTeamplayRoundBasedRulesProxy
mov dword [ebp - 4], 1
call fcn.100dfaa0
push 0x101166fc
mov dword [0x10116700], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov ecx, dword [ebp - 0xd0]
mov eax, dword [0x10116700]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x10115020]
mov dword [ebp - 0xd8], eax
mov eax, dword [0x101150a0]
cmp eax, dword [ecx + 4]
jle 0x100b5539
push 0x101150a0
call fcn.100e09a6
add esp, 4
cmp dword [0x101150a0], 0xffffffff
jne 0x100b5539
push str.m_iTeamNum
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.100dfaa0
push 0x101150a0
mov dword [0x1011509c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
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 [0x1011509c]
cmp ecx, dword [eax + edx]
jne 0x100b5a6d
mov ecx, dword [0x10114f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x1011681c]
fstp dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vmovss xmm0, dword [eax + 8]
vcomiss xmm0, dword [ebp - 0xcc]
jbe 0x100b5596
mov byte [esi + 1], 1
jmp 0x100b55d6
mov ecx, dword [0x10114f9c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xcc], eax
call dword [ebp - 0xcc]
mov eax, dword [0x1011681c]
fstp dword [ebp - 0xcc]
mov eax, dword [eax + 0x78]
vmovss xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [0x100ffc14]
vcomiss xmm0, dword [ebp - 0xcc]
jbe 0x100b55d6
mov byte [esi + 1], 0
cmp byte [esi + 1], 0
mov ecx, dword [0x101151a8]
mov eax, dword [ecx]
je 0x100b5a63
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [ebp - 0xd0]
mov eax, dword [0x10115020]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x101166ac]
cmp eax, dword [ecx + 4]
jle 0x100b5653
push 0x101166ac
call fcn.100e09a6
add esp, 4
cmp dword [0x101166ac], 0xffffffff
jne 0x100b5653
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.100bb0c0
push 0x101166ac
mov dword [0x101166d4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov ecx, dword [ebp - 0xcc]
call dword [0x101166d4]
cmp byte [esi + 1], 0
je 0x100b5a7c
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x10]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x100b56cd
cmp dword [0x101151c8], 0
jne 0x100b569b
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
jmp 0x100b56cd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101151c8]
jne 0x100b56cd
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100b56cd
mov eax, dword [0x1011684c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x20]
neg eax
mov dword [ecx + 0x20], eax
mov ecx, dword [0x10114f9c]
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 [0x10116844]
lea eax, [ebp - 0xd4]
vmulss xmm0, xmm0, dword [0x100ffbe8]
push eax
lea eax, [ebp - 0xf4]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c5d0
vmovss xmm0, dword [ebp - 0xec]
vmulss xmm0, xmm0, dword [0x100ffbe8]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xdc]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c5d0
vmovss xmm0, dword [ebp - 0xe8]
vmulss xmm0, xmm0, dword [0x100ffbe8]
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xf8]
push eax
push ecx
vmovss dword [esp], xmm0
call fcn.1001c5d0
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 [0x10100000]
vmovss xmm4, dword [0x100fff30]
vmulss xmm3, xmm4, dword [ebp - 0xe0]
mov eax, dword [0x1011684c]
vmovss dword [ebp - 0xcc], xmm0
vmulss xmm0, xmm2, xmm1
vxorps xmm1, xmm7, xmmword [0x10100000]
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 0x100b587f
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
jmp 0x100b5888
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], 0x100f6028
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 0x100b59a6
mov byte [ebp - 0x2f], 0
vmovss xmm0, dword [0x100ffd54]
mov ecx, dword [0x10115030]
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 [0x100fff20]
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 0x100b5a7c
mov eax, dword [eax + 0x84]
call eax
jmp 0x100b5a7c
call fcn.100b2f60
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.100e03a1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4