Function at 0x10036b90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100630f9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10074040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10142a5c]
mov ebx, dword [ebp + 8]
mov esi, dword [0x10142b34]
cmp byte [eax], 0
je 0x10036fe7
cmp byte [eax + 0x40], 0
je 0x10036fe7
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10036fe7
call fcn.100028c0
test al, al
je 0x10036fe7
mov ecx, dword [0x10142a3c]
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x10036fe7
mov eax, dword [0x10142a5c]
cmp byte [eax + 0x57], 0
jne 0x10036c22
cmp byte [eax + 0x58], 0
jne 0x10036c22
cmp byte [eax + 0x59], 0
je 0x10036fe7
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.1003a1f0
test al, al
je 0x10036fe7
mov eax, dword [0x10142a3c]
mov ecx, esi
push dword [eax + 0x74]
call fcn.10037500
test al, al
je 0x10036fe7
mov eax, dword [0x10142a5c]
movzx eax, word [eax + 2]
test ax, ax
je 0x10036fe7
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10036fe7
cmp dword [0x10141540], 0
jne 0x10036cb5
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], 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 [0x10141540]
jne 0x10036fe7
mov edi, dword [0x10142a5c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x10142a3c]
xor edx, edx
mov dword [ebp - 0x10], 0x63
mov dword [ebp - 0x18], 0
cmp byte [edi + 0x1ff], 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 [0x10142a3c]
cmp dword [eax + 0x160], 0x14
jl 0x10036d44
cmp byte [edi + 4], 0
je 0x10036d2e
test ecx, ecx
jg 0x10036fe7
cmp byte [edi + 0x26b], 0
jne 0x10036d44
cmp dword [eax + 0x1ec], 2
jle 0x10036fe7
movzx eax, word [edi + 2]
test ax, ax
je 0x10036ea6
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10036ea6
cmp dword [0x10141540], 0
jne 0x10036d81
push 0x10066848
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10141540], eax
jmp 0x10036ea6
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10141540]
jne 0x10036ea6
mov eax, dword [0x10142a5c]
cmp byte [eax + 0x4d], 0
je 0x10036ea6
mov eax, dword [0x10142a3c]
mov edi, dword [0x101413f8]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + edi*4]
mov eax, dword [0x10141474]
cmp eax, dword [edi + 4]
jle 0x10036e0e
push 0x10141474
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141474], 0xffffffff
jne 0x10036e0e
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.1005a6e0
push 0x10141474
mov dword [0x10141470], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005e650
add esp, 4
mov eax, dword [0x10141470]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 2
je 0x10036ea2
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x10036ea6
mov eax, dword [0x10142a3c]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10141474]
cmp eax, dword [edi + 4]
jle 0x10036e94
push 0x10141474
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141474], 0xffffffff
jne 0x10036e94
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.1005a6e0
push 0x10141474
mov dword [0x10141470], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005e650
add esp, 4
mov eax, dword [0x10141470]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 4
jne 0x10036ea6
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 0x10036ee3
mov eax, dword [0x10142a3c]
mov ecx, esi
push ebx
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.10037dd0
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 0x10036f06
cmp eax, 0x56
je 0x10036f06
cmp eax, 0x59
jne 0x10036fe7
mov eax, dword [0x10142a3c]
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.10003a80
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
call fcn.10003670
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.100384d0
test al, al
je 0x10036fe7
push edi
mov ecx, esi
call fcn.10038850
mov eax, dword [esi + 0x48]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101413f8]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10141444]
cmp eax, dword [ecx + 4]
jle 0x10036fb2
push 0x10141444
call fcn.1005e6a1
add esp, 4
cmp dword [0x10141444], 0xffffffff
jne 0x10036fb2
push str.m_vecOrigin
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.1005a6e0
push 0x10141444
mov dword [0x1014146c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005e650
add esp, 4
mov eax, dword [0x1014146c]
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.10038a90
test al, al
je 0x10036fe7
push ebx
push edi
mov ecx, esi
call fcn.100393d0
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