Function at 0x1003c930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b0c5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1007e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1014c5dc]
mov ebx, dword [ebp + 8]
mov esi, dword [0x1014c6ac]
cmp byte [eax], 0
je 0x1003cdff
cmp byte [eax + 0x3c], 0
je 0x1003cdff
mov eax, dword [0x1014c5bc]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1003cdff
call fcn.10002fb0
test al, al
je 0x1003cdff
mov ecx, dword [0x1014c5bc]
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1003cdff
mov eax, dword [0x1014c5dc]
cmp byte [eax + 0x47], 0
jne 0x1003c9c2
cmp byte [eax + 0x48], 0
jne 0x1003c9c2
cmp byte [eax + 0x49], 0
je 0x1003cdff
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.1003fc10
test al, al
je 0x1003cdff
mov eax, dword [0x1014c5bc]
mov ecx, esi
push dword [eax + 0x74]
call fcn.1003d180
test al, al
je 0x1003cdff
mov eax, dword [0x1014c5dc]
movzx eax, word [eax + 2]
test ax, ax
je 0x1003cdff
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003cdff
cmp dword [0x1014b0d8], 0
jne 0x1003ca55
push 0x1006e84c
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014b0d8], 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 [0x1014b0d8]
jne 0x1003cdff
mov edi, dword [0x1014c5dc]
lea ecx, [ebp - 0x18]
mov eax, dword [0x1014c5bc]
xor edx, edx
mov dword [ebp - 0x10], 0x63
mov dword [ebp - 0x18], 0
cmp byte [edi + 0x1dc], dl
sete dl
add edx, 0xfffffffc
add edx, dword [eax + 0x164]
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
cmp byte [edi + 4], 0
je 0x1003cacf
cmp dword [eax], 0
mov eax, dword [0x1014c5bc]
jle 0x1003cad4
cmp dword [eax + 0x160], 0x14
jge 0x1003cdff
jmp 0x1003cad4
mov eax, dword [0x1014c5bc]
cmp byte [edi + 0x239], 0
jne 0x1003cb5c
mov eax, dword [eax + 0x74]
mov ecx, dword [0x1014af98]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1014b15c]
cmp eax, dword [ecx + 4]
jle 0x1003cb4a
push 0x1014b15c
call fcn.100659aa
add esp, 4
cmp dword [0x1014b15c], 0xffffffff
jne 0x1003cb44
push str.m_fFlags
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.10061970
push 0x1014b15c
mov dword [0x1014b148], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10065959
add esp, 4
mov edi, dword [0x1014c5dc]
mov eax, dword [0x1014b148]
mov ecx, dword [ebp - 0x10]
test byte [eax + ecx], 1
je 0x1003cdff
movzx eax, word [edi + 2]
test ax, ax
je 0x1003ccbe
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003ccbe
cmp dword [0x1014b0d8], 0
jne 0x1003cb99
push 0x1006e84c
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014b0d8], eax
jmp 0x1003ccbe
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x1014b0d8]
jne 0x1003ccbe
mov eax, dword [0x1014c5dc]
cmp byte [eax + 0x3e], 0
je 0x1003ccbe
mov eax, dword [0x1014c5bc]
mov edi, dword fs:[0x2c]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1014af98]
mov edi, dword [edi + eax*4]
mov eax, dword [0x1014aff0]
cmp eax, dword [edi + 4]
jle 0x1003cc26
push 0x1014aff0
call fcn.100659aa
add esp, 4
cmp dword [0x1014aff0], 0xffffffff
jne 0x1003cc26
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.10061970
push 0x1014aff0
mov dword [0x1014afe8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10065959
add esp, 4
mov eax, dword [0x1014afe8]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 2
je 0x1003ccba
mov eax, dword [0x1014c5bc]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1003ccbe
mov eax, dword [0x1014c5bc]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1014aff0]
cmp eax, dword [edi + 4]
jle 0x1003ccac
push 0x1014aff0
call fcn.100659aa
add esp, 4
cmp dword [0x1014aff0], 0xffffffff
jne 0x1003ccac
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 2
call fcn.10061970
push 0x1014aff0
mov dword [0x1014afe8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10065959
add esp, 4
mov eax, dword [0x1014afe8]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 4
jne 0x1003ccbe
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 0x1003ccfb
mov eax, dword [0x1014c5bc]
mov ecx, esi
push ebx
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.1003da30
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 0x1003cd1e
cmp eax, 0x56
je 0x1003cd1e
cmp eax, 0x59
jne 0x1003cdff
mov eax, dword [0x1014c5bc]
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.100030c0
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
call fcn.10002af0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.1003e130
test al, al
je 0x1003cdff
push edi
mov ecx, esi
call fcn.1003e3b0
mov eax, dword [esi + 0x48]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1014af98]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1014afbc]
cmp eax, dword [ecx + 4]
jle 0x1003cdca
push 0x1014afbc
call fcn.100659aa
add esp, 4
cmp dword [0x1014afbc], 0xffffffff
jne 0x1003cdca
push str.m_vecOrigin
push str.CBaseEntity
mov dword [ebp - 4], 3
call fcn.10061970
push 0x1014afbc
mov dword [0x1014afe4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10065959
add esp, 4
mov eax, dword [0x1014afe4]
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.1003e590
test al, al
je 0x1003cdff
push ebx
push edi
mov ecx, esi
call fcn.1003ef00
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