Function at 0x1005bf50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push esi
push edi
push 0x2c
push 0
push eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x50], ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx]
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [0x1028fa80]
test al, 1
jne 0x1005c049
or eax, 1
mov dword [ebp - 0x58], 0
push 0x16
mov dword [0x1028fa80], eax
lea ecx, [ebp - 0x68]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_iHealth
mov dword [ebp - 0x4c], eax
vmovdqu xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10005c60
cmp dword [ebp - 0x54], 0xf
lea edi, [ebp - 0x68]
mov esi, dword [ebp - 0x68]
mov ecx, 0x811c9dc5
mov ebx, dword [ebp - 0x58]
cmova edi, esi
xor edx, edx
test ebx, ebx
je 0x1005bff2
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, ebx
jb 0x1005bfe1
push ecx
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x1005c3d9
add eax, 0x20
mov dword [0x1028fa70], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xf
jbe 0x1005c049
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005c03f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c37b
push ecx
push esi
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fa70]
mov ebx, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov ebx, dword [ebx + eax]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ebx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x1028fc14]
test al, 1
jne 0x1005c129
or eax, 1
mov dword [ebp - 0x58], 0
push 0x16
mov dword [0x1028fc14], eax
lea ecx, [ebp - 0x68]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CCSPlayer__m_bIsScoped
mov dword [ebp - 0x48], eax
vmovdqu xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10005c60
cmp dword [ebp - 0x54], 0xf
lea edi, [ebp - 0x68]
mov esi, dword [ebp - 0x68]
mov ecx, 0x811c9dc5
cmova edi, esi
xor edx, edx
cmp dword [ebp - 0x58], edx
jbe 0x1005c0d2
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x58]
jb 0x1005c0c0
push ecx
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1005c3d9
add eax, 0x20
mov dword [0x1028fc2c], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xf
jbe 0x1005c129
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005c11f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c37b
push ecx
push esi
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fbfc]
test al, 1
jne 0x1005c1ee
or eax, 1
mov dword [ebp - 0x58], 0
push 0x18
mov dword [0x1028fbfc], eax
lea ecx, [ebp - 0x68]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBaseEntity__m_vecOrigin
mov dword [ebp - 0x48], eax
vmovdqu xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10005c60
cmp dword [ebp - 0x54], 0xf
lea edi, [ebp - 0x68]
mov esi, dword [ebp - 0x68]
mov ecx, 0x811c9dc5
cmova edi, esi
xor edx, edx
cmp dword [ebp - 0x58], edx
jbe 0x1005c197
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x58]
jb 0x1005c185
push ecx
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1005c3d9
add eax, 0x20
mov dword [0x1028fbe4], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xf
jbe 0x1005c1ee
lea edx, [eax + 1]
mov eax, esi
cmp edx, 0x1000
jb 0x1005c1e4
mov esi, dword [eax - 4]
add edx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c37b
push edx
push esi
call fcn.10117d22
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [0x1028fbc8]
test al, 1
jne 0x1005c2bd
or eax, 1
mov dword [ebp - 0x58], 0
push 0x16
mov dword [0x1028fbc8], eax
lea ecx, [ebp - 0x68]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBaseEntity__m_vecMins
mov dword [ebp - 0x6c], eax
vmovdqu xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10005c60
cmp dword [ebp - 0x54], 0xf
lea edi, [ebp - 0x68]
mov esi, dword [ebp - 0x68]
mov ecx, 0x811c9dc5
cmova edi, esi
xor edx, edx
cmp dword [ebp - 0x58], edx
jbe 0x1005c266
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x58]
jb 0x1005c254
push ecx
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1005c3d9
add eax, 0x20
mov dword [0x1028fbd0], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xf
jbe 0x1005c2bd
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005c2b3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c37b
push ecx
push esi
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fc1c]
test al, 1
jne 0x1005c38b
or eax, 1
mov dword [ebp - 0x58], 0
push 0x16
mov dword [0x1028fc1c], eax
lea ecx, [ebp - 0x68]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBaseEntity__m_vecMaxs
mov dword [ebp - 0x6c], eax
vmovdqu xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10005c60
cmp dword [ebp - 0x54], 0xf
lea edi, [ebp - 0x68]
mov esi, dword [ebp - 0x68]
mov ecx, 0x811c9dc5
cmova edi, esi
xor edx, edx
cmp dword [ebp - 0x58], edx
jbe 0x1005c332
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x58]
jb 0x1005c320
push ecx
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1005c3d9
add eax, 0x20
mov dword [0x1028fbf8], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xf
jbe 0x1005c38b
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005c381
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005c381
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10117d22
add esp, 8
mov edi, dword [ebp - 0x50]
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x48], eax
cmp esi, eax
je 0x1005c531
nop
cmp byte [esi + 0x25], 0
je 0x1005c520
cmp dword [esi + 0x10], 1
jl 0x1005c520
mov ebx, dword [esi + 0x30]
cmp ebx, 0xb
jae 0x1005c68a
mov edi, dword [ebp + ebx*4 - 0x40]
test edi, edi
je 0x1005c517
cmp dword [esi + 0x1c], 4
jne 0x1005c3e4
call fcn.10053ca0
jmp 0x1005c3e9
push str.invalid_unordered_map_K__T__key
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
call fcn.10054160
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1005c407
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x1005c407
call fcn.10054620
mov eax, dword [esi + 0x28]
cmp eax, 3
jne 0x1005c447
call fcn.10055440
call fcn.10055440
test al, 1
je 0x1005c429
mov ecx, dword [ebp - 0x4c]
cmp dword [esi + 0x10], ecx
jg 0x1005c514
call fcn.10055440
mov ecx, dword [ebp - 0x4c]
test al, 3
je 0x1005c478
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp dword [esi + 0x10], eax
jg 0x1005c514
jmp 0x1005c478
cmp eax, 2
jne 0x1005c475
call fcn.10054f90
cmp eax, 1
je 0x1005c475
call fcn.10055440
call fcn.10055440
test al, 1
je 0x1005c470
mov eax, dword [ebp - 0x4c]
cmp dword [esi + 0x10], eax
jg 0x1005c514
call fcn.10055440
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x6c], eax
cmp dword [esi + 0x28], eax
jne 0x1005c4cb
cmp byte [esi + 0x24], 0
je 0x1005c4ba
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
mov eax, dword [edi + 0x1c]
jne 0x1005c49b
cmp eax, dword [esi + 0x1c]
je 0x1005c514
jmp 0x1005c4b0
cmp eax, dword [esi + 0x1c]
jne 0x1005c4b0
mov eax, dword [edi + 0x10]
sub eax, dword [esi + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x1005c514
cmp dword [edi + 0x10], ecx
jle 0x1005c4ba
cmp dword [esi + 0x10], ecx
jg 0x1005c514
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x10]
mov eax, dword [ebp - 0x48]
jle 0x1005c520
mov dword [ebp + ebx*4 - 0x40], esi
jmp 0x1005c520
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
mov eax, dword [edi + 0x1c]
jne 0x1005c4dd
cmp eax, dword [esi + 0x1c]
je 0x1005c4fe
jmp 0x1005c4f2
cmp eax, dword [esi + 0x1c]
jne 0x1005c4f2
mov eax, dword [edi + 0x10]
sub eax, dword [esi + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x1005c4fe
mov eax, dword [edi + 0x10]
cmp eax, ecx
jle 0x1005c50f
cmp dword [esi + 0x10], ecx
jle 0x1005c50f
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x48]
jle 0x1005c520
mov dword [ebp + ebx*4 - 0x40], esi
jmp 0x1005c520
cmp dword [esi + 0x10], eax
jle 0x1005c51d
mov eax, dword [ebp - 0x48]
mov dword [ebp + ebx*4 - 0x40], esi
jmp 0x1005c520
mov eax, dword [ebp - 0x48]
add esi, 0x38
cmp esi, eax
jne 0x1005c3a0
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1005c585
cmp eax, dword [ebp - 0xc]
je 0x1005c575
vmovdqu ymm0, ymmword [ecx]
vmovdqu ymmword [eax], ymm0
vmovdqu xmm0, xmmword [ecx + 0x20]
vmovdqu xmmword [eax + 0x20], xmm0
vmovq xmm0, qword [ecx + 0x30]
vmovq qword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x10]
add eax, 0x38
mov dword [ebp - 0x10], eax
jmp 0x1005c585
push ecx
push eax
lea ecx, [ebp - 0x14]
vzeroupper
call fcn.10062fd0
mov eax, dword [ebp - 0x10]
add esi, 4
lea ecx, [ebp - 0x14]
cmp esi, ecx
jne 0x1005c543
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0xc]
vzeroupper
call fcn.100628e0
lea ecx, [ebp - 0x14]
call fcn.10007d80
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x74], eax
cmp esi, eax
jne 0x1005c5d0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101179c5
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1005c613
mov ecx, dword [edi + 0x28]
cmp dword [esi + 0x28], ecx
setg byte [ebp - 0x41]
je 0x1005c5fe
mov eax, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x1005c609
cmp ecx, ebx
jle 0x1005c5fe
cmp dword [edi + 0x10], ebx
jg 0x1005c609
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x10]
setg al
jmp 0x1005c60c
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0x50]
test al, al
je 0x1005c616
mov dword [ecx + 0x18], esi
mov eax, dword [esi + 0x30]
cmp eax, 2
je 0x1005c623
cmp eax, 3
jne 0x1005c669
mov edi, dword [ecx + 0x1c]
test edi, edi
je 0x1005c666
mov ecx, dword [edi + 0x28]
cmp dword [esi + 0x28], ecx
setg byte [ebp - 0x41]
je 0x1005c651
mov eax, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x1005c65c
cmp ecx, ebx
jle 0x1005c651
cmp dword [edi + 0x10], ebx
jg 0x1005c65c
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x10]
setg al
jmp 0x1005c65f
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0x50]
test al, al
je 0x1005c669
mov dword [ecx + 0x1c], esi
add esi, 0x38
cmp esi, dword [ebp - 0x74]
jne 0x1005c5d0
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101179c5
mov esp, ebp
pop ebp
ret 4
call fcn.10062a20
int3