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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x10019040]
xor eax, esp
mov dword [esp + 0x24], eax
cmp dword [0x1001a2ac], 0
push esi
push edi
je 0x1000a2a7
mov ecx, dword [0x1001a0c0]
sub ecx, dword [0x1001b66c]
add ecx, dword [0x1001b768]
mov eax, dword [0x1001b7c4]
mov ecx, dword [ecx + eax]
call fcn.10004b30
test eax, eax
jle 0x1000a2a7
mov eax, dword [0x1001b8bc]
cmp dword [eax], 1
jne 0x1000a2a7
mov eax, dword [0x1001a33c]
cmp dword [eax], 0
je 0x1000a2a7
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x20], 8
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x11c
call fcn.1000c610
mov edx, dword [esp + 0xc]
xor eax, eax
mov ecx, dword [esp + 8]
sub edx, ecx
mov esi, dword [0x1001b8c0]
sar edx, 2
test edx, edx
je 0x1000a0ee
nop dword [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x1000a0e9
add esi, dword [ecx + eax*4]
inc eax
cmp eax, edx
jb 0x1000a0e0
test ecx, ecx
je 0x1000a13d
mov edx, dword [esp + 0x10]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x1000a11b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a11b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000e288
add esp, 8
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov cl, byte [0x1001a1b9]
mov al, byte [0x1001a1ba]
test cl, cl
je 0x1000a165
test al, al
jne 0x1000a165
movss xmm0, dword [esi]
mov byte [0x1001a1ba], 1
movss dword [0x1001a098], xmm0
jmp 0x1000a169
cmp al, 1
jne 0x1000a170
mov byte [0x1001a1be], 1
test cl, cl
jne 0x1000a180
mov byte [0x1001a1ba], cl
mov byte [0x1001a1be], cl
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x20
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x1000a1e8
cmp byte [0x1001c1c8], 0
je 0x1000a1b9
cmp dword [0x1001c1cc], 0
je 0x1000a1ef
call esi
mov ecx, dword [0x1001c1cc]
add ecx, 0xa
cmp ecx, eax
ja 0x1000a1ef
mov byte [0x1001c1c8], 1
call esi
movss xmm0, dword [0x1001a098]
cvtps2pd xmm0, xmm0
mov dword [0x1001c1cc], eax
addsd xmm0, qword [0x10016a68]
cvtpd2ps xmm0, xmm0
movss dword [0x1001a098], xmm0
jmp 0x1000a1ef
mov byte [0x1001c1c8], 0
push 0xa2
call edi
cwde
shr eax, 0x10
test eax, eax
je 0x1000a24e
cmp byte [0x1001c5d8], 0
je 0x1000a21f
cmp dword [0x1001c5dc], 0
je 0x1000a255
call esi
mov ecx, dword [0x1001c5dc]
add ecx, 0xa
cmp ecx, eax
ja 0x1000a255
mov byte [0x1001c5d8], 1
call esi
movss xmm0, dword [0x1001a098]
cvtps2pd xmm0, xmm0
mov dword [0x1001c5dc], eax
subsd xmm0, qword [0x10016a68]
cvtpd2ps xmm0, xmm0
movss dword [0x1001a098], xmm0
jmp 0x1000a255
mov byte [0x1001c5d8], 0
push 0x45
call edi
cwde
shr eax, 0x10
test eax, eax
je 0x1000a2a0
cmp byte [0x1001c2f0], 0
je 0x1000a282
cmp dword [0x1001c2f4], 0
je 0x1000a2a7
call esi
mov ecx, dword [0x1001c2f4]
add ecx, 0x64
cmp ecx, eax
ja 0x1000a2a7
mov byte [0x1001c2f0], 1
call esi
cmp byte [0x1001a1b9], 0
mov dword [0x1001c2f4], eax
sete byte [0x1001a1b9]
jmp 0x1000a2a7
mov byte [0x1001c2f0], 0
mov eax, dword [0x1001b8bc]
mov eax, dword [eax]
cmp eax, 5
je 0x1000a2dc
cmp eax, 4
je 0x1000a2dc
mov ecx, dword [0x1001a0c0]
sub ecx, dword [0x1001b66c]
add ecx, dword [0x1001b768]
mov eax, dword [0x1001b7c4]
mov ecx, dword [ecx + eax]
call fcn.10004b30
cmp eax, 1
jge 0x1000a2e3
mov byte [0x1001a1b9], 0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.1000df38
mov esp, ebp
pop ebp
ret