Function at 0x10081a60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018071d
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x10234298]
test edi, edi
je 0x10081e61
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10236a90]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x102f6c6c]
cmp eax, dword [ebx + 4]
jle 0x10081adf
push 0x102f6c6c
call fcn.1017dd04
add esp, 4
cmp dword [0x102f6c6c], 0xffffffff
jne 0x10081adf
push 0x102f6c6c
mov dword [0x102f6c64], 0
mov dword [0x102f6c60], 0x102f2c70
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x102f6c60]
mov eax, dword [eax]
test eax, eax
jne 0x10081af1
mov dword [0x102f6c64], eax
jmp 0x10081b0b
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102f6c64], eax
jne 0x10081ed6
mov eax, dword [0x10237050]
cmp eax, 3
jne 0x10081b22
cmp byte [0x102f2c94], 0
jne 0x10081ed6
cmp byte [0x102f2d38], 0
je 0x10081e61
cmp eax, 3
jne 0x10081e61
mov eax, dword [0x10236f30]
cmp eax, dword [ebx + 4]
jle 0x10081b8f
push 0x10236f30
call fcn.1017dd04
add esp, 4
cmp dword [0x10236f30], 0xffffffff
jne 0x10081b8f
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0
call fcn.1006a490
push 0x10236f30
mov dword [0x10236f40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10236f40]
mov esi, 0x41
mov ecx, 0x23
cmp dword [eax + edi], 1
mov eax, dword [0x10236f18]
cmove esi, ecx
cmp eax, 0x191
jg 0x10081d35
je 0x10081cb4
add eax, 0xffffff80
cmp eax, 0xe3
ja case.0x10081bd0.129
movzx eax, byte [eax + 0x10081f14]
jmp dword [eax*4 + 0x10081eec]
mov esi, 0x1a
jmp case.0x10081bd0.129
mov esi, 9
jmp case.0x10081bd0.129
mov eax, dword [0x1023703c]
cmp eax, dword [ebx + 4]
jle 0x10081c3d
push 0x1023703c
call fcn.1017dd04
add esp, 4
cmp dword [0x1023703c], 0xffffffff
jne 0x10081c3d
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 1
call fcn.1006a3a0
push 0x1023703c
mov dword [0x10237064], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10237064]
sub esp, 8
movsd xmm0, qword [0x1021ea18]
movd xmm1, dword [eax + edi]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1021e988]
subsd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
cvttsd2si esi, qword [ebp - 0x18]
add esp, 8
jmp case.0x10081bd0.129
mov esi, 0x34
jmp case.0x10081bd0.129
mov esi, 0x51
jmp case.0x10081bd0.129
mov esi, 0x4e
jmp case.0x10081bd0.129
mov esi, 0x55
jmp case.0x10081bd0.129
mov esi, 0x25
jmp case.0x10081bd0.129
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1ac]
call eax
mov ecx, dword [0x1023703c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
cmp ecx, dword [ebx + 4]
jle 0x10081d1b
push 0x1023703c
call fcn.1017dd04
add esp, 4
cmp dword [0x1023703c], 0xffffffff
jne 0x10081d1b
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 2
call fcn.1006a3a0
push 0x1023703c
mov dword [0x10237064], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10237064]
mov esi, 0x51
mov ecx, dword [ebp - 0x14]
mov edx, 0x31
cmp dword [eax + edi], ecx
cmovg esi, edx
jmp case.0x10081bd0.129
cmp eax, 0x1bf
je case.0x10081bd0.329
cmp eax, 0x288
je 0x10081d51
cmp eax, 0x49d
jne case.0x10081bd0.129
mov esi, 0x38
jmp case.0x10081bd0.129
mov esi, 0xc
jmp case.0x10081bd0.129
mov esi, 0x31
mov ecx, dword [0x10236ef0]
push dword [0x1023704c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x10081e61
cmp dword [0x10236f18], 0x290
mov eax, dword [ebx + 4]
jne 0x10081e74
cmp dword [0x1023703c], eax
jle 0x10081ddd
push 0x1023703c
call fcn.1017dd04
add esp, 4
cmp dword [0x1023703c], 0xffffffff
jne 0x10081ddd
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 3
call fcn.1006a3a0
push 0x1023703c
mov dword [0x10237064], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10237064]
cmp esi, dword [eax + edi]
jl 0x10081df2
mov ecx, edi
call fcn.10081380
test al, al
jne 0x10081e61
mov ecx, edi
call fcn.10066ca0
test al, al
je 0x10081e61
mov ecx, edi
call fcn.10074310
shr eax, 7
test al, 1
jne 0x10081e61
mov eax, dword [0x10236ff8]
cmp eax, dword [ebx + 4]
jle 0x10081e56
push 0x10236ff8
call fcn.1017dd04
add esp, 4
cmp dword [0x10236ff8], 0xffffffff
jne 0x10081e56
push str.m_bViewingCYOAPDA
push str.DT_TFPlayer
mov dword [ebp - 4], 4
call fcn.1006a3a0
push 0x10236ff8
mov dword [0x10237004], eax
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10237004]
cmp byte [eax + edi], 0
je 0x10081ed6
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x1023703c], eax
jle 0x10081eba
push 0x1023703c
call fcn.1017dd04
add esp, 4
cmp dword [0x1023703c], 0xffffffff
jne 0x10081eba
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 5
call fcn.1006a3a0
push 0x1023703c
mov dword [0x10237064], eax
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10237064]
cmp esi, dword [eax + edi]
setle al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret