Function at 0x1005e820
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1028ffb4]
push ebx
push esi
push edi
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp eax, 2
je 0x1005e842
mov byte [ebp - 1], 0
cmp eax, 3
jne 0x1005e846
mov byte [ebp - 1], 1
mov eax, dword [0x1028ffa4]
mov eax, dword [eax + 0x1a4]
mov dword [ebp - 8], eax
mov eax, dword [0x1028fa34]
test al, 1
jne 0x1005e91a
or eax, 1
mov dword [ebp - 0x18], 0
push 0x2d
mov dword [0x1028fa34], eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBaseAttributableItem__m_iItemDefinitionIndex
mov dword [ebp - 0x10], eax
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10005c60
cmp dword [ebp - 0x14], 0xf
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov ecx, 0x811c9dc5
mov ebx, dword [ebp - 0x18]
cmova edi, esi
xor edx, edx
test ebx, ebx
je 0x1005e8c3
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x1005e8b2
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1005eafd
add eax, 0x20
mov dword [0x1028fa50], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1005e91a
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005e910
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005eaf7
push ecx
push esi
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fa50]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 4]
movzx ebx, word [ecx + eax]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1005e949
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
jne 0x1005eaf0
cmp byte [ebp - 1], 0
je 0x1005eaf0
mov eax, dword [0x1028fa98]
mov edx, 1
mov dword [ebp - 0x10], edx
cmp dword [eax + 0x18], edx
jle 0x1005eaf0
nop dword [eax]
mov ecx, dword [0x1028fad8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp bx, 0x26
je 0x1005ea1a
cmp bx, 0xb
je 0x1005ea1a
mov eax, dword [0x1028fa80]
test al, 1
jne 0x1005eadb
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 - 0xc], eax
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10005c60
cmp dword [ebp - 0x14], 0xf
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov ecx, 0x811c9dc5
mov ebx, dword [ebp - 0x18]
cmova edi, esi
xor edx, edx
test ebx, ebx
je 0x1005ea01
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x1005e9f0
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0x2c]
jmp 0x1005ea9d
mov eax, dword [0x1028fa80]
test al, 1
jne 0x1005eadb
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 - 0xc], eax
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10005c60
cmp dword [ebp - 0x14], 0xf
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov ecx, 0x811c9dc5
mov ebx, dword [ebp - 0x18]
cmova edi, esi
xor edx, edx
test ebx, ebx
je 0x1005ea89
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x1005ea78
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1005eafd
add eax, 0x20
mov dword [0x1028fa70], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1005ead8
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005eace
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005eaf7
push ecx
push esi
call fcn.10117d22
add esp, 8
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [0x1028fa98]
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [eax + 0x18]
jl 0x1005e970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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__]
int3