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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
fild dword [0x113efc00]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001bbe
mov dword [ebp + 8], eax
fild dword [0x113efc04]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x14]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.10001bbe
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x1c], 0
je 0x1003afab
push 1
push 0xf0
push dword [0x113efe48]
call fcn.1002bb90
mov dword [ebp - 4], eax
jmp 0x1003afc5
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [0x113efe44]
call fcn.1002bb90
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.10037111
test eax, eax
je 0x1003b042
push dword [ebp + 0xc]
call fcn.1003717f
test eax, eax
je 0x1003b042
fild dword [ebp + 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x1c]
fadd qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001bbe
push eax
call fcn.10037148
test eax, eax
je 0x1003b042
fild dword [ebp + 0xc]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001bbe
push eax
call fcn.100371b6
test eax, eax
je 0x1003b042
mov eax, 1
jmp 0x1003b047
mov eax, 0
test eax, eax
je 0x1003b1dc
cmp dword [ebp + 0x1c], 0
jne 0x1003b0b2
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [0x113efe4c]
call fcn.1002bb90
mov dword [ebp - 0xc], eax
push 1
push 0xf
push 1
push 0x40400000
push dword [ebp - 0xc]
fild dword [ebp + 0x14]
fstp dword [ebp - 0x10]
push dword [ebp - 0x10]
fild dword [ebp + 0x10]
fstp dword [ebp - 0x14]
push dword [ebp - 0x14]
fild dword [ebp + 0xc]
fstp dword [ebp - 0x18]
push dword [ebp - 0x18]
fild dword [ebp + 8]
fstp dword [ebp - 0x1c]
push dword [ebp - 0x1c]
call fcn.1002ea6f
jmp 0x1003b106
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [0x113efe48]
call fcn.1002bb90
mov dword [ebp - 0xc], eax
push 1
push 0xf
push 1
push 0x40400000
push dword [ebp - 0xc]
fild dword [ebp + 0x14]
fstp dword [ebp - 0x10]
push dword [ebp - 0x10]
fild dword [ebp + 0x10]
fstp dword [ebp - 0x14]
push dword [ebp - 0x14]
fild dword [ebp + 0xc]
fstp dword [ebp - 0x18]
push dword [ebp - 0x18]
fild dword [ebp + 8]
fstp dword [ebp - 0x1c]
push dword [ebp - 0x1c]
call fcn.1002ea6f
mov dword [ebp - 8], esp
push 1
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x1003b134
push 0x36b
push 0x4011232
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1003b1d7
cmp dword [0x113efe90], 0
jne 0x1003b16f
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x113efe90], eax
mov eax, 1
jmp 0x1003b282
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fild dword [0x113efe90]
fstp qword [ebp - 0x18]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x100844cf]
fcomp qword [0x10083b4e]
fnstsw ax
test ah, 0x41
jne 0x1003b1d7
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x113efe90], eax
mov eax, 1
jmp 0x1003b282
jmp 0x1003b216
push 1
push 0xf
push 1
push 0x40400000
push dword [ebp - 4]
fild dword [ebp + 0x14]
fstp dword [ebp - 8]
push dword [ebp - 8]
fild dword [ebp + 0x10]
fstp dword [ebp - 0xc]
push dword [ebp - 0xc]
fild dword [ebp + 0xc]
fstp dword [ebp - 0x10]
push dword [ebp - 0x10]
fild dword [ebp + 8]
fstp dword [ebp - 0x14]
push dword [ebp - 0x14]
call fcn.1002ea6f
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x100844c7]
fstp qword [ebp - 0x14]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x100838e0]
fstp qword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [0x113efe3c]
call fcn.1002bb90
mov dword [ebp - 0x2c], eax
push 1
push 0x41800000
push dword [ebp - 0x2c]
push dword [ebp + 0x18]
fld qword [ebp - 0x24]
fstp dword [ebp - 0x30]
push dword [ebp - 0x30]
fld qword [ebp - 0x14]
fstp dword [ebp - 0x34]
push dword [ebp - 0x34]
call fcn.1002bec8
mov eax, 0
jmp 0x1003b282
mov esp, ebp
pop ebp
ret 0x1c