Function at 0x1005adf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x1028fa80]
push esi
mov esi, ecx
mov dword [esp + 0x4c], esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x58], edi
test al, 1
jne 0x1005aeef
or eax, 1
mov dword [esp + 0x30], 0
push 0x16
mov dword [0x1028fa80], eax
lea ecx, [esp + 0x24]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_iHealth
mov dword [esp + 0x5c], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.10005c60
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
mov ecx, 0x811c9dc5
cmova eax, dword [esp + 0x20]
xor edx, edx
cmp dword [esp + 0x30], edx
jbe 0x1005ae87
mov esi, eax
nop dword [eax]
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [esp + 0x30]
jb 0x1005ae70
mov esi, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10009d90
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1005b2f8
add eax, 0x20
mov dword [0x1028fa70], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x1005aeef
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x1005aee5
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x1c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005b2f2
mov eax, dword [esp + 0x1c]
push ecx
push eax
call fcn.10117d22
add esp, 8
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x18]
cmp eax, 3
jae 0x1005b52e
imul eax, eax, 0x32f0
add eax, 0x364
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x2950]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [0x1028fc10]
test al, 1
jne 0x1005b001
or eax, 1
mov dword [esp + 0x30], 0
push 0x1c
mov dword [0x1028fc10], eax
lea ecx, [esp + 0x24]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBaseAnimating__m_nHitboxSet
mov dword [esp + 0x24], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.10005c60
cmp dword [esp + 0x34], 0xf
lea edi, [esp + 0x20]
mov ecx, 0x811c9dc5
cmova edi, dword [esp + 0x20]
xor edx, edx
cmp dword [esp + 0x30], edx
jbe 0x1005af99
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [esp + 0x30]
jb 0x1005af86
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10009d90
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1005b2f8
add eax, 0x20
mov dword [0x1028fbe8], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x1005b001
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x1005aff7
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x1c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005b2f2
mov eax, dword [esp + 0x1c]
push ecx
push eax
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fbe8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push dword [ebp + 0x10]
mov eax, dword [eax + 4]
push dword [ebp + 0xc]
mov eax, dword [ecx + eax]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0xb0]
lea edi, [eax + ecx*4]
mov ecx, esi
add edi, edx
call fcn.10057a00
mov ecx, dword [0x1028ffec]
mov dword [esp + 0x10], eax
test cl, 1
jne 0x1005b059
or ecx, 1
mov dword [0x1028ffec], ecx
mov ecx, dword [0x1028fae0]
push str.cl_lagcompensation
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [esp + 0x58]
push dword [esp + 0x10]
add eax, 0xc
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.10062800
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1005b08a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
mov byte [esp + 0x17], 1
test eax, eax
jne 0x1005b08f
mov byte [esp + 0x17], 0
mov al, byte [esi + 0xa]
mov ecx, dword [0x1028fa34]
mov byte [esp + 0x4f], al
mov eax, dword [0x1028ffa4]
mov eax, dword [eax + 0x1a4]
mov dword [esp + 0x18], eax
test cl, 1
jne 0x1005b191
mov eax, dword [0x1028ff90]
or ecx, 1
push 0x2d
mov dword [0x1028fa34], ecx
lea ecx, [esp + 0x24]
vpxor xmm0, xmm0, xmm0
push str.CBaseAttributableItem__m_iItemDefinitionIndex
mov dword [esp + 0x18], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10005c60
cmp dword [esp + 0x34], 0xf
lea esi, [esp + 0x20]
mov ecx, 0x811c9dc5
cmova esi, dword [esp + 0x20]
xor edx, edx
cmp dword [esp + 0x30], edx
jbe 0x1005b123
nop dword [eax + eax]
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [esp + 0x30]
jb 0x1005b110
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10009d90
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1005b2f8
add eax, 0x20
mov dword [0x1028fa50], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x1005b18b
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x1005b181
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x10], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005b2f2
mov eax, dword [esp + 0x10]
push ecx
push eax
call fcn.10117d22
add esp, 8
mov ecx, dword [0x1028fa34]
mov eax, dword [0x1028fa50]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx eax, word [edx + eax]
mov dword [esp + 0x60], eax
mov eax, dword [0x1028ffa4]
mov eax, dword [eax + 0x1a4]
mov dword [esp + 0x18], eax
test cl, 1
jne 0x1005b28b
mov eax, dword [0x1028ff90]
or ecx, 1
push 0x2d
mov dword [0x1028fa34], ecx
lea ecx, [esp + 0x24]
vpxor xmm0, xmm0, xmm0
push str.CBaseAttributableItem__m_iItemDefinitionIndex
mov dword [esp + 0x18], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10005c60
cmp dword [esp + 0x34], 0xf
lea esi, [esp + 0x20]
mov ecx, 0x811c9dc5
cmova esi, dword [esp + 0x20]
xor edx, edx
cmp dword [esp + 0x30], edx
jbe 0x1005b227
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [esp + 0x30]
jb 0x1005b214
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10009d90
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1005b2f8
add eax, 0x20
mov dword [0x1028fa50], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x1005b28b
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x1005b281
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x10], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005b2f2
mov eax, dword [esp + 0x10]
push ecx
push eax
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fa50]
xor esi, esi
mov ecx, dword [esp + 0x18]
vmovss xmm1, dword [0x1015f018]
mov dword [esp + 0x18], esi
mov eax, dword [eax + 4]
movzx eax, word [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
mov eax, 1
shlx eax, eax, esi
test ecx, eax
jne 0x1005b2c7
cmp esi, 2
jne 0x1005b49e
test dword [ebp + 0x10], eax
je 0x1005b37e
test esi, esi
je 0x1005b303
call fcn.100537c0
vdivss xmm0, xmm0, dword [0x1015f24c]
vmovss dword [esp + 0x10], xmm0
cmp esi, 6
jae 0x1005b533
jmp 0x1005b316
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.invalid_unordered_map_K__T__key
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
call fcn.100532d0
vdivss xmm0, xmm0, dword [0x1015f24c]
vmovss dword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x50]
lea eax, [esi + esi*2]
mov edx, dword [ecx + eax*4 + 0x1c4]
mov esi, dword [ecx + eax*4 + 0x1c0]
mov dword [esp + 0x5c], edx
cmp esi, edx
je 0x1005b497
mov edx, dword [esi]
mov eax, edx
shl eax, 4
add eax, edx
lea ecx, [edi + eax*4]
add ecx, dword [edi + 8]
je 0x1005b36a
mov eax, dword [ecx]
push ecx
vmovss dword [esp], xmm0
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esp + 0x58]
push eax
push edx
push ecx
push dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
call fcn.1005a3d0
vmovss xmm0, dword [esp + 0x10]
add esi, 4
cmp esi, dword [esp + 0x5c]
jne 0x1005b337
jmp 0x1005b497
cmp esi, 6
jae 0x1005b533
mov ecx, dword [esp + 0x50]
lea eax, [esi + esi*2]
mov edx, dword [ecx + eax*4 + 0x1c4]
mov esi, dword [ecx + eax*4 + 0x1c0]
mov dword [esp + 0x10], edx
cmp esi, edx
je 0x1005b497
mov ecx, dword [esi]
shl ecx, 4
add ecx, dword [esi]
lea ecx, [edi + ecx*4]
add ecx, dword [edi + 8]
je 0x1005b48c
vmovss xmm0, dword [ecx + 0x14]
vaddss xmm0, xmm0, dword [ecx + 8]
mov eax, dword [ecx]
vmulss xmm4, xmm0, xmm1
vmovss xmm0, dword [ecx + 0xc]
vaddss xmm0, xmm0, dword [ecx + 0x18]
vmulss xmm2, xmm0, xmm1
vmovss xmm0, dword [ecx + 0x10]
vaddss xmm0, xmm0, dword [ecx + 0x1c]
vmulss xmm3, xmm0, xmm1
lea eax, [eax + eax*2]
mov dword [esp + 0x5c], 0
shl eax, 4
add eax, dword [esp + 0x54]
mov byte [esp + 0x4e], 1
vmulss xmm1, xmm2, dword [eax + 4]
vmulss xmm0, xmm4, dword [eax]
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm3, dword [eax + 8]
vaddss xmm0, xmm1, xmm0
vaddss xmm0, xmm0, dword [eax + 0xc]
vmulss xmm1, xmm2, dword [eax + 0x14]
vmovss dword [esp + 0x20], xmm0
vmulss xmm0, xmm4, dword [eax + 0x10]
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm3, dword [eax + 0x18]
vaddss xmm0, xmm1, xmm0
vaddss xmm0, xmm0, dword [eax + 0x1c]
vmulss xmm1, xmm2, dword [eax + 0x24]
vmovss dword [esp + 0x24], xmm0
vmulss xmm0, xmm4, dword [eax + 0x20]
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm3, dword [eax + 0x28]
vaddss xmm0, xmm1, xmm0
vaddss xmm0, xmm0, dword [eax + 0x2c]
lea eax, [esp + 0x5c]
push eax
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x5a]
push eax
lea eax, [esp + 0x30]
push eax
vmovss dword [esp + 0x3c], xmm0
call fcn.100596c0
vmovss xmm1, dword [0x1015f018]
mov edx, dword [esp + 0x10]
add esi, 4
cmp esi, edx
jne 0x1005b3a8
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
vmovss xmm1, dword [0x1015f018]
inc esi
mov eax, 1
mov dword [esp + 0x18], esi
cmp esi, 6
jb 0x1005b2b5
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
cmp ecx, edx
je 0x1005b526
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
nop
cmp di, 0x1f
je 0x1005b518
cmp byte [esp + 0x17], 0
jne 0x1005b518
cmp byte [esp + 0x4f], 0
jne 0x1005b518
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x1005b4fc
add eax, 0xfffffff9
cmp eax, 5
ja 0x1005b51f
mov dword [ecx + 0x34], 2
jmp 0x1005b51f
cmp si, 0x28
je 0x1005b51f
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 3
jle 0x1005b51f
mov dword [ecx + 0x34], 2
jmp 0x1005b51f
mov dword [ecx + 0x34], 3
add ecx, 0x38
cmp ecx, edx
jne 0x1005b4d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
call fcn.10062a20
call fcn.10062a20
int3