Function at 0x1003da50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cb21
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10080040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1014e68c]
mov esi, dword [0x1014e760]
cmp byte [eax], 0
je 0x1003dff8
cmp byte [eax + 0x94], 0
je 0x1003dff8
mov eax, dword [0x1014e66c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1003dff8
call fcn.10003270
test al, al
je 0x1003dff8
mov eax, dword [0x1014e66c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x1003dff8
push esi
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push edx
push ecx
push dword [eax + 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10040cd0
test al, al
je 0x1003dff8
mov eax, dword [0x1014e66c]
mov ecx, esi
push dword [eax + 0x74]
call fcn.1003e370
test al, al
je 0x1003dff8
mov eax, dword [0x1014e68c]
movzx eax, word [eax + 2]
test ax, ax
je 0x1003dff8
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003dff8
cmp dword [0x1014d158], 0
je 0x1003dfd0
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
call ebx
cmp eax, dword [0x1014d158]
jne 0x1003dff8
mov ecx, dword [0x1014e66c]
mov ecx, dword [ecx + 0x78]
call fcn.10056120
test al, al
je 0x1003dff8
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.1003fd90
test al, al
jne 0x1003dff8
mov eax, dword [0x1014e68c]
movzx eax, word [eax + 2]
test ax, ax
je 0x1003dcdf
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003dcdf
cmp dword [0x1014d158], 0
jne 0x1003dbb6
push 0x10070874
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014d158], eax
jmp 0x1003dcdf
call ebx
cmp eax, dword [0x1014d158]
jne 0x1003dcdf
mov eax, dword [0x1014e66c]
mov ecx, dword fs:[0x2c]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1014d018]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1014d070]
cmp eax, dword [ecx + 4]
jle 0x1003dc30
push 0x1014d070
call fcn.1006737a
add esp, 4
cmp dword [0x1014d070], 0xffffffff
jne 0x1003dc30
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.10063340
push 0x1014d070
mov dword [0x1014d068], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov eax, dword [0x1014d068]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 2
je 0x1003dcdb
mov eax, dword [0x1014e66c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1003dcdf
mov edi, dword fs:[0x2c]
mov edx, dword [0x1014d018]
mov eax, dword [0x1014e66c]
mov ecx, dword [edi + edx*4]
mov eax, dword [eax + 0x74]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1014d070]
cmp eax, dword [ecx + 4]
jle 0x1003dccd
push 0x1014d070
call fcn.1006737a
add esp, 4
cmp dword [0x1014d070], 0xffffffff
jne 0x1003dccd
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.10063340
push 0x1014d070
mov dword [0x1014d068], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov eax, dword [0x1014d068]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 4
jne 0x1003dcdf
or dword [edi + 0x24], 1
mov eax, dword [0x1014e68c]
movzx eax, word [eax + 2]
test ax, ax
je 0x1003de4d
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003de4d
cmp dword [0x1014d158], 0
jne 0x1003dd21
push 0x10070874
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014d158], eax
jmp 0x1003de4d
call ebx
cmp eax, dword [0x1014d158]
jne 0x1003de4d
mov eax, dword [0x1014e66c]
mov ecx, dword fs:[0x2c]
mov eax, dword [eax + 0x74]
mov dword [ebp + 8], eax
mov eax, dword [0x1014d018]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1014d070]
cmp eax, dword [ecx + 4]
jle 0x1003dd9b
push 0x1014d070
call fcn.1006737a
add esp, 4
cmp dword [0x1014d070], 0xffffffff
jne 0x1003dd9b
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 2
call fcn.10063340
push 0x1014d070
mov dword [0x1014d068], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov eax, dword [0x1014d068]
mov ecx, dword [ebp + 8]
cmp dword [eax + ecx], 9
je 0x1003de49
mov eax, dword [0x1014e66c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x1003de4d
mov ebx, dword fs:[0x2c]
mov edx, dword [0x1014d018]
mov eax, dword [0x1014e66c]
mov ecx, dword [ebx + edx*4]
mov eax, dword [eax + 0x74]
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp + 8], eax
mov eax, dword [0x1014d070]
cmp eax, dword [ecx + 4]
jle 0x1003de3b
push 0x1014d070
call fcn.1006737a
add esp, 4
cmp dword [0x1014d070], 0xffffffff
jne 0x1003de3b
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 3
call fcn.10063340
push 0x1014d070
mov dword [0x1014d068], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov eax, dword [0x1014d068]
mov ecx, dword [ebp + 8]
cmp dword [eax + ecx], 4
jne 0x1003de4d
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 0x1003de7b
mov eax, dword [0x1014e66c]
mov ecx, esi
push edi
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.1003e980
jmp 0x1003df89
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 0x1003de9e
cmp eax, 0x56
je 0x1003de9e
cmp eax, 0x59
jne 0x1003df89
mov eax, dword [0x1014e66c]
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.10003380
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x1c]
push eax
call fcn.10002dc0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1003fa90
test al, al
je 0x1003df83
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x5f4]
call eax
mov eax, dword [esi + 0x48]
mov ecx, dword fs:[0x2c]
mov dword [ebp + 8], eax
mov eax, dword [0x1014d018]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1014d03c]
cmp eax, dword [ecx + 4]
jle 0x1003df4e
push 0x1014d03c
call fcn.1006737a
add esp, 4
cmp dword [0x1014d03c], 0xffffffff
jne 0x1003df4e
push str.m_vecOrigin
push str.CBaseEntity
mov dword [ebp - 4], 4
call fcn.10063340
push 0x1014d03c
mov dword [0x1014d064], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10067329
add esp, 4
mov eax, dword [0x1014d064]
sub esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, esp
push ebx
movq xmm0, qword [edx + eax]
mov eax, dword [edx + eax + 8]
push dword [ebp - 0x10]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.1003f1f0
test al, al
je 0x1003df83
push edi
push ebx
mov ecx, esi
call fcn.100400a0
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x1003dff8
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1003dff8
mov eax, dword [0x1014e68c]
cmp byte [eax + 0xcf], 0
je 0x1003dff8
movzx eax, word [eax + 2]
test ax, ax
je 0x1003dff8
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003dff8
cmp dword [0x1014d158], 0
jne 0x1003dff6
push 0x10070874
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x1014d158], 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 ebx
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