Function at 0x10088ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018c72d
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x102412a0]
test edi, edi
je 0x10089323
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10243ad0]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x103069f4]
cmp eax, dword [ebx + 4]
jle 0x10088f5f
push 0x103069f4
call fcn.10189be4
add esp, 4
cmp dword [0x103069f4], 0xffffffff
jne 0x10088f5f
push 0x103069f4
mov dword [0x103069ec], 0
mov dword [0x103069e8], 0x1030265c
call fcn.10189b93
add esp, 4
mov eax, dword [0x103069e8]
mov eax, dword [eax]
test eax, eax
jne 0x10088f71
mov dword [0x103069ec], eax
jmp 0x10088f8b
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x103069ec], eax
jne 0x10089386
cmp dword [0x1030265c], 0
je 0x10089386
mov eax, dword [0x102fd998]
cmp eax, 3
jne 0x10088faf
cmp byte [0x10302680], 0
jne 0x10089386
cmp byte [0x10302724], 0
je 0x10089323
cmp eax, 3
jne 0x10089323
mov eax, dword [0x102fd824]
cmp eax, dword [ebx + 4]
jle 0x1008901c
push 0x102fd824
call fcn.10189be4
add esp, 4
cmp dword [0x102fd824], 0xffffffff
jne 0x1008901c
push str.m_iClass
push str.m_PlayerClass
push str.DT_TFPlayer
mov dword [ebp - 4], 0
call fcn.1006e8a0
push 0x102fd824
mov dword [0x102fd834], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd834]
mov esi, 0x41
mov ecx, 0x23
cmp dword [eax + edi], 1
mov eax, dword [0x102fd830]
cmove esi, ecx
cmp eax, 0x191
jg 0x100891c2
je 0x10089141
add eax, 0xffffff80
cmp eax, 0xe3
ja case.0x1008905d.129
movzx eax, byte [eax + 0x100893c4]
jmp dword [eax*4 + 0x1008939c]
mov esi, 0x1a
jmp case.0x1008905d.129
mov esi, 9
jmp case.0x1008905d.129
mov eax, dword [0x102fd984]
cmp eax, dword [ebx + 4]
jle 0x100890ca
push 0x102fd984
call fcn.10189be4
add esp, 4
cmp dword [0x102fd984], 0xffffffff
jne 0x100890ca
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 1
call fcn.1006e7b0
push 0x102fd984
mov dword [0x102fd9a8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd9a8]
sub esp, 8
movsd xmm0, qword [0x1022b7d0]
movd xmm1, dword [eax + edi]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1022b738]
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.0x1008905d.129
mov esi, 0x34
jmp case.0x1008905d.129
mov esi, 0x51
jmp case.0x1008905d.129
mov esi, 0x4e
jmp case.0x1008905d.129
mov esi, 0x55
jmp case.0x1008905d.129
mov esi, 0x25
jmp case.0x1008905d.129
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1ac]
call eax
mov ecx, dword [0x102fd984]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
cmp ecx, dword [ebx + 4]
jle 0x100891a8
push 0x102fd984
call fcn.10189be4
add esp, 4
cmp dword [0x102fd984], 0xffffffff
jne 0x100891a8
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 2
call fcn.1006e7b0
push 0x102fd984
mov dword [0x102fd9a8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd9a8]
mov esi, 0x51
mov ecx, dword [ebp - 0x14]
mov edx, 0x31
cmp dword [eax + edi], ecx
cmovg esi, edx
jmp case.0x1008905d.129
cmp eax, 0x1bf
je case.0x1008905d.329
cmp eax, 0x288
je 0x100891de
cmp eax, 0x49d
jne case.0x1008905d.129
mov esi, 0x38
jmp case.0x1008905d.129
mov esi, 0xc
jmp case.0x1008905d.129
mov esi, 0x31
mov ecx, dword [0x102fd868]
push dword [0x102fd994]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x10089323
cmp dword [0x102fd830], 0x290
mov eax, dword [ebx + 4]
jne 0x10089336
cmp dword [0x102fd984], eax
jle 0x1008926a
push 0x102fd984
call fcn.10189be4
add esp, 4
cmp dword [0x102fd984], 0xffffffff
jne 0x1008926a
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 3
call fcn.1006e7b0
push 0x102fd984
mov dword [0x102fd9a8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd9a8]
cmp esi, dword [eax + edi]
jl 0x100892b5
push 5
mov ecx, edi
call fcn.100788b0
test al, al
jne 0x100892b5
push 0x39
mov ecx, edi
call fcn.100788b0
test al, al
jne 0x100892b5
push 0x33
mov ecx, edi
call fcn.100788b0
test al, al
jne 0x100892b5
push 0x34
mov ecx, edi
call fcn.100788b0
test al, al
jne 0x100892b5
push 0xe
mov ecx, edi
call fcn.100788b0
test al, al
je 0x10089323
mov ecx, edi
call fcn.1006b0c0
test al, al
je 0x10089323
push 7
mov ecx, edi
call fcn.100788b0
test al, al
jne 0x10089323
mov eax, dword [0x102fd950]
cmp eax, dword [ebx + 4]
jle 0x10089318
push 0x102fd950
call fcn.10189be4
add esp, 4
cmp dword [0x102fd950], 0xffffffff
jne 0x10089318
push str.m_bViewingCYOAPDA
push str.DT_TFPlayer
mov dword [ebp - 4], 4
call fcn.1006e7b0
push 0x102fd950
mov dword [0x102fd958], eax
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd958]
cmp byte [eax + edi], 0
je 0x10089386
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 [0x102fd984], eax
jle 0x1008937c
push 0x102fd984
call fcn.10189be4
add esp, 4
cmp dword [0x102fd984], 0xffffffff
jne 0x1008937c
push str.m_iHealth
push str.DT_BasePlayer
mov dword [ebp - 4], 5
call fcn.1006e7b0
push 0x102fd984
mov dword [0x102fd9a8], eax
call fcn.10189b93
add esp, 4
mov eax, dword [0x102fd9a8]
cmp esi, dword [eax + edi]
jg 0x10089323
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