Function at 0x498b70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
cmp byte [0x62916c], 0
push esi
push edi
mov edi, ecx
jne 0x498d3c
mov eax, dword [edi]
xorps xmm0, xmm0
mov byte [0x62916c], 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], 0x603540
mov dword [esp + 0x2c], 0x3e8
mov dword [esp + 0x18], 0
call dword [0x49f5b4]
call esi
test eax, eax
js 0x498c80
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
mov esi, dword [edi]
push 0x6292d4
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 [0x49f5b4]
call esi
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x49f5b4]
call esi
push 1
mov ecx, 0x6292bc
call fcn.00432050
push 1
mov ecx, 0x6292c8
call fcn.00432050
mov esi, dword [0x629148]
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 + 8], 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 [0x6292bc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
movss xmm0, dword [esp + 8]
movss dword [eax + 4], xmm0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
test al, 1
jne 0x498cf6
movss xmm0, dword [0x4c60b8]
jmp 0x498cfe
movss xmm0, dword [0x4c6230]
addss xmm0, xmm0
movss dword [esp + 8], xmm0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
test al, 1
jne 0x498d1c
movss xmm0, dword [0x4c60b8]
jmp 0x498d24
movss xmm0, dword [0x4c6230]
mov eax, dword [0x6292c8]
addss xmm0, xmm0
movss dword [eax], xmm0
movss xmm0, dword [esp + 8]
movss dword [eax + 4], xmm0
lea ecx, [esp + 8]
call fcn.0041cac0
push 0x22
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x498da1
mov edx, dword [esp + 8]
mov ecx, edx
sub ecx, dword [0x629278]
mov esi, dword [esp + 0xc]
mov eax, esi
sbb eax, dword [0x62927c]
cmp ecx, 0x8f0d180
jne 0x498d76
test eax, eax
je 0x498d84
test eax, eax
jl 0x498da1
jg 0x498d84
cmp ecx, 0x8f0d180
jb 0x498da1
cmp byte [0x628188], 0
mov dword [0x629278], edx
sete al
mov dword [0x62927c], esi
mov byte [0x628188], al
jmp 0x498da6
mov al, byte [0x628188]
test al, al
je 0x498ee6
mov eax, dword [0x629148]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x47c4]
mov ecx, dword [eax]
call fcn.00459130
mov ecx, dword [0x6292c8]
mov esi, eax
mov eax, dword [0x6292bc]
xorps xmm3, xmm3
mov edx, dword [0x629148]
add esp, 4
movss xmm4, dword [0x4c61c0]
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movss dword [eax], xmm0
mov eax, dword [0x6292c8]
mov ecx, dword [0x6292bc]
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [ecx + 4], xmm0
mov eax, dword [0x6292bc]
movss xmm1, dword [eax]
comiss xmm3, xmm1
ja 0x498e4a
movss xmm0, dword [edx + 0x10]
subss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x498e6a
mov eax, dword [0x6292c8]
movss xmm1, dword [0x4c6230]
movss xmm0, dword [eax]
mulss xmm0, xmm1
movss dword [eax], xmm0
mov eax, dword [0x6292bc]
jmp 0x498e72
movss xmm1, dword [0x4c6230]
movss xmm2, dword [eax + 4]
comiss xmm3, xmm2
movss xmm3, dword [0x4c61b0]
ja 0x498e92
movss xmm0, dword [edx + 0x14]
subss xmm0, xmm3
comiss xmm2, xmm0
jbe 0x498eaa
mov eax, dword [0x6292c8]
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
movss dword [eax + 4], xmm0
mov eax, dword [0x6292bc]
movss xmm0, dword [eax]
lea ecx, [esp + 8]
push 0xffffffffffffffff
push ecx
addss xmm0, xmm4
lea ecx, [esp + 0x18]
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 [0x6292d4]
movss dword [esp + 0x34], xmm0
call fcn.00477cb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret