Function at 0x10096390
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1019b58d
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x10253210]
test edi, edi
je 0x100967d3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255374]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x1031e8f8]
cmp eax, dword [ebx + 4]
jle 0x1009640f
push 0x1031e8f8
call fcn.101987e8
add esp, 4
cmp dword [0x1031e8f8], 0xffffffff
jne 0x1009640f
push 0x1031e8f8
mov dword [0x1031e8f4], 0
mov dword [0x1031e8f0], 0x1031bde8
call fcn.10198797
add esp, 4
mov eax, dword [0x1031e8f0]
mov eax, dword [eax]
test eax, eax
jne 0x10096421
mov dword [0x1031e8f4], eax
jmp 0x1009643b
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x1031e8f4], eax
jne 0x10096836
cmp dword [0x1031bde8], 0
je 0x10096836
mov eax, dword [0x1031686c]
cmp eax, 3
jne 0x1009645f
cmp byte [0x1031be0c], 0
jne 0x10096836
cmp byte [0x1031beb0], 0
je 0x100967d3
cmp eax, 3
jne 0x100967d3
mov eax, dword [0x103166f4]
cmp eax, dword [ebx + 4]
jle 0x100964cc
push 0x103166f4
call fcn.101987e8
add esp, 4
cmp dword [0x103166f4], 0xffffffff
jne 0x100964cc
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0
call fcn.1007c680
push 0x103166f4
mov dword [0x10316704], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x10316704]
mov esi, 0x41
mov ecx, 0x23
cmp dword [eax + edi], 1
mov eax, dword [0x10316700]
cmove esi, ecx
cmp eax, 0x191
jg 0x10096672
je 0x100965f1
add eax, 0xffffff80
cmp eax, 0xe3
ja case.0x1009650d.129
movzx eax, byte [eax + 0x10096874]
jmp dword [eax*4 + 0x1009684c]
mov esi, 0x1a
jmp case.0x1009650d.129
mov esi, 9
jmp case.0x1009650d.129
mov eax, dword [0x10316850]
cmp eax, dword [ebx + 4]
jle 0x1009657a
push 0x10316850
call fcn.101987e8
add esp, 4
cmp dword [0x10316850], 0xffffffff
jne 0x1009657a
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 1
call fcn.1007c590
push 0x10316850
mov dword [0x10316874], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x10316874]
sub esp, 8
movsd xmm0, qword [0x1023d210]
movd xmm1, dword [eax + edi]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1023d168]
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.0x1009650d.129
mov esi, 0x34
jmp case.0x1009650d.129
mov esi, 0x51
jmp case.0x1009650d.129
mov esi, 0x4e
jmp case.0x1009650d.129
mov esi, 0x55
jmp case.0x1009650d.129
mov esi, 0x25
jmp case.0x1009650d.129
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1ac]
call eax
mov ecx, dword [0x10316850]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
cmp ecx, dword [ebx + 4]
jle 0x10096658
push 0x10316850
call fcn.101987e8
add esp, 4
cmp dword [0x10316850], 0xffffffff
jne 0x10096658
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 2
call fcn.1007c590
push 0x10316850
mov dword [0x10316874], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x10316874]
mov esi, 0x51
mov ecx, dword [ebp - 0x14]
mov edx, 0x31
cmp dword [eax + edi], ecx
cmovg esi, edx
jmp case.0x1009650d.129
cmp eax, 0x1bf
je case.0x1009650d.329
cmp eax, 0x288
je 0x1009668e
cmp eax, 0x49d
jne case.0x1009650d.129
mov esi, 0x38
jmp case.0x1009650d.129
mov esi, 0xc
jmp case.0x1009650d.129
mov esi, 0x31
mov ecx, dword [0x10316738]
push dword [0x10316860]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x100967d3
cmp dword [0x10316700], 0x290
mov eax, dword [ebx + 4]
jne 0x100967e6
cmp dword [0x10316850], eax
jle 0x1009671a
push 0x10316850
call fcn.101987e8
add esp, 4
cmp dword [0x10316850], 0xffffffff
jne 0x1009671a
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 3
call fcn.1007c590
push 0x10316850
mov dword [0x10316874], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x10316874]
cmp esi, dword [eax + edi]
jl 0x10096765
push 5
mov ecx, edi
call fcn.10086220
test al, al
jne 0x10096765
push 0x39
mov ecx, edi
call fcn.10086220
test al, al
jne 0x10096765
push 0x33
mov ecx, edi
call fcn.10086220
test al, al
jne 0x10096765
push 0x34
mov ecx, edi
call fcn.10086220
test al, al
jne 0x10096765
push 0xe
mov ecx, edi
call fcn.10086220
test al, al
je 0x100967d3
mov ecx, edi
call fcn.10079030
test al, al
je 0x100967d3
push 7
mov ecx, edi
call fcn.10086220
test al, al
jne 0x100967d3
mov eax, dword [0x1031681c]
cmp eax, dword [ebx + 4]
jle 0x100967c8
push 0x1031681c
call fcn.101987e8
add esp, 4
cmp dword [0x1031681c], 0xffffffff
jne 0x100967c8
push str.m_bViewingCYOAPDA
push str.DT_TFPlayer
mov dword [ebp - 4], 4
call fcn.1007c590
push 0x1031681c
mov dword [0x10316824], eax
call fcn.10198797
add esp, 4
mov eax, dword [0x10316824]
cmp byte [eax + edi], 0
je 0x10096836
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 [0x10316850], eax
jle 0x1009682c
push 0x10316850
call fcn.101987e8
add esp, 4
cmp dword [0x10316850], 0xffffffff
jne 0x1009682c
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 5
call fcn.1007c590
push 0x10316850
mov dword [0x10316874], eax
call fcn.10198797
add esp, 4
mov eax, dword [0x10316874]
cmp esi, dword [eax + edi]
jg 0x100967d3
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