Function at 0x465180
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514b88
push 0x50ca2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x20a8
call fcn.0050c9c0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20c0], esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
add eax, 0xfffffdff
cmp eax, 7
ja case.0x4651d1.515
jmp dword [eax*4 + 0x46541c]
mov ecx, esi
call fcn.00466330
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb2ec], eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x4651d1.515
push edi
mov eax, dword [esi + 0x6790]
push eax
call fcn.0046dcf0
add esp, 8
test eax, eax
jne case.0x4651d1.515
mov dword [esi + 0xb2fc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb2e8], eax
jmp case.0x4651d1.515
cmp dword [0x5e278c], ecx
je 0x465260
cmp dword [0x5e2788], ecx
je 0x465260
cmp dword [0x5e2790], ecx
je 0x465260
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov word [ebp - 0x20b0], cx
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x20ae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x5e279c]
test eax, eax
je case.0x4651d1.515
push 0x824
lea ecx, [ebp - 0x20b0]
push ecx
mov ecx, esi
call fcn.00464e40
test eax, eax
je 0x4652ca
cmp word [ebp - 0x20b0], 0
je 0x4652ca
lea edx, [ebp - 0x20b0]
push edx
call fcn.0046d280
add esp, 4
test eax, eax
je 0x4652df
mov dword [ebx + 4], 0x201
mov dword [esi + 0xb2f8], 1
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x20b0]
push ecx
mov ecx, esi
call dword [eax + 0xe4]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xb2f8], ecx
je case.0x4651d1.515
cmp dword [0x5e279c], ecx
je case.0x4651d1.515
mov dword [esi + 0xb2f8], ecx
mov dword [ebx + 4], 0x202
jmp case.0x4651d1.515
push ecx
mov ecx, esi
call fcn.00464d20
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
cmp eax, 0x201
je 0x465349
cmp eax, 0x204
jne 0x4653cd
mov eax, dword [esi + 0x36f8]
test eax, eax
jne 0x4653cd
mov ecx, esi
call fcn.00466330
cmp eax, dword [ebx]
jne 0x4653cd
mov eax, dword [0x5e4b00]
test eax, eax
jne 0x46537b
mov ecx, dword [0x5e4af8]
test ecx, ecx
jne 0x46537b
mov ecx, dword [0x5e4afc]
test ecx, ecx
je 0x4653cd
mov dword [ebp - 4], 0
mov edx, dword [0x5e4afc]
push edx
mov ecx, dword [0x5e4af8]
push ecx
push eax
mov edx, dword [ebx + 4]
push edx
mov eax, dword [esi + 0x6790]
push eax
call fcn.00470dd0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
jmp 0x4653cd
mov eax, dword [esi + 0x8d00]
test eax, eax
je 0x465403
mov dword [ebp - 0x20b8], 0
lea edx, [ebp - 0x20b8]
push edx
push ebx
lea ecx, [esi + 0x8ce8]
call fcn.00490d20
mov eax, dword [ebp - 0x20b8]
test eax, eax
mov eax, 1
jne 0x465406
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4