Function at 0x47fe20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
cmp byte [0x602c8c], 0
push esi
push edi
mov edi, ecx
jne 0x4800b7
mov eax, dword [edi]
xorps xmm0, xmm0
mov byte [0x602c8c], 1
mov dword [esp + 0x54], 0
movlpd qword [esp + 0x60], xmm0
mov esi, dword [eax + 0x14]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x40], 0xfa
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x48], 0x95
push eax
push edi
mov ecx, esi
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0x1c
mov dword [esp + 0x60], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x5dd060
mov dword [esp + 0x2c], 0x3e8
mov dword [esp + 0x18], 0
call dword [0x4865b4]
call esi
test eax, eax
js 0x47ff30
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
mov esi, dword [edi]
push 0x602df4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x10]
mov esi, dword [esi + 0x1c]
mov ecx, esi
push edi
mov dword [esp + 0x3c], 0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x38], 4
mov dword [esp + 0x40], 1
call dword [0x4865b4]
call esi
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4865b4]
call esi
mov ecx, dword [0x602de0]
mov esi, 1
mov edi, dword [0x602ddc]
mov edx, ecx
sub edx, edi
sar edx, 3
cmp edx, esi
jbe 0x47ff56
lea eax, [edi + 8]
mov dword [0x602de0], eax
jmp 0x47ff9b
jae 0x47ff9b
mov eax, dword [0x602de4]
sub eax, edi
sar eax, 3
cmp eax, 1
jae 0x47ff76
push ecx
push 1
mov ecx, 0x602ddc
call fcn.0041d080
jmp 0x47ff9b
mov eax, esi
sub eax, edx
je 0x47ff95
nop dword [eax]
mov dword [ecx], 0
mov dword [ecx + 4], 0
add ecx, 8
sub eax, 1
jne 0x47ff80
mov dword [0x602de0], ecx
mov ecx, dword [0x602dec]
mov edx, ecx
mov edi, dword [0x602de8]
sub edx, edi
sar edx, 3
cmp edx, 1
jbe 0x47ffbd
lea eax, [edi + 8]
mov dword [0x602dec], eax
jmp 0x48000b
jae 0x48000b
mov eax, dword [0x602df0]
sub eax, edi
sar eax, 3
cmp eax, 1
jae 0x47ffdd
push ecx
push 1
mov ecx, 0x602de8
call fcn.0041d080
jmp 0x48000b
sub esi, edx
je 0x480005
nop dword [eax]
nop word [eax + eax]
mov dword [ecx], 0
mov dword [ecx + 4], 0
add ecx, 8
sub esi, 1
jne 0x47fff0
mov dword [0x602dec], ecx
mov esi, dword [0x602c68]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si ecx, dword [esi + 0x14]
cdq
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cvttss2si ecx, dword [esi + 0x10]
cdq
idiv ecx
mov eax, dword [0x602ddc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [eax + 4], xmm0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
test al, 1
jne 0x480069
movss xmm0, dword [0x4ad078]
jmp 0x480071
movss xmm0, dword [0x4ad1f0]
mulss xmm0, dword [0x4ad090]
movss dword [esp + 0x10], xmm0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
test al, 1
jne 0x480093
movss xmm0, dword [0x4ad078]
jmp 0x48009b
movss xmm0, dword [0x4ad1f0]
mulss xmm0, dword [0x4ad090]
mov eax, dword [0x602de8]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [eax + 4], xmm0
lea ecx, [esp + 0x10]
call fcn.00403100
push 0x22
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x48011c
mov edx, dword [esp + 0x10]
mov ecx, edx
sub ecx, dword [0x602d98]
mov esi, dword [esp + 0x14]
mov eax, esi
sbb eax, dword [0x602d9c]
cmp ecx, 0x8f0d180
jne 0x4800f1
test eax, eax
je 0x4800ff
test eax, eax
jl 0x48011c
jg 0x4800ff
cmp ecx, 0x8f0d180
jb 0x48011c
cmp byte [0x601dac], 0
mov dword [0x602d98], edx
sete al
mov dword [0x602d9c], esi
mov byte [0x601dac], al
jmp 0x480121
mov al, byte [0x601dac]
test al, al
je 0x480261
mov eax, dword [0x602c68]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x47c4]
mov ecx, dword [eax]
call fcn.004403f0
mov ecx, dword [0x602de8]
mov esi, eax
mov eax, dword [0x602ddc]
xorps xmm3, xmm3
mov edx, dword [0x602c68]
add esp, 4
movss xmm4, dword [0x4ad180]
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
movss dword [eax], xmm0
mov eax, dword [0x602de8]
mov ecx, dword [0x602ddc]
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [ecx + 4], xmm0
mov eax, dword [0x602ddc]
movss xmm1, dword [eax]
comiss xmm3, xmm1
ja 0x4801c5
movss xmm0, dword [edx + 0x10]
subss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x4801e5
mov eax, dword [0x602de8]
movss xmm1, dword [0x4ad1f0]
movss xmm0, dword [eax]
mulss xmm0, xmm1
movss dword [eax], xmm0
mov eax, dword [0x602ddc]
jmp 0x4801ed
movss xmm1, dword [0x4ad1f0]
movss xmm2, dword [eax + 4]
comiss xmm3, xmm2
movss xmm3, dword [0x4ad170]
ja 0x48020d
movss xmm0, dword [edx + 0x14]
subss xmm0, xmm3
comiss xmm2, xmm0
jbe 0x480225
mov eax, dword [0x602de8]
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
movss dword [eax + 4], xmm0
mov eax, dword [0x602ddc]
movss xmm0, dword [eax]
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
push ecx
addss xmm0, xmm4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
movss dword [esp + 0x28], xmm0
mov ecx, esi
movss xmm0, dword [eax + 4]
addss xmm0, xmm3
push eax
push dword [0x602df4]
movss dword [esp + 0x34], xmm0
call fcn.0045f570
pop edi
pop esi
mov esp, ebp
pop ebp
ret