Function at 0x1002d160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055359
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10064040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10066318]
mov ebx, dword [ebp + 8]
mov esi, dword [0x100663d8]
cmp byte [eax], 0
je 0x1002d5c3
cmp byte [eax + 0x74], 0
je 0x1002d5c3
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1002d5c3
call fcn.10002970
test al, al
je 0x1002d5c3
mov ecx, dword [0x100662f8]
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1002d5c3
mov eax, dword [0x10066318]
cmp byte [eax + 0x8b], 0
jne 0x1002d1fb
cmp byte [eax + 0x8c], 0
jne 0x1002d1fb
cmp byte [eax + 0x8d], 0
je 0x1002d5c3
push esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push edx
push dword [ecx + 0x74]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.10030c70
test al, al
je 0x1002d5c3
mov eax, dword [0x100662f8]
mov ecx, esi
push dword [eax + 0x74]
call fcn.1002daf0
test al, al
je 0x1002d5c3
mov eax, dword [0x10066318]
movzx eax, word [eax + 2]
test ax, ax
je 0x1002d5c3
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002d5c3
cmp dword [0x10064e84], 0
jne 0x1002d28e
push 0x10058864
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10064e84], 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
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10064e84]
jne 0x1002d5c3
mov edi, dword [0x10066318]
lea ecx, [ebp - 0x18]
mov eax, dword [0x100662f8]
xor edx, edx
mov dword [ebp - 0x10], 0x63
mov dword [ebp - 0x18], 0
cmp byte [edi + 0x241], dl
sete dl
add edx, 0xfffffffc
add edx, dword [eax + 0x178]
mov eax, edx
mov dword [ebp - 0x14], edx
shr eax, 0x1f
test al, al
lea eax, [ebp - 0x14]
cmove ecx, eax
cmp edx, 0x63
lea eax, [ebp - 0x10]
cmovle eax, ecx
mov ecx, dword [eax]
mov eax, dword [0x100662f8]
cmp dword [eax + 0x174], 0x14
jl 0x1002d31d
cmp byte [edi + 4], 0
je 0x1002d307
test ecx, ecx
jg 0x1002d5c3
cmp byte [edi + 0x2be], 0
jne 0x1002d31d
cmp dword [eax + 0x1fc], 2
jle 0x1002d5c3
movzx eax, word [edi + 2]
test ax, ax
je 0x1002d482
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002d482
cmp dword [0x10064e84], 0
jne 0x1002d35a
push 0x10058864
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10064e84], eax
jmp 0x1002d482
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10064e84]
jne 0x1002d482
mov eax, dword [0x10066318]
cmp byte [eax + 0x81], 0
je 0x1002d482
mov eax, dword [0x100662f8]
mov edi, dword [0x10064d58]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + edi*4]
mov eax, dword [0x10064dd4]
cmp eax, dword [edi + 4]
jle 0x1002d3ea
push 0x10064dd4
call fcn.100513b1
add esp, 4
cmp dword [0x10064dd4], 0xffffffff
jne 0x1002d3ea
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.1004bfd0
push 0x10064dd4
mov dword [0x10064dd0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
add esp, 4
mov eax, dword [0x10064dd0]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 2
je 0x1002d47e
mov eax, dword [0x100662f8]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1002d482
mov eax, dword [0x100662f8]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10064dd4]
cmp eax, dword [edi + 4]
jle 0x1002d470
push 0x10064dd4
call fcn.100513b1
add esp, 4
cmp dword [0x10064dd4], 0xffffffff
jne 0x1002d470
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.1004bfd0
push 0x10064dd4
mov dword [0x10064dd0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
add esp, 4
mov eax, dword [0x10064dd0]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 4
jne 0x1002d482
or dword [ebx + 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 0x1002d4bf
mov eax, dword [0x100662f8]
mov ecx, esi
push ebx
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.1002ea10
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 0x1002d4e2
cmp eax, 0x56
je 0x1002d4e2
cmp eax, 0x59
jne 0x1002d5c3
mov eax, dword [0x100662f8]
lea ecx, [ebp - 0x30]
push ecx
mov edi, dword [eax + 0x78]
mov eax, dword [eax + 0x74]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.10003b70
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
call fcn.10003760
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.1002f110
test al, al
je 0x1002d5c3
push edi
mov ecx, esi
call fcn.1002f380
mov eax, dword [esi + 0x48]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10064d58]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10064da4]
cmp eax, dword [ecx + 4]
jle 0x1002d58e
push 0x10064da4
call fcn.100513b1
add esp, 4
cmp dword [0x10064da4], 0xffffffff
jne 0x1002d58e
push str.m_vecOrigin
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.1004bfd0
push 0x10064da4
mov dword [0x10064dcc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10051360
add esp, 4
mov eax, dword [0x10064dcc]
sub esp, 0xc
mov edx, dword [ebp - 0x10]
mov ecx, esp
push edi
movq xmm0, qword [eax + edx]
mov eax, dword [eax + edx + 8]
push dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.1002f550
test al, al
je 0x1002d5c3
push ebx
push edi
mov ecx, esi
call fcn.1002fec0
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