Function at 0x100a5da0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1018bfe8]
sub esp, 0x2c
cmp byte [eax + 0xd], 0
push ebx
push esi
push edi
je 0x100a6156
mov eax, dword [0x1018bbbc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x100a6156
mov eax, dword [0x1018bb6c]
test al, 1
jne 0x100a5e90
or eax, 1
mov dword [ebp - 0x18], 0
push 0x16
mov dword [0x1018bb6c], eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x100a5e39
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x100a5e28
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10008e20
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100a604e
add eax, 0x20
mov dword [0x1018bb5c], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100a5e90
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100a5e86
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a5f5d
push ecx
push edi
call fcn.10112642
add esp, 8
mov eax, dword [0x1018bb5c]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [ecx + eax], 0
jle 0x100a6156
mov eax, dword [0x1018bb44]
test al, 1
jne 0x100a5f70
or eax, 1
mov dword [ebp - 0x18], 0
push 0x18
mov dword [0x1018bb44], eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x100a5f14
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x100a5f03
push ecx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10008e20
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100a604e
add eax, 0x20
mov dword [0x1018bb54], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100a5f6d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100a5f63
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a5f63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10112642
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [0x1018bb54]
mov eax, dword [eax + 4]
cmp byte [ecx + eax], 0
jne 0x100a6156
mov ecx, dword [0x1018bb90]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100a6156
mov eax, dword [0x1018bfe4]
vxorps xmm1, xmm1, xmm1
vmovq xmm0, qword [eax + 0x148]
mov edi, dword [eax + 0x150]
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 0x100a6156
vmovss xmm0, dword [ebp - 0x18]
vucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100a6156
vmovss xmm0, dword [ebp - 0x14]
vucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100a6156
mov eax, dword [0x1018bfe8]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push dword [eax + 0x20]
call esi
test ax, ax
jne 0x100a6023
vmovss xmm0, dword [0x1018be1c]
vucomiss xmm0, dword [0x10157d9c]
lahf
test ah, 0x44
jnp 0x100a6156
mov eax, dword [0x1018bfe8]
push dword [eax + 0x20]
call esi
test ax, ax
mov eax, dword [0x1018bb84]
vmovss xmm0, dword [eax + 0x14]
je 0x100a6059
vmulss xmm0, xmm0, dword [0x10157f4c]
vaddss xmm2, xmm0, dword [0x1018be1c]
jmp 0x100a606d
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 [0x10157f4c]
vmovss xmm0, dword [0x1018be1c]
vsubss xmm2, xmm0, xmm1
vmovss xmm0, dword [0x10157ec8]
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm2
mov eax, 0x1018be1c
lea ecx, [ebp - 8]
cmovbe ecx, eax
lea eax, [ebp - 4]
vcomiss xmm2, xmm0
vmovss dword [0x1018be1c], xmm2
cmovbe eax, ecx
vmovss dword [ebp - 4], xmm0
vmovss dword [ebp - 8], xmm1
vmovss xmm0, dword [eax]
mov eax, dword [0x1018bbd0]
vmovss dword [0x1018be1c], xmm0
vmulss xmm0, xmm0, dword [0x10158050]
vmovss dword [ebp - 8], xmm0
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, dword [0x1018bbbc]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x1018bbd0]
push eax
call esi
mov ecx, dword [0x1018bb84]
mov esi, eax
vmovss xmm0, dword [ecx + 0x10]
vaddss xmm0, xmm0, dword [0x10157df8]
vmovss dword [esi + 0x18], xmm0
vmovss xmm0, dword [ebp - 8]
vmaxss xmm0, xmm0, dword [0x10157f34]
vsubss xmm0, xmm0, dword [0x10157ec8]
vmovss dword [esi + 0x10], xmm0
mov dword [esi + 0x14], 0x6ffffff
mov eax, dword [0x1018bbbc]
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 [0x101581a4]
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