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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x1014300c]
xor eax, ebp
mov dword [ebp - 8], eax
movd xmm1, dword [0x879340c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor bl, bl
cvtdq2ps xmm1, xmm1
push edi
mov eax, dword [esi]
movss xmm4, dword [eax + 8]
movss xmm0, dword [eax]
movaps xmm6, xmm4
addss xmm6, xmm0
comiss xmm6, xmm1
jb 0x1001107c
comiss xmm1, xmm0
jb 0x1001107c
movss xmm3, dword [eax + 0xc]
movd xmm2, dword [0x8793410]
movaps xmm0, xmm3
movss xmm1, dword [eax + 4]
cvtdq2ps xmm2, xmm2
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x1001107c
comiss xmm2, xmm1
jb 0x1001107c
mov bh, 1
jmp 0x10011083
movss xmm3, dword [eax + 0xc]
xor bh, bh
movsd xmm5, qword [0x10139648]
lea eax, [ebp - 0x80c]
cvtps2pd xmm0, xmm4
push 0x7ff
push 0
push eax
movss xmm4, dword [0xe7c3d4]
movaps xmm1, xmm5
mulsd xmm0, xmm5
divsd xmm0, qword [0x10139770]
cvtpd2ps xmm2, xmm0
cvtps2pd xmm0, xmm3
movss dword [0x10546e34], xmm2
mulsd xmm0, xmm5
divsd xmm0, qword [0x10139770]
cvtpd2ps xmm3, xmm0
cvtps2pd xmm0, xmm4
addss xmm4, xmm4
movss dword [0x10546e38], xmm3
divsd xmm1, xmm0
cvtps2pd xmm0, xmm2
addss xmm4, xmm6
divsd xmm1, xmm0
movss dword [0x10546e44], xmm4
cvtpd2ps xmm0, xmm1
movss dword [0x10546e3c], xmm0
movss xmm0, dword [0xe7c3d8]
cvtps2pd xmm0, xmm0
divsd xmm5, xmm0
cvtps2pd xmm0, xmm3
divsd xmm5, xmm0
cvtpd2ps xmm0, xmm5
movss dword [0x10546e40], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x80c]
push 0x7ff
push eax
call sym.Main.dll__vsprintf_s_l
add esp, 0x14
test bh, bh
je 0x10011366
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100112a3
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
movsx ecx, word [esi + 6]
add ecx, dword [esi + 8]
cmp ecx, eax
ja 0x10011192
mov al, byte [esi + 4]
cmp al, 0x40
jae 0x10011192
test al, al
setne al
add al, 0x40
mov byte [esi + 4], al
call edi
mov dword [esi + 8], eax
mov al, byte [esi + 4]
cmp al, 1
je 0x10011235
cmp al, 0x40
je 0x10011235
movss xmm3, dword [0x10139d40]
movss xmm2, dword [0x10546e3c]
movaps xmm4, xmm3
movss xmm1, dword [0x1013a320]
divss xmm4, xmm2
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movaps xmm0, xmm1
divss xmm0, xmm4
divss xmm2, xmm0
movss xmm0, dword [0x10546e40]
divss xmm3, xmm0
divss xmm1, xmm3
divss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0x3df60000
mov dword [esp + 0x10], 0x3f7c8000
mov eax, dword [esi]
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
movss xmm5, dword [eax + 4]
movss xmm6, dword [eax]
movss dword [esp + 4], xmm5
movss dword [esp], xmm6
jmp 0x1001141f
movss xmm3, dword [0x10139d40]
movss xmm2, dword [0x10546e3c]
movaps xmm4, xmm3
movss xmm1, dword [0x1013a320]
divss xmm4, xmm2
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movaps xmm0, xmm1
divss xmm0, xmm4
divss xmm2, xmm0
movss xmm0, dword [0x10546e40]
divss xmm3, xmm0
divss xmm1, xmm3
divss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0x3e320000
mov dword [esp + 0x10], 0x3f5a8000
jmp 0x1001120e
mov cl, byte [esi + 4]
cmp cl, 0x40
jne 0x100112b5
mov bl, 1
mov byte [esi + 4], 1
mov cl, bl
jmp 0x100112c2
cmp cl, 0x41
jne 0x100112c2
mov byte [esi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x10139d40]
movss xmm2, dword [0x10546e3c]
movaps xmm4, xmm3
movss xmm1, dword [0x1013a320]
divss xmm4, xmm2
mov eax, dword [esi]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movaps xmm0, xmm1
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
mov eax, 0x637c60
divss xmm0, xmm4
divss xmm2, xmm0
movss xmm0, dword [0x10546e40]
divss xmm3, xmm0
divss xmm1, xmm3
divss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0x3e220000
cmp cl, 1
jne 0x1001135c
mov dword [esp + 0x10], 0x3f644000
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm6
movss dword [esp], xmm5
jmp 0x10011424
mov dword [esp + 0x10], 0x3f554000
jmp 0x10011340
mov cl, byte [esi + 4]
cmp cl, 0x40
jne 0x10011378
mov bl, 1
mov byte [esi + 4], 1
mov cl, bl
jmp 0x10011385
cmp cl, 0x41
jne 0x10011385
mov byte [esi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x10139d40]
movss xmm2, dword [0x10546e3c]
movaps xmm4, xmm3
movss xmm1, dword [0x1013a320]
divss xmm4, xmm2
mov eax, dword [esi]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movaps xmm0, xmm1
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
divss xmm0, xmm4
divss xmm2, xmm0
movss xmm0, dword [0x10546e40]
divss xmm3, xmm0
divss xmm1, xmm3
divss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0x3e220000
cmp cl, 1
jne 0x10011400
mov dword [esp + 0x10], 0x3f6bc000
jmp 0x10011408
mov dword [esp + 0x10], 0x3f590000
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm6
movss dword [esp], xmm5
mov eax, 0x637c60
push 0xf1008
call eax
add esp, 0x30
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.10011db0
mov ecx, dword [esi]
lea eax, [ebp - 0x80c]
push eax
push 0
push 0
cvttss2si ecx, dword [ecx + 4]
push 0
push 0
push 0xffffffffffffffff
push ecx
cvttss2si ecx, dword [0x10546e44]
push ecx
push dword [0x102fe640]
push 0x102fe640
call fcn.10042ee0
mov ecx, dword [ebp - 8]
add esp, 0x28
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100db7c0
mov esp, ebp
pop ebp
ret