Function at 0x466410
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x50dce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push edi
mov edi, ecx
lea eax, [esp + 0x10]
push 0xb
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0
call fcn.004d6f0d
mov ecx, dword [eax]
push 0x55c210
push ecx
mov byte [esp + 0x38], 1
call fcn.004bda36
add esp, 8
test eax, eax
je 0x4664c1
lea edx, [esp + 8]
push 9
push edx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov eax, dword [eax]
push 0x55c1fc
push eax
call fcn.004bda36
add esp, 8
lea ecx, [esp + 8]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
jne 0x4664c1
lea ecx, [esp + 0xc]
push 7
push ecx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov edx, dword [eax]
push 0x55c1ec
push edx
call fcn.004bda36
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
je 0x4664c3
mov bl, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004e1e27
test bl, bl
je 0x4664eb
push 0xffffffffffffffff
push 0
push 0xef96
call fcn.0041b900
add esp, 0xc
jmp 0x46683a
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.004e2363
test eax, eax
jg 0x466580
push 0x2f
lea ecx, [esp + 0x3c]
call fcn.004e2363
test eax, eax
jg 0x466580
push 0x5c
lea ecx, [esp + 0x3c]
call fcn.004e2363
test eax, eax
jge 0x466580
lea eax, [esp + 0x10]
push 2
push eax
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov ecx, dword [eax]
push 0x55c748
push ecx
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
jne 0x466580
mov eax, dword [esp + 0x38]
cmp dword [eax - 8], 2
jle 0x4667a9
cmp word [eax + 2], 0x3a
jne 0x4667a9
mov cx, word [eax + 4]
cmp cx, 0x5c
je 0x466580
cmp cx, 0x2f
je 0x466580
test cx, cx
jne 0x4667a9
push 0x40
lea ecx, [esp + 0x3c]
call fcn.004e2363
test eax, eax
jle 0x466812
lea edx, [esp + 0x24]
push 7
push edx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov eax, dword [eax]
push 0x55ca10
push eax
mov byte [esp + 0x38], 2
call fcn.004bdb15
add esp, 8
test eax, eax
je 0x466791
lea ecx, [esp + 0x10]
push 8
push ecx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov edx, dword [eax]
push 0x55cdc4
push edx
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
jne 0x466791
lea eax, [esp + 0xc]
push 7
push eax
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov ecx, dword [eax]
push 0x55ce18
push ecx
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
jne 0x466791
lea edx, [esp + 8]
push 7
push edx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov eax, dword [eax]
push 0x55ce18
push eax
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 8]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
jne 0x466791
lea ecx, [esp + 0x14]
push 4
push ecx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov edx, dword [eax]
push 0x55ce0c
push edx
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
jne 0x466791
lea eax, [esp + 0x1c]
push 6
push eax
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov ecx, dword [eax]
push 0x55cbec
push ecx
mov byte [esp + 0x38], 3
call fcn.004bdb15
add esp, 8
test eax, eax
je 0x4666f3
lea edx, [esp + 0x18]
push 4
push edx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov eax, dword [eax]
push 0x55ce00
push eax
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
je 0x4666f5
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call fcn.004e1e27
test bl, bl
jne 0x466791
lea ecx, [esp + 0x20]
push 6
push ecx
lea ecx, [esp + 0x40]
call fcn.004d6f0d
mov edx, dword [eax]
push 0x55cdf0
push edx
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
jne 0x466791
mov eax, dword [esp + 0x38]
push 0x55c2c0
push eax
call fcn.004bdb15
add esp, 8
test eax, eax
sete al
test al, al
jne 0x466791
mov eax, dword [esp + 0x38]
cmp dword [eax - 8], 2
jle 0x46678d
cmp word [eax + 2], 0x3a
sete cl
test cl, cl
je 0x46678d
mov ax, word [eax + 4]
cmp ax, 0x5c
je 0x466791
cmp ax, 0x2f
sete cl
test cl, cl
jne 0x466791
test ax, ax
sete al
test al, al
jne 0x466791
mov bl, 1
jmp 0x466793
xor bl, bl
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0
call fcn.004e1e27
test bl, bl
je 0x466812
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46683a
mov eax, dword [edi + 0x104c]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [eax + 0x1c]
push 0
push 0x407
push ecx
call esi
push eax
call fcn.004ddf17
mov edx, dword [esp + 0x3c]
mov ecx, eax
push edx
call fcn.004e1329
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov edx, dword [edi + 0x1c]
test ax, ax
setge cl
dec ecx
push 0
and ecx, 3
push 0xef1c
inc ecx
push 0x111
push edx
mov dword [edi + 0x200], ecx
call esi
pop esi
jmp 0x46683a
lea eax, [esp + 0x38]
mov ecx, edi
push eax
push 0
call fcn.00466c50
test eax, eax
jne 0x46683a
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push eax
push edx
push 2
push 1
mov ecx, edi
call fcn.004476b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x28]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8