Function at 0x100a86f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1028ffac]
sub esp, 0x2c
cmp byte [eax + 0xd], 0
push ebx
push esi
push edi
je 0x100a8aa6
mov eax, dword [0x1028fad0]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x100a8aa6
mov eax, dword [0x1028fa80]
test al, 1
jne 0x100a87e0
or eax, 1
mov dword [ebp - 0x18], 0
push 0x16
mov dword [0x1028fa80], eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_iHealth
mov dword [ebp - 8], eax
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10005c60
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov ecx, 0x811c9dc5
mov ebx, dword [ebp - 0x18]
cmova esi, edi
xor edx, edx
test ebx, ebx
je 0x100a8789
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x100a8778
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100a899e
add eax, 0x20
mov dword [0x1028fa70], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100a87e0
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100a87d6
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a88ad
push ecx
push edi
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fa70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [ecx + eax], 0
jle 0x100a8aa6
mov eax, dword [0x1028fa58]
test al, 1
jne 0x100a88c0
or eax, 1
mov dword [ebp - 0x18], 0
push 0x18
mov dword [0x1028fa58], eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_lifeState
mov dword [ebp - 8], eax
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10005c60
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov ecx, 0x811c9dc5
mov ebx, dword [ebp - 0x18]
cmova esi, edi
xor edx, edx
test ebx, ebx
je 0x100a8864
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x100a8853
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100a899e
add eax, 0x20
mov dword [0x1028fa68], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100a88bd
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100a88b3
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a88b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10117d22
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [0x1028fa68]
mov eax, dword [eax + 4]
cmp byte [ecx + eax], 0
jne 0x100a8aa6
mov ecx, dword [0x1028faa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100a8aa6
mov eax, dword [0x1028ffa4]
vxorps xmm1, xmm1, xmm1
vmovq xmm0, qword [eax + 0x178]
mov edi, dword [eax + 0x180]
vmovq qword [ebp - 0x10], xmm0
vmovq qword [ebp - 0x1c], xmm0
vmovss xmm0, dword [ebp - 0x1c]
vucomiss xmm0, xmm1
mov dword [ebp - 0x14], edi
lahf
test ah, 0x44
jnp 0x100a8aa6
vmovss xmm0, dword [ebp - 0x18]
vucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100a8aa6
vmovss xmm0, dword [ebp - 0x14]
vucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100a8aa6
mov eax, dword [0x1028ffac]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push dword [eax + 0x20]
call esi
test ax, ax
jne 0x100a8973
vmovss xmm0, dword [0x1028fdc4]
vucomiss xmm0, dword [0x1015ef38]
lahf
test ah, 0x44
jnp 0x100a8aa6
mov eax, dword [0x1028ffac]
push dword [eax + 0x20]
call esi
test ax, ax
mov eax, dword [0x1028fa98]
vmovss xmm0, dword [eax + 0x14]
je 0x100a89a9
vmulss xmm0, xmm0, dword [0x1015f0fc]
vaddss xmm2, xmm0, dword [0x1028fdc4]
jmp 0x100a89bd
push str.invalid_unordered_map_K__T__key
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
vmulss xmm1, xmm0, dword [0x1015f0fc]
vmovss xmm0, dword [0x1028fdc4]
vsubss xmm2, xmm0, xmm1
vmovss xmm0, dword [0x1015f088]
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm2
mov eax, 0x1028fdc4
lea ecx, [ebp - 8]
cmovbe ecx, eax
lea eax, [ebp - 4]
vcomiss xmm2, xmm0
vmovss dword [0x1028fdc4], xmm2
cmovbe eax, ecx
vmovss dword [ebp - 4], xmm0
vmovss dword [ebp - 8], xmm1
vmovss xmm0, dword [eax]
mov eax, dword [0x1028fae4]
vmovss dword [0x1028fdc4], xmm0
vmulss xmm0, xmm0, dword [0x1015f1e0]
vmovss dword [ebp - 8], xmm0
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, dword [0x1028fad0]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x1028fae4]
push eax
call esi
mov ecx, dword [0x1028fa98]
mov esi, eax
vmovss xmm0, dword [ecx + 0x10]
vaddss xmm0, xmm0, dword [0x1015efa0]
vmovss dword [esi + 0x18], xmm0
vmovss xmm0, dword [ebp - 8]
vmaxss xmm0, xmm0, dword [0x1015f0e4]
vsubss xmm0, xmm0, dword [0x1015f088]
vmovss dword [esi + 0x10], xmm0
mov dword [esi + 0x14], 0x6ffffff
mov eax, dword [0x1028fad0]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
vmovq xmm0, qword [ebp - 0x10]
and dword [esi], 2
vmovq qword [esi + 4], xmm0
vmovss xmm0, dword [0x1015f338]
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], edi
vmovss dword [esi + 0x3c], xmm0
mov dword [esi + 0x28], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret