Function at 0x581290
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0x70
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [esi + 0x21964], 1
je 0x5814a2
cmp byte [0x8868d8], 0
je 0x581350
movd xmm2, dword [0x8787b8]
movss xmm1, dword [0x6c5300]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x581350
movss xmm3, dword [0x6c5308]
movaps xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm2
jb 0x581350
movd xmm4, dword [0x8787b4]
movss xmm2, dword [0x6c5304]
cvtdq2ps xmm4, xmm4
comiss xmm4, xmm2
jb 0x581350
movss xmm5, dword [0x6c530c]
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm0, xmm4
jb 0x581350
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [0x8787d8]
movss dword [esp], xmm5
call fcn.00584220
cmp dword [0x8787b0], 0
je 0x581350
lea ecx, [esi + 0x21968]
mov edx, 0x8868d8
call fcn.00582f70
mov ecx, esi
call fcn.00587980
push str.You_can_paste__Control_V__your_serial
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xff8a4a4a
push eax
sub esp, 8
mov dword [esp + 4], 0x43a30000
mov dword [esp], 0x439e8000
push dword [0x8787bc]
call fcn.0059ff20
mov eax, dword [0x8787b8]
add esp, 0x14
movss xmm1, dword [0x6c52f0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x581400
movss xmm3, dword [0x6c52f8]
movaps xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm2
jb 0x581400
movd xmm4, dword [0x8787b4]
movss xmm2, dword [0x6c52f4]
cvtdq2ps xmm4, xmm4
comiss xmm4, xmm2
jb 0x581400
movss xmm5, dword [0x6c52fc]
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm0, xmm4
jb 0x581400
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [0x8787d4]
movss dword [esp], xmm5
call fcn.00584220
mov eax, dword [0x8787b8]
jmp 0x581400
cmp dword [0x8787b0], 0
movss xmm1, dword [0x6c5314]
movss xmm2, dword [0x6c5310]
je 0x581474
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
jb 0x581474
movss xmm0, dword [0x6c5318]
addss xmm0, xmm2
comiss xmm0, xmm3
jb 0x581474
movd xmm3, dword [0x8787b4]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x581474
movss xmm0, dword [0x6c531c]
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x581474
xor eax, eax
mov dword [0x8868d4], eax
mov dword [0x6c65b4], 0x878e48
mov dword [0x6c65b0], 0x878e48
jmp 0x581479
mov eax, dword [0x8868d4]
test eax, eax
mov ecx, 0x8868d8
push 0x30
push 0
sete dl
movaps xmm0, xmm2
call fcn.00580330
push 0x886ad8
call fcn.005d9a9a
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x68c5d4]
mov esi, 0x6c5314
movss xmm2, dword [0x68c5d0]
mov edi, 0x8868d8
lea esp, [esp]
movss xmm0, dword [esi + 8]
lea eax, [ebp - 0xc]
push 0
addss xmm0, xmm1
mov dword [ebp - 0xc], 0x64000000
push 0
push eax
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [esi]
subss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [esi - 4]
subss xmm0, xmm2
movss dword [esp], xmm0
call fcn.005a43d0
movss xmm1, dword [esi]
add esp, 0x1c
movss xmm0, dword [esi - 4]
xor dl, dl
mov ecx, edi
push 0x20
push 0
call fcn.00580330
movss xmm1, dword [0x68c5d4]
add edi, 0x200
movss xmm2, dword [0x68c5d0]
add esp, 8
add esi, 0x10
cmp edi, 0x886cd8
jl 0x5814c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret