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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x10273334]
test eax, eax
jne 0x10160200
jmp 0x10160467
push 7
mov ecx, 0x101e1258
call fcn.1014ce10
movzx ecx, al
test ecx, ecx
jne 0x10160285
push 8
mov ecx, 0x101e1258
call fcn.1014ce10
movzx edx, al
test edx, edx
jne 0x10160285
push 0xc
mov ecx, 0x101e1258
call fcn.1014ce10
movzx eax, al
test eax, eax
jne 0x10160285
push 0xe
mov ecx, 0x101e1258
call fcn.1014ce10
movzx ecx, al
test ecx, ecx
jne 0x10160285
push 0xf
mov ecx, 0x101e1258
call fcn.1014ce10
movzx edx, al
test edx, edx
jne 0x10160285
push 0x41
mov ecx, 0x101e1258
call fcn.1014ce10
movzx eax, al
test eax, eax
jne 0x10160285
push 0x4e
mov ecx, 0x101e1258
call fcn.1014ce10
movzx ecx, al
test ecx, ecx
je 0x1016028a
jmp 0x10160467
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10272e4c]
cmp eax, 0x5dc
jae 0x101602a2
jmp 0x10160467
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x10160467
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x10160467
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
movsx eax, word [edx]
test eax, eax
jge 0x101602e2
jmp 0x10160467
mov byte [ebp - 0x60], 0
push 0x5b
push 0
lea ecx, [ebp - 0x5f]
push ecx
call fcn.10075b70
add esp, 0xc
push 0x5c
push 0x78
lea ecx, [ebp - 0x60]
call fcn.10052260
push 0x4d
mov ecx, 0x101e1258
call fcn.1014ce10
movzx edx, al
test edx, edx
je 0x1016039c
mov eax, dword [0x101dcd10]
sub eax, 0x17c
cmp dword [0x879340c], eax
jbe 0x10160386
mov ecx, dword [ebp - 0x64]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0x64]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0xc]
mov dword [ebp - 0x5c], edx
mov eax, dword [0x101dcd10]
sub eax, 0x17c
cmp dword [0x879340c], eax
jbe 0x10160384
mov ecx, dword [0x101dcd10]
sub ecx, 0xbe
cmp dword [0x879340c], ecx
jae 0x10160384
mov edx, dword [ebp - 0x5c]
add edx, 0x40
mov dword [ebp - 0x5c], edx
cmp dword [0x8793410], 0x82
jle 0x10160384
mov eax, dword [ebp - 0x5c]
add eax, 0x20
mov dword [ebp - 0x5c], eax
jmp 0x1016039a
mov ecx, dword [ebp - 0x64]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0x64]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8]
mov dword [ebp - 0x5c], edx
jmp 0x101603df
mov eax, dword [0x101dcd10]
sub eax, 0xb4
cmp dword [0x879340c], eax
jbe 0x101603c5
mov ecx, dword [ebp - 0x64]
movsx edx, byte [ecx + 0x43]
mov eax, dword [ebp - 0x64]
movsx ecx, byte [eax + 0x44]
lea edx, [edx + ecx*8 + 0xc]
mov dword [ebp - 0x68], edx
jmp 0x101603d9
mov eax, dword [ebp - 0x64]
movsx ecx, byte [eax + 0x43]
mov edx, dword [ebp - 0x64]
movsx eax, byte [edx + 0x44]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x5c], edx
mov ecx, 0x10204880
call fcn.10017a30
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], 0x101e3d68
push 0xffffffffffffffff
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x64
add eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4d]
push ecx
call fcn.1005b5a0
add esp, 0xc
mov edx, 1
imul edx, edx, 0x3c
mov byte [ebp + edx - 0x4d], 0
push 0xffffffffffffffff
mov eax, dword [0x101e3604]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.10001f00
add esp, 0xc
mov edx, 1
imul edx, edx, 0xa
mov byte [ebp + edx - 0x58], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, 0x10272e28
call fcn.1015fd80
movzx edx, byte [ebp - 0x5f]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.10168e10
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10272e4c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d500
mov esp, ebp
pop ebp
ret