Function at 0x10059db0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x1018bb6c]
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 0x10059eaf
or eax, 1
mov dword [esp + 0x30], 0
push 0x16
mov dword [0x1018bb6c], eax
lea ecx, [esp + 0x24]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x10059e47
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 0x10059e30
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.10008e20
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1005a2b8
add eax, 0x20
mov dword [0x1018bb5c], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x10059eaf
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x10059ea5
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x1c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005a2b2
mov eax, dword [esp + 0x1c]
push ecx
push eax
call fcn.10112642
add esp, 8
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x18]
cmp eax, 3
jae 0x1005a4ee
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 [0x1018bcf0]
test al, 1
jne 0x10059fc1
or eax, 1
mov dword [esp + 0x30], 0
push 0x1c
mov dword [0x1018bcf0], eax
lea ecx, [esp + 0x24]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x10059f59
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [esp + 0x30]
jb 0x10059f46
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10008e20
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1005a2b8
add eax, 0x20
mov dword [0x1018bcbc], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x10059fc1
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x10059fb7
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x1c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005a2b2
mov eax, dword [esp + 0x1c]
push ecx
push eax
call fcn.10112642
add esp, 8
mov eax, dword [0x1018bcbc]
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.10057500
mov ecx, dword [0x1018c038]
mov dword [esp + 0x10], eax
test cl, 1
jne 0x1005a019
or ecx, 1
mov dword [0x1018c038], ecx
mov ecx, dword [0x1018bbcc]
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.10061840
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1005a04a
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
mov byte [esp + 0x17], 1
test eax, eax
jne 0x1005a04f
mov byte [esp + 0x17], 0
mov al, byte [esi + 0xa]
mov ecx, dword [0x1018bac8]
mov byte [esp + 0x4f], al
mov eax, dword [0x1018bfe4]
mov eax, dword [eax + 0x174]
mov dword [esp + 0x18], eax
test cl, 1
jne 0x1005a151
mov eax, dword [0x1018bfd0]
or ecx, 1
push 0x2d
mov dword [0x1018bac8], 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.100052f0
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 0x1005a0e3
nop dword [eax + eax]
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [esp + 0x30]
jb 0x1005a0d0
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10008e20
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1005a2b8
add eax, 0x20
mov dword [0x1018bb3c], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x1005a14b
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x1005a141
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x10], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005a2b2
mov eax, dword [esp + 0x10]
push ecx
push eax
call fcn.10112642
add esp, 8
mov ecx, dword [0x1018bac8]
mov eax, dword [0x1018bb3c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx eax, word [edx + eax]
mov dword [esp + 0x60], eax
mov eax, dword [0x1018bfe4]
mov eax, dword [eax + 0x174]
mov dword [esp + 0x18], eax
test cl, 1
jne 0x1005a24b
mov eax, dword [0x1018bfd0]
or ecx, 1
push 0x2d
mov dword [0x1018bac8], 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.100052f0
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 0x1005a1e7
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [esp + 0x30]
jb 0x1005a1d4
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10008e20
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1005a2b8
add eax, 0x20
mov dword [0x1018bb3c], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xf
jbe 0x1005a24b
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, eax
cmp ecx, 0x1000
jb 0x1005a241
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x10], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1005a2b2
mov eax, dword [esp + 0x10]
push ecx
push eax
call fcn.10112642
add esp, 8
mov eax, dword [0x1018bb3c]
xor esi, esi
mov ecx, dword [esp + 0x18]
vmovss xmm1, dword [0x10157e60]
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 0x1005a287
cmp esi, 2
jne 0x1005a45e
test dword [ebp + 0x10], eax
je 0x1005a33e
test esi, esi
je 0x1005a2c3
call fcn.100532c0
vdivss xmm0, xmm0, dword [0x101580b4]
vmovss dword [esp + 0x10], xmm0
cmp esi, 6
jae 0x1005a4f3
jmp 0x1005a2d6
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.10052dd0
vdivss xmm0, xmm0, dword [0x101580b4]
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 0x1005a457
mov edx, dword [esi]
mov eax, edx
shl eax, 4
add eax, edx
lea ecx, [edi + eax*4]
add ecx, dword [edi + 8]
je 0x1005a32a
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.10059390
vmovss xmm0, dword [esp + 0x10]
add esi, 4
cmp esi, dword [esp + 0x5c]
jne 0x1005a2f7
jmp 0x1005a457
cmp esi, 6
jae 0x1005a4f3
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 0x1005a457
mov ecx, dword [esi]
shl ecx, 4
add ecx, dword [esi]
lea ecx, [edi + ecx*4]
add ecx, dword [edi + 8]
je 0x1005a44c
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.10058680
vmovss xmm1, dword [0x10157e60]
mov edx, dword [esp + 0x10]
add esi, 4
cmp esi, edx
jne 0x1005a368
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
vmovss xmm1, dword [0x10157e60]
inc esi
mov eax, 1
mov dword [esp + 0x18], esi
cmp esi, 6
jb 0x1005a275
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
cmp ecx, edx
je 0x1005a4e6
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
nop
cmp di, 0x1f
je 0x1005a4d8
cmp byte [esp + 0x17], 0
jne 0x1005a4d8
cmp byte [esp + 0x4f], 0
jne 0x1005a4d8
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x1005a4bc
add eax, 0xfffffff9
cmp eax, 5
ja 0x1005a4df
mov dword [ecx + 0x34], 2
jmp 0x1005a4df
cmp si, 0x28
je 0x1005a4df
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 3
jle 0x1005a4df
mov dword [ecx + 0x34], 2
jmp 0x1005a4df
mov dword [ecx + 0x34], 3
add ecx, 0x38
cmp ecx, edx
jne 0x1005a490
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
call fcn.10061a60
call fcn.10061a60
int3