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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x101a506c]
xor eax, ebp
mov dword [ebp - 8], eax
movd xmm1, dword [0x879340c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor bl, bl
cvtdq2ps xmm1, xmm1
mov eax, dword [edi]
movss xmm4, dword [eax + 8]
movss xmm0, dword [eax]
movaps xmm6, xmm4
addss xmm6, xmm0
comiss xmm6, xmm1
jb 0x1001056c
comiss xmm1, xmm0
jb 0x1001056c
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 0x1001056c
comiss xmm2, xmm1
jb 0x1001056c
mov bh, 1
jmp 0x10010573
movss xmm3, dword [eax + 0xc]
xor bh, bh
movsd xmm5, qword [0x10197b10]
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 [0x10197c20]
cvtpd2ps xmm2, xmm0
cvtps2pd xmm0, xmm3
movss dword [0x105aacb4], xmm2
mulsd xmm0, xmm5
divsd xmm0, qword [0x10197c20]
cvtpd2ps xmm3, xmm0
cvtps2pd xmm0, xmm4
addss xmm4, xmm4
movss dword [0x105aacb8], xmm3
divsd xmm1, xmm0
cvtps2pd xmm0, xmm2
addss xmm4, xmm6
divsd xmm1, xmm0
movss dword [0x105aacc4], xmm4
cvtpd2ps xmm0, xmm1
movss dword [0x105aacbc], xmm0
movss xmm0, dword [0xe7c3d8]
cvtps2pd xmm0, xmm0
divsd xmm5, xmm0
cvtps2pd xmm0, xmm3
divsd xmm5, xmm0
cvtpd2ps xmm0, xmm5
movss dword [0x105aacc0], xmm0
call fcn.1013cb70
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 0x10010856
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10010793
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
movsx ecx, word [edi + 6]
add ecx, dword [edi + 8]
cmp ecx, eax
ja 0x10010682
mov al, byte [edi + 4]
cmp al, 0x40
jae 0x10010682
test al, al
setne al
add al, 0x40
mov byte [edi + 4], al
call esi
mov dword [edi + 8], eax
mov al, byte [edi + 4]
cmp al, 1
je 0x10010725
cmp al, 0x40
je 0x10010725
movss xmm3, dword [0x101981c8]
movss xmm2, dword [0x105aacbc]
movaps xmm4, xmm3
movss xmm1, dword [0x101987b4]
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 [0x105aacc0]
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 [edi]
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 0x1001090f
movss xmm3, dword [0x101981c8]
movss xmm2, dword [0x105aacbc]
movaps xmm4, xmm3
movss xmm1, dword [0x101987b4]
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 [0x105aacc0]
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 0x100106fe
mov cl, byte [edi + 4]
cmp cl, 0x40
jne 0x100107a5
mov bl, 1
mov byte [edi + 4], 1
mov cl, bl
jmp 0x100107b2
cmp cl, 0x41
jne 0x100107b2
mov byte [edi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x101981c8]
movss xmm2, dword [0x105aacbc]
movaps xmm4, xmm3
movss xmm1, dword [0x101987b4]
divss xmm4, xmm2
mov eax, dword [edi]
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 [0x105aacc0]
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 0x1001084c
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 0x10010914
mov dword [esp + 0x10], 0x3f554000
jmp 0x10010830
mov cl, byte [edi + 4]
cmp cl, 0x40
jne 0x10010868
mov bl, 1
mov byte [edi + 4], 1
mov cl, bl
jmp 0x10010875
cmp cl, 0x41
jne 0x10010875
mov byte [edi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x101981c8]
movss xmm2, dword [0x105aacbc]
movaps xmm4, xmm3
movss xmm1, dword [0x101987b4]
divss xmm4, xmm2
mov eax, dword [edi]
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 [0x105aacc0]
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 0x100108f0
mov dword [esp + 0x10], 0x3f6bc000
jmp 0x100108f8
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
mov eax, 0x401c10
call eax
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, 0x41fe10
call eax
mov edx, 0x41ff80
mov ecx, eax
call edx
lea ecx, [ebp - 0x814]
push ecx
push esi
lea ecx, [ebp - 0x80c]
push ecx
push eax
mov eax, 0x9593b0
call eax
push 0x39
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
mov ecx, dword [edi]
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 [0x105aacc4]
push ecx
push dword [0x103623e8]
push 0x103623e8
call fcn.10045820
mov ecx, dword [ebp - 8]
add esp, 0x28
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100ee3f1
mov esp, ebp
pop ebp
ret