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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9da8
push 0x4d0e84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x20a8
call fcn.004d0e10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20c0], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
add eax, 0xfffffdff
cmp eax, 7
ja case.0x4589d1.515
jmp dword [eax*4 + 0x458c6c]
mov ecx, esi
call fcn.00459960
mov ebx, eax
mov word [ebp - 0x1068], di
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1066]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi + 0x97a8], eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x458a2a
push ebx
mov eax, dword [esi + 0x4f18]
push eax
call fcn.0045fe30
add esp, 8
test eax, eax
je 0x458a5d
mov eax, dword [0x5e764c]
test eax, eax
je 0x458a6f
push 0x823
lea ecx, [ebp - 0x1068]
push ecx
push ebx
mov edx, dword [esi + 0x4f18]
push edx
call fcn.0045ff60
add esp, 0x10
test eax, eax
je 0x458a6f
cmp word [ebp - 0x1068], 0
je 0x458a6f
mov dword [esi + 0x97b8], 1
call edi
mov dword [esi + 0x97a4], eax
xor edi, edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
cmp eax, 0x201
je 0x458a89
cmp eax, 0x204
jne 0x458c25
cmp dword [esi + 0x1e80], edi
jne 0x458c25
mov ecx, esi
call fcn.00459960
cmp eax, dword [ebx]
jne 0x458c25
mov eax, dword [0x5e78a8]
cmp eax, edi
jne 0x458ac1
cmp dword [0x5e78a0], edi
jne 0x458ac1
cmp dword [0x5e78a4], edi
je 0x458c25
mov dword [ebp - 4], edi
mov ecx, dword [0x5e78a4]
push ecx
mov edx, dword [0x5e78a0]
push edx
push eax
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [esi + 0x4f18]
push ecx
call fcn.00463690
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
jmp 0x458c25
cmp dword [0x5e5534], edi
je 0x458b1f
cmp dword [0x5e5530], edi
je 0x458b1f
cmp dword [0x5e5538], edi
je 0x458b1f
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], di
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x20ae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x5e5544]
test eax, eax
je 0x458c03
push 0x824
lea eax, [ebp - 0x20b0]
push eax
mov ecx, esi
call fcn.00458640
test eax, eax
je 0x458b89
cmp word [ebp - 0x20b0], 0
je 0x458b89
lea ecx, [ebp - 0x20b0]
push ecx
call fcn.00466860
add esp, 4
test eax, eax
je 0x458b9e
mov dword [ebx + 4], 0x201
mov dword [esi + 0x97b4], 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 edx, dword [esi]
push 1
lea eax, [ebp - 0x20b0]
push eax
mov ecx, esi
call dword [edx + 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 + 0x97b4], edi
je case.0x4589d1.515
cmp dword [0x5e5544], edi
je case.0x4589d1.515
mov dword [esi + 0x97b4], edi
mov dword [ebx + 4], 0x202
jmp case.0x4589d1.515
push edi
mov ecx, esi
call fcn.004585e0
mov dword [ebp - 0x1c], eax
jmp case.0x4589d1.515
xor edi, edi
jmp case.0x4589d1.515
mov ecx, dword [esi + 0x7470]
cmp ecx, edi
je 0x458c54
cmp dword [ecx + 0x18], edi
je 0x458c54
mov dword [ebp - 0x20b8], edi
lea edx, [ebp - 0x20b8]
push edx
push ebx
call fcn.0047bd50
cmp dword [ebp - 0x20b8], edi
mov eax, 1
jne 0x458c57
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