Function at 0x10032010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c3f9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1006c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1006e3b4]
mov esi, dword [0x1006e470]
cmp byte [eax], 0
je 0x100323ed
cmp byte [eax + 0x4c], 0
je 0x100323ed
mov eax, dword [0x1006e394]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x100323ed
call fcn.10002fe0
test al, al
je 0x100323ed
mov ecx, dword [0x1006e394]
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100323ed
mov eax, dword [0x1006e3b4]
cmp byte [eax + 0x57], 0
jne 0x1003209f
cmp byte [eax + 0x58], 0
jne 0x1003209f
cmp byte [eax + 0x59], 0
je 0x100323ed
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push edx
push dword [ecx + 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10035560
test al, al
je 0x100323ed
mov eax, dword [0x1006e394]
mov ecx, esi
push dword [eax + 0x74]
call fcn.10032b40
test al, al
je 0x100323ed
mov eax, dword [0x1006e3b4]
movzx eax, word [eax + 2]
test ax, ax
je 0x100323ed
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100323ed
cmp dword [0x1006cea8], 0
jne 0x10032132
push 0x1005f834
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1006cea8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
call ebx
cmp eax, dword [0x1006cea8]
jne 0x100323ed
mov eax, dword [0x1006e3b4]
mov edi, dword [ebp + 8]
movzx eax, word [eax + 2]
test ax, ax
je 0x100322ac
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100322ac
cmp dword [0x1006cea8], 0
jne 0x1003218b
push 0x1005f834
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1006cea8], eax
jmp 0x100322ac
call ebx
cmp eax, dword [0x1006cea8]
jne 0x100322ac
mov eax, dword [0x1006e3b4]
cmp byte [eax + 0x4e], 0
je 0x100322ac
mov eax, dword [0x1006e394]
mov ebx, dword [0x1006cd68]
mov eax, dword [eax + 0x74]
mov dword [ebp + 8], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax + ebx*4]
mov eax, dword [0x1006cdc0]
cmp eax, dword [ebx + 4]
jle 0x10032214
push 0x1006cdc0
call fcn.10058180
add esp, 4
cmp dword [0x1006cdc0], 0xffffffff
jne 0x10032214
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.10054180
push 0x1006cdc0
mov dword [0x1006cdb8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005812f
add esp, 4
mov eax, dword [0x1006cdb8]
mov ecx, dword [ebp + 8]
cmp dword [eax + ecx], 2
je 0x100322a8
mov eax, dword [0x1006e394]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x100322ac
mov eax, dword [0x1006e394]
mov eax, dword [eax + 0x74]
mov dword [ebp + 8], eax
mov eax, dword [0x1006cdc0]
cmp eax, dword [ebx + 4]
jle 0x1003229a
push 0x1006cdc0
call fcn.10058180
add esp, 4
cmp dword [0x1006cdc0], 0xffffffff
jne 0x1003229a
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.10054180
push 0x1006cdc0
mov dword [0x1006cdb8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005812f
add esp, 4
mov eax, dword [0x1006cdb8]
mov ecx, dword [ebp + 8]
cmp dword [eax + ecx], 4
jne 0x100322ac
or dword [edi + 0x24], 1
mov ecx, dword [esi + 0x48]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x100322e9
mov eax, dword [0x1006e394]
mov ecx, esi
push edi
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.10033420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x48]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 0x14]
cmp eax, 0x58
je 0x1003230c
cmp eax, 0x56
je 0x1003230c
cmp eax, 0x59
jne 0x100323ed
mov eax, dword [0x1006e394]
lea ecx, [ebp - 0x28]
push ecx
mov ebx, dword [eax + 0x78]
mov eax, dword [eax + 0x74]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.100030f0
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x1c]
push eax
call fcn.10002b20
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.10033b20
test al, al
je 0x100323ed
push ebx
mov ecx, esi
call fcn.10033da0
mov eax, dword [esi + 0x48]
mov ecx, dword fs:[0x2c]
mov dword [ebp + 8], eax
mov eax, dword [0x1006cd68]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1006cd8c]
cmp eax, dword [ecx + 4]
jle 0x100323b8
push 0x1006cd8c
call fcn.10058180
add esp, 4
cmp dword [0x1006cd8c], 0xffffffff
jne 0x100323b8
push str.m_vecOrigin
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.10054180
push 0x1006cd8c
mov dword [0x1006cdb4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005812f
add esp, 4
mov eax, dword [0x1006cdb4]
sub esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, esp
push ebx
movq xmm0, qword [eax + edx]
mov eax, dword [eax + edx + 8]
push dword [ebp - 0x10]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.10033f80
test al, al
je 0x100323ed
push edi
push ebx
mov ecx, esi
call fcn.100348f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4