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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x101ac06c]
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 0x100105fc
comiss xmm1, xmm0
jb 0x100105fc
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 0x100105fc
comiss xmm2, xmm1
jb 0x100105fc
mov bh, 1
jmp 0x10010603
movss xmm3, dword [eax + 0xc]
xor bh, bh
movsd xmm5, qword [0x1019ded8]
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 [0x1019e000]
cvtpd2ps xmm2, xmm0
cvtps2pd xmm0, xmm3
movss dword [0x105b1efc], xmm2
mulsd xmm0, xmm5
divsd xmm0, qword [0x1019e000]
cvtpd2ps xmm3, xmm0
cvtps2pd xmm0, xmm4
addss xmm4, xmm4
movss dword [0x105b1f00], xmm3
divsd xmm1, xmm0
cvtps2pd xmm0, xmm2
addss xmm4, xmm6
divsd xmm1, xmm0
movss dword [0x105b1f0c], xmm4
cvtpd2ps xmm0, xmm1
movss dword [0x105b1f04], xmm0
movss xmm0, dword [0xe7c3d8]
cvtps2pd xmm0, xmm0
divsd xmm5, xmm0
cvtps2pd xmm0, xmm3
divsd xmm5, xmm0
cvtpd2ps xmm0, xmm5
movss dword [0x105b1f08], xmm0
call fcn.10143030
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 0x100108e6
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10010823
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
movsx ecx, word [edi + 6]
add ecx, dword [edi + 8]
cmp ecx, eax
ja 0x10010712
mov al, byte [edi + 4]
cmp al, 0x40
jae 0x10010712
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 0x100107b5
cmp al, 0x40
je 0x100107b5
movss xmm3, dword [0x1019e5c8]
movss xmm2, dword [0x105b1f04]
movaps xmm4, xmm3
movss xmm1, dword [0x1019ebb4]
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 [0x105b1f08]
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 0x1001099f
movss xmm3, dword [0x1019e5c8]
movss xmm2, dword [0x105b1f04]
movaps xmm4, xmm3
movss xmm1, dword [0x1019ebb4]
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 [0x105b1f08]
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 0x1001078e
mov cl, byte [edi + 4]
cmp cl, 0x40
jne 0x10010835
mov bl, 1
mov byte [edi + 4], 1
mov cl, bl
jmp 0x10010842
cmp cl, 0x41
jne 0x10010842
mov byte [edi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x1019e5c8]
movss xmm2, dword [0x105b1f04]
movaps xmm4, xmm3
movss xmm1, dword [0x1019ebb4]
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 [0x105b1f08]
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 0x100108dc
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 0x100109a4
mov dword [esp + 0x10], 0x3f554000
jmp 0x100108c0
mov cl, byte [edi + 4]
cmp cl, 0x40
jne 0x100108f8
mov bl, 1
mov byte [edi + 4], 1
mov cl, bl
jmp 0x10010905
cmp cl, 0x41
jne 0x10010905
mov byte [edi + 4], 0
mov bl, 1
xor cl, cl
movss xmm3, dword [0x1019e5c8]
movss xmm2, dword [0x105b1f04]
movaps xmm4, xmm3
movss xmm1, dword [0x1019ebb4]
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 [0x105b1f08]
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 0x10010980
mov dword [esp + 0x10], 0x3f6bc000
jmp 0x10010988
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 [0x105b1f0c]
push ecx
push dword [0x103695e8]
push 0x103695e8
call fcn.10046460
mov ecx, dword [ebp - 8]
add esp, 0x28
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100f4653
mov esp, ebp
pop ebp
ret