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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7ed7
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64786c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.004ef740
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00415eb0
add eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.004a8b50
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b8fd0
test eax, eax
je 0x4b8f72
movsx ecx, word [ebp - 0x1e]
mov edx, dword [ebp - 0x40]
add ecx, dword [edx + 0x1c]
mov word [ebp - 0x1e], cx
movsx eax, word [ebp - 0x1c]
mov ecx, dword [ebp - 0x40]
add eax, dword [ecx + 0x20]
mov word [ebp - 0x1c], ax
cmp dword [ebp - 0x14], 0
je 0x4b89cb
movsx edx, word [ebp - 0x1c]
push edx
movsx eax, word [ebp - 0x1e]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x18
call fcn.004bcef0
test eax, eax
jne 0x4b89cb
jmp 0x4b8975
movzx ecx, byte [ebp - 0x20]
cmp ecx, 9
jne 0x4b8ad9
movzx edx, word [ebp - 0x1a]
cmp edx, 0x11
je 0x4b8a4b
movzx eax, word [ebp - 0x1a]
cmp eax, 0xa2
je 0x4b8a4b
movzx ecx, word [ebp - 0x1a]
cmp ecx, 0xa3
je 0x4b8a4b
movzx edx, word [ebp - 0x1a]
cmp edx, 0xa0
je 0x4b8a4b
movzx eax, word [ebp - 0x1a]
cmp eax, 0xa1
je 0x4b8a4b
movzx ecx, word [ebp - 0x1a]
cmp ecx, 0x10
je 0x4b8a4b
movzx edx, word [ebp - 0x1a]
cmp edx, 0xa4
je 0x4b8a4b
movzx eax, word [ebp - 0x1a]
cmp eax, 0x12
je 0x4b8a4b
movzx ecx, word [ebp - 0x1a]
cmp ecx, 0xa5
je 0x4b8a4b
movzx edx, word [ebp - 0x1a]
cmp edx, 0x5b
je 0x4b8a4b
movzx eax, word [ebp - 0x1a]
cmp eax, 0x5c
jne 0x4b8a70
push 1
lea ecx, [ebp - 0x1a]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x2bc
call fcn.004ba3f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x2b8], eax
jmp 0x4b8ad4
movzx eax, word [ebp - 0x1a]
cmp eax, 0x2e
jne 0x4b8ab3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4b8ab1
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x4b8ab1
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x2b8], 1
call fcn.004b37d0
jmp 0x4b8ad4
mov ecx, dword [ebp - 0x40]
add ecx, 0x2bc
call fcn.004b09a0
test eax, eax
jbe 0x4b8ad4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x2b8], eax
jmp 0x4b8b9c
movzx edx, byte [ebp - 0x20]
cmp edx, 0xa
jne 0x4b8b8c
movzx eax, word [ebp - 0x1a]
cmp eax, 0x11
je 0x4b8b59
movzx ecx, word [ebp - 0x1a]
cmp ecx, 0xa2
je 0x4b8b59
movzx edx, word [ebp - 0x1a]
cmp edx, 0xa3
je 0x4b8b59
movzx eax, word [ebp - 0x1a]
cmp eax, 0xa0
je 0x4b8b59
movzx ecx, word [ebp - 0x1a]
cmp ecx, 0xa1
je 0x4b8b59
movzx edx, word [ebp - 0x1a]
cmp edx, 0x10
je 0x4b8b59
movzx eax, word [ebp - 0x1a]
cmp eax, 0xa4
je 0x4b8b59
movzx ecx, word [ebp - 0x1a]
cmp ecx, 0x12
je 0x4b8b59
movzx edx, word [ebp - 0x1a]
cmp edx, 0xa5
je 0x4b8b59
movzx eax, word [ebp - 0x1a]
cmp eax, 0x5b
je 0x4b8b59
movzx ecx, word [ebp - 0x1a]
cmp ecx, 0x5c
jne 0x4b8b8a
lea edx, [ebp - 0x1a]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x2bc
call fcn.004ba460
mov ecx, dword [ebp - 0x40]
add ecx, 0x2bc
call fcn.004b09a0
test eax, eax
jne 0x4b8b8a
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x2b8], 0
jmp 0x4b8b9c
movzx ecx, byte [ebp - 0x20]
cmp ecx, 5
je 0x4b8b9c
mov dword [ebp - 0x10], 1
movzx edx, byte [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
sub eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xe
ja case.default.0x4b8bb9
mov ecx, dword [ebp - 0x44]
jmp dword [ecx*4 + 0x4b8f88]
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8001
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8008
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8010
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8002
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8004
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8020
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8040
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8002
call fcn.004b87a0
add esp, 0x14
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8004
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8008
call fcn.004b87a0
add esp, 0x14
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8010
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8002
call fcn.004b87a0
add esp, 0x14
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8004
call fcn.004b87a0
add esp, 0x14
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8002
call fcn.004b87a0
add esp, 0x14
push 0
push 0
movsx eax, word [ebp - 0x1c]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0x10]
push eax
movsx eax, word [ebp - 0x1e]
imul eax, eax, 0xffff
cdq
idiv dword [ebp + 0xc]
push eax
push 0x8004
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
movsx edx, word [ebp - 0x1e]
push edx
push 0
push 0
push 0x800
call fcn.004b87a0
add esp, 0x14
jmp case.default.0x4b8bb9
push 0
push 0
push 0
movzx eax, word [ebp - 0x1a]
push eax
call fcn.004b8820
add esp, 0x10
jmp case.default.0x4b8bb9
push 0
push 2
push 0
movzx ecx, word [ebp - 0x1a]
push ecx
call fcn.004b8820
add esp, 0x10
jmp case.default.0x4b8bb9
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x34]
call fcn.004a8560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004ab500
push eax
call fcn.0059916a
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
jmp 0x4b8f36
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x38]
jae 0x4b8f5e
push 0
push 4
lea ecx, [ebp - 0x34]
call fcn.004ab500
mov edx, dword [ebp - 0x3c]
movzx eax, word [eax + edx*2]
push eax
push 0
call fcn.004b8820
add esp, 0x10
jmp 0x4b8f2d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004970f0
jmp 0x4b8975
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc