Function at 0x100509e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126339
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
cmp eax, 0x463
jne 0x10050a88
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x10050a3b
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x10050a3b
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x10050db7
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [edi + 0x5c]
jne 0x10050a67
cmp eax, dword [edi + 0x60]
je 0x10050db7
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x60], eax
call fcn.10050f70
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
cmp eax, 0x464
jne 0x10050ae9
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x10050db7
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x64]
je 0x10050db7
mov ecx, edi
mov dword [edi + 0x64], eax
call fcn.1004ec30
test eax, eax
jne 0x10050db7
mov ecx, edi
call fcn.10050f70
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
cmp eax, 0x465
jne 0x10050b84
lea eax, [ebp + 8]
push eax
call fcn.1002fe60
mov ecx, eax
call fcn.10021a20
mov eax, dword [eax]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
cmp dword [eax - 0xc], 0
jne 0x10050b2f
call fcn.1002fe60
mov ecx, eax
call fcn.100219b0
cmp eax, 1
je 0x10050b2f
xor bl, bl
jmp 0x10050b31
mov bl, 1
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10050b53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x10050db7
push 0x465
push dword [edi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.10052a50
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
cmp eax, 0x469
jne 0x10050bb0
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.100539f0
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
cmp eax, 0x466
jne 0x10050bf5
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push eax
push dword [edi + 8]
call esi
push 0x466
push dword [edi + 8]
call esi
lea eax, [edi + 0x28]
push eax
lea ecx, [edi + 0x74]
call fcn.10030a10
lea ecx, [edi + 0x74]
call fcn.10031b00
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
cmp eax, 0x467
jne 0x10050c51
call fcn.1004ec30
test eax, eax
je 0x10050db7
call fcn.10017840
test eax, eax
je 0x10050db7
mov ecx, edi
call fcn.1004c5d0
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x10050db7
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x10050db7
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
call dword [eax + 0xc]
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
cmp eax, 0x468
jne 0x10050c90
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [edi + 0x2c]
push eax
lea ecx, [edi + 0xe4]
call fcn.10032ef0
lea ecx, [edi + 0xe4]
call fcn.10033360
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
cmp eax, 0x46b
jne 0x10050d04
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
mov edi, 0x8000
test di, ax
je 0x10050db7
push 2
call esi
test di, ax
je 0x10050db7
mov eax, dword [0x101714a8]
test eax, eax
je 0x10050db7
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x10050db7
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10050db7
mov ecx, dword [0x101714a8]
call fcn.10050f70
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
cmp eax, 0x46c
jne 0x10050db7
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x128]
test ecx, ecx
je 0x10050daa
mov eax, dword [ecx + 0x70]
add ecx, 0x70
call dword [eax + 4]
test eax, eax
je 0x10050d77
mov eax, dword [edi + 0x128]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10050d77
push str.newshow_old_active
lea ecx, [ebp + 8]
call fcn.100079a0
push 0
push 0
push 1
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 1
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
lea ecx, [ebp + 8]
jmp 0x10050da5
push str.newshow_old_kill
lea ecx, [ebp - 0x10]
call fcn.100079a0
push 0
push 0
push 1
push 0
push dword [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
lea ecx, [ebp - 0x10]
call fcn.10007df0
push 0
lea ecx, [edi + 0x128]
call fcn.10046880
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