Function at 0x1003c8c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006aff9
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 0x1003cd17
cmp byte [eax + 0x40], 0
je 0x1003cd17
mov eax, dword [0x1014c5bc]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1003cd17
call fcn.10002fb0
test al, al
je 0x1003cd17
mov ecx, dword [0x1014c5bc]
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1003cd17
mov eax, dword [0x1014c5dc]
cmp byte [eax + 0x4b], 0
jne 0x1003c952
cmp byte [eax + 0x4c], 0
jne 0x1003c952
cmp byte [eax + 0x4d], 0
je 0x1003cd17
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.1003fb20
test al, al
je 0x1003cd17
mov eax, dword [0x1014c5bc]
mov ecx, esi
push dword [eax + 0x74]
call fcn.1003d090
test al, al
je 0x1003cd17
mov eax, dword [0x1014c5dc]
movzx eax, word [eax + 2]
test ax, ax
je 0x1003cd17
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003cd17
cmp dword [0x1014b0d8], 0
jne 0x1003c9e5
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 0x1003cd17
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 + 0x1e3], 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
mov ecx, dword [eax]
mov eax, dword [0x1014c5bc]
cmp dword [eax + 0x160], 0x14
jl 0x1003ca74
cmp byte [edi + 4], 0
je 0x1003ca5e
test ecx, ecx
jg 0x1003cd17
cmp byte [edi + 0x241], 0
jne 0x1003ca74
cmp dword [eax + 0x1ec], 2
jle 0x1003cd17
movzx eax, word [edi + 2]
test ax, ax
je 0x1003cbd6
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003cbd6
cmp dword [0x1014b0d8], 0
jne 0x1003cab1
push 0x1006e84c
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014b0d8], eax
jmp 0x1003cbd6
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x1014b0d8]
jne 0x1003cbd6
mov eax, dword [0x1014c5dc]
cmp byte [eax + 0x42], 0
je 0x1003cbd6
mov eax, dword [0x1014c5bc]
mov edi, dword [0x1014af98]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + edi*4]
mov eax, dword [0x1014aff0]
cmp eax, dword [edi + 4]
jle 0x1003cb3e
push 0x1014aff0
call fcn.1006592a
add esp, 4
cmp dword [0x1014aff0], 0xffffffff
jne 0x1003cb3e
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.100618f0
push 0x1014aff0
mov dword [0x1014afe8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100658d9
add esp, 4
mov eax, dword [0x1014afe8]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 2
je 0x1003cbd2
mov eax, dword [0x1014c5bc]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1003cbd6
mov eax, dword [0x1014c5bc]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1014aff0]
cmp eax, dword [edi + 4]
jle 0x1003cbc4
push 0x1014aff0
call fcn.1006592a
add esp, 4
cmp dword [0x1014aff0], 0xffffffff
jne 0x1003cbc4
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.100618f0
push 0x1014aff0
mov dword [0x1014afe8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100658d9
add esp, 4
mov eax, dword [0x1014afe8]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 4
jne 0x1003cbd6
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 0x1003cc13
mov eax, dword [0x1014c5bc]
mov ecx, esi
push ebx
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.1003d940
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 0x1003cc36
cmp eax, 0x56
je 0x1003cc36
cmp eax, 0x59
jne 0x1003cd17
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.10002b00
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.1003e040
test al, al
je 0x1003cd17
push edi
mov ecx, esi
call fcn.1003e2c0
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 0x1003cce2
push 0x1014afbc
call fcn.1006592a
add esp, 4
cmp dword [0x1014afbc], 0xffffffff
jne 0x1003cce2
push str.m_vecOrigin
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.100618f0
push 0x1014afbc
mov dword [0x1014afe4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100658d9
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.1003e4a0
test al, al
je 0x1003cd17
push ebx
push edi
mov ecx, esi
call fcn.1003ee10
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