Function at 0x100369f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063879
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10076040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10144a5c]
mov ebx, dword [ebp + 8]
mov esi, dword [0x10144b34]
cmp byte [eax], 0
je 0x10036e47
cmp byte [eax + 0x64], 0
je 0x10036e47
mov eax, dword [0x10144a3c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10036e47
call fcn.10002910
test al, al
je 0x10036e47
mov ecx, dword [0x10144a3c]
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x10036e47
mov eax, dword [0x10144a5c]
cmp byte [eax + 0x7b], 0
jne 0x10036a82
cmp byte [eax + 0x7c], 0
jne 0x10036a82
cmp byte [eax + 0x7d], 0
je 0x10036e47
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.10039d80
test al, al
je 0x10036e47
mov eax, dword [0x10144a3c]
mov ecx, esi
push dword [eax + 0x74]
call fcn.100373e0
test al, al
je 0x10036e47
mov eax, dword [0x10144a5c]
movzx eax, word [eax + 2]
test ax, ax
je 0x10036e47
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10036e47
cmp dword [0x10143540], 0
jne 0x10036b15
push 0x10067868
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10143540], 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 [0x10143540]
jne 0x10036e47
mov edi, dword [0x10144a5c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x10144a3c]
xor edx, edx
mov dword [ebp - 0x10], 0x63
mov dword [ebp - 0x18], 0
cmp byte [edi + 0x223], 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 [0x10144a3c]
cmp dword [eax + 0x160], 0x14
jl 0x10036ba4
cmp byte [edi + 4], 0
je 0x10036b8e
test ecx, ecx
jg 0x10036e47
cmp byte [edi + 0x293], 0
jne 0x10036ba4
cmp dword [eax + 0x1ec], 2
jle 0x10036e47
movzx eax, word [edi + 2]
test ax, ax
je 0x10036d06
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10036d06
cmp dword [0x10143540], 0
jne 0x10036be1
push 0x10067868
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10143540], eax
jmp 0x10036d06
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10143540]
jne 0x10036d06
mov eax, dword [0x10144a5c]
cmp byte [eax + 0x71], 0
je 0x10036d06
mov eax, dword [0x10144a3c]
mov edi, dword [0x101433f8]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + edi*4]
mov eax, dword [0x10143474]
cmp eax, dword [edi + 4]
jle 0x10036c6e
push 0x10143474
call fcn.1005eea1
add esp, 4
cmp dword [0x10143474], 0xffffffff
jne 0x10036c6e
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.10059a30
push 0x10143474
mov dword [0x10143470], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005ee50
add esp, 4
mov eax, dword [0x10143470]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 2
je 0x10036d02
mov eax, dword [0x10144a3c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x10036d06
mov eax, dword [0x10144a3c]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10143474]
cmp eax, dword [edi + 4]
jle 0x10036cf4
push 0x10143474
call fcn.1005eea1
add esp, 4
cmp dword [0x10143474], 0xffffffff
jne 0x10036cf4
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 1
call fcn.10059a30
push 0x10143474
mov dword [0x10143470], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005ee50
add esp, 4
mov eax, dword [0x10143470]
mov ecx, dword [ebp - 0x10]
cmp dword [eax + ecx], 4
jne 0x10036d06
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 0x10036d43
mov eax, dword [0x10144a3c]
mov ecx, esi
push ebx
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.10037bf0
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 0x10036d66
cmp eax, 0x56
je 0x10036d66
cmp eax, 0x59
jne 0x10036e47
mov eax, dword [0x10144a3c]
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.10003bb0
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
call fcn.100037a0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.100382f0
test al, al
je 0x10036e47
push edi
mov ecx, esi
call fcn.10038560
mov eax, dword [esi + 0x48]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101433f8]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10143444]
cmp eax, dword [ecx + 4]
jle 0x10036e12
push 0x10143444
call fcn.1005eea1
add esp, 4
cmp dword [0x10143444], 0xffffffff
jne 0x10036e12
push str.m_vecOrigin
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.10059a30
push 0x10143444
mov dword [0x1014346c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005ee50
add esp, 4
mov eax, dword [0x1014346c]
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.10038730
test al, al
je 0x10036e47
push ebx
push edi
mov ecx, esi
call fcn.100390a0
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