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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x1014200c]
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 0x1000fdbc
comiss xmm1, xmm0
jb 0x1000fdbc
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 0x1000fdbc
comiss xmm2, xmm1
jb 0x1000fdbc
mov bh, 1
jmp 0x1000fdc3
movss xmm3, dword [eax + 0xc]
xor bh, bh
movsd xmm5, qword [0x10138638]
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 [0x10138760]
cvtpd2ps xmm2, xmm0
cvtps2pd xmm0, xmm3
movss dword [0x10545e24], xmm2
mulsd xmm0, xmm5
divsd xmm0, qword [0x10138760]
cvtpd2ps xmm3, xmm0
cvtps2pd xmm0, xmm4
addss xmm4, xmm4
movss dword [0x10545e28], xmm3
divsd xmm1, xmm0
cvtps2pd xmm0, xmm2
addss xmm4, xmm6
divsd xmm1, xmm0
movss dword [0x10545e34], xmm4
cvtpd2ps xmm0, xmm1
movss dword [0x10545e2c], xmm0
movss xmm0, dword [0xe7c3d8]
cvtps2pd xmm0, xmm0
divsd xmm5, xmm0
cvtps2pd xmm0, xmm3
divsd xmm5, xmm0
cvtpd2ps xmm0, xmm5
movss dword [0x10545e30], 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 0x100100a6
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1000ffe3
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
movsx ecx, word [esi + 6]
add ecx, dword [esi + 8]
cmp ecx, eax
ja 0x1000fed2
mov al, byte [esi + 4]
cmp al, 0x40
jae 0x1000fed2
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 0x1000ff75
cmp al, 0x40
je 0x1000ff75
movss xmm3, dword [0x10138d28]
movss xmm2, dword [0x10545e2c]
movaps xmm4, xmm3
movss xmm1, dword [0x10139308]
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 [0x10545e30]
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 0x1001015f
movss xmm3, dword [0x10138d28]
movss xmm2, dword [0x10545e2c]
movaps xmm4, xmm3
movss xmm1, dword [0x10139308]
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 [0x10545e30]
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 0x1000ff4e
mov cl, byte [esi + 4]
cmp cl, 0x40
jne 0x1000fff5
mov bl, 1
mov byte [esi + 4], 1
mov cl, bl
jmp 0x10010002
cmp cl, 0x41
jne 0x10010002
mov byte [esi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x10138d28]
movss xmm2, dword [0x10545e2c]
movaps xmm4, xmm3
movss xmm1, dword [0x10139308]
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 [0x10545e30]
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 0x1001009c
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 0x10010164
mov dword [esp + 0x10], 0x3f554000
jmp 0x10010080
mov cl, byte [esi + 4]
cmp cl, 0x40
jne 0x100100b8
mov bl, 1
mov byte [esi + 4], 1
mov cl, bl
jmp 0x100100c5
cmp cl, 0x41
jne 0x100100c5
mov byte [esi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x10138d28]
movss xmm2, dword [0x10545e2c]
movaps xmm4, xmm3
movss xmm1, dword [0x10139308]
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 [0x10545e30]
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 0x10010140
mov dword [esp + 0x10], 0x3f6bc000
jmp 0x10010148
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.10010af0
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 [0x10545e34]
push ecx
push dword [0x102fd630]
push 0x102fd630
call fcn.10041ab0
mov ecx, dword [ebp - 8]
add esp, 0x28
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100d9dfe
mov esp, ebp
pop ebp
ret