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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10194820]
xor eax, ebp
mov dword [ebp - 4], eax
push 7
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx eax, al
test eax, eax
jne 0x10127d75
push 8
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx ecx, al
test ecx, ecx
jne 0x10127d75
push 0xc
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx edx, al
test edx, edx
jne 0x10127d75
push 0xe
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx eax, al
test eax, eax
jne 0x10127d75
push 0xf
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx ecx, al
test ecx, ecx
jne 0x10127d75
push 0x41
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx edx, al
test edx, edx
jne 0x10127d75
push 0x4e
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx eax, al
test eax, eax
je 0x10127d7a
jmp 0x10127f2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1052fb8c]
add ecx, 0xbb8
cmp eax, ecx
ja 0x10127d95
jmp 0x10127f2d
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x10127f2d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x10127f2d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
movsx eax, word [edx]
test eax, eax
jge 0x10127dd5
jmp 0x10127f2d
mov byte [ebp - 0x60], 0
push 0x5b
push 0
lea ecx, [ebp - 0x5f]
push ecx
call fcn.1005d7e0
add esp, 0xc
push 0x5c
push 0x78
lea ecx, [ebp - 0x60]
call fcn.10039b10
push 0x4d
mov ecx, 0x1019bdc8
call fcn.101146d0
movzx edx, al
test edx, edx
je 0x10127e8f
mov eax, dword [0x10195b98]
sub eax, 0x17c
cmp dword [0x879340c], eax
jbe 0x10127e79
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 [0x10195b98]
sub eax, 0x17c
cmp dword [0x879340c], eax
jbe 0x10127e77
mov ecx, dword [0x10195b98]
sub ecx, 0xbe
cmp dword [0x879340c], ecx
jae 0x10127e77
mov edx, dword [ebp - 0x5c]
add edx, 0x40
mov dword [ebp - 0x5c], edx
cmp dword [0x8793410], 0x82
jle 0x10127e77
mov eax, dword [ebp - 0x5c]
add eax, 0x20
mov dword [ebp - 0x5c], eax
jmp 0x10127e8d
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 0x10127ecc
mov eax, dword [0x10195b98]
sub eax, 0xb4
cmp dword [0x879340c], eax
jbe 0x10127eb8
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 0x10127ecc
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.10042670
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.10057124
add esp, 0x10
lea ecx, [ebp - 0x12]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov ecx, 0x1052fb60
call fcn.10127590
movzx eax, byte [ebp - 0x5f]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.1012dfa0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1052fb8c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055090
mov esp, ebp
pop ebp
ret