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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10195820]
xor eax, ebp
mov dword [ebp - 4], eax
push 7
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx eax, al
test eax, eax
jne 0x10128e15
push 8
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx ecx, al
test ecx, ecx
jne 0x10128e15
push 0xc
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx edx, al
test edx, edx
jne 0x10128e15
push 0xe
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx eax, al
test eax, eax
jne 0x10128e15
push 0xf
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx ecx, al
test ecx, ecx
jne 0x10128e15
push 0x41
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx edx, al
test edx, edx
jne 0x10128e15
push 0x4e
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx eax, al
test eax, eax
je 0x10128e1a
jmp 0x10128fcd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1052d434]
add ecx, 0xbb8
cmp eax, ecx
ja 0x10128e35
jmp 0x10128fcd
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x10128fcd
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x10128fcd
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
movsx eax, word [edx]
test eax, eax
jge 0x10128e75
jmp 0x10128fcd
mov byte [ebp - 0x60], 0
push 0x5b
push 0
lea ecx, [ebp - 0x5f]
push ecx
call fcn.1005e990
add esp, 0xc
push 0x5c
push 0x78
lea ecx, [ebp - 0x60]
call fcn.1003a640
push 0x4d
mov ecx, 0x1019b6a0
call fcn.10115c10
movzx edx, al
test edx, edx
je 0x10128f2f
mov eax, dword [0x10196b98]
sub eax, 0x17c
cmp dword [0x879340c], eax
jbe 0x10128f19
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 [0x10196b98]
sub eax, 0x17c
cmp dword [0x879340c], eax
jbe 0x10128f17
mov ecx, dword [0x10196b98]
sub ecx, 0xbe
cmp dword [0x879340c], ecx
jae 0x10128f17
mov edx, dword [ebp - 0x5c]
add edx, 0x40
mov dword [ebp - 0x5c], edx
cmp dword [0x8793410], 0x82
jle 0x10128f17
mov eax, dword [ebp - 0x5c]
add eax, 0x20
mov dword [ebp - 0x5c], eax
jmp 0x10128f2d
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 0x10128f6c
mov eax, dword [0x10196b98]
sub eax, 0xb4
cmp dword [0x879340c], eax
jbe 0x10128f58
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
jmp 0x10128f6c
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 - 0x5c], ecx
mov edx, dword [0x7e452a]
push edx
lea eax, [ebp - 0x4e]
push eax
call fcn.100439b0
add esp, 8
push 0xa
mov ecx, dword [0x8128ac4]
push ecx
push 0xa
mov edx, 1
imul edx, edx, 0
lea eax, [ebp + edx - 0x58]
push eax
call fcn.100582d4
add esp, 0x10
lea ecx, [ebp - 0x12]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov ecx, 0x1052d408
call fcn.10128630
movzx eax, byte [ebp - 0x5f]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.1012f0c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1052d434], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056240
mov esp, ebp
pop ebp
ret