Function at 0x4307e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x43c00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x447b48], 0
push esi
push edi
jne 0x43081f
cmp dword [0x447b50], 0
je 0x43081f
call fcn.00421830
mov esi, dword [0x4474f0]
lea eax, [ebp - 0x140]
push eax
push dword [0x447b58]
mov dword [ebp - 0x124], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x140]
movd xmm1, eax
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x13c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x118]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x118]
mov ecx, edi
sub ecx, dword [0x447b60]
mov esi, dword [ebp - 0x114]
mov edx, esi
sbb edx, dword [0x447b64]
call fcn.00433f90
mov edx, dword [0x447b6c]
mov ecx, dword [0x447b68]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x10c], xmm0
call fcn.00433f90
movss xmm1, dword [ebp - 0x10c]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x124]
push 0x11
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [0x447b64], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x447b60], edi
call esi
mov edi, dword [ebp - 0x124]
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xfd], al
call esi
mov ecx, dword [0x4474f0]
shr eax, 0xf
and al, 1
mov byte [edi + 0xff], 0
mov byte [edi + 0xfe], al
cmp byte [ecx + 0x37b], 0
lea esi, [ecx + 0xe4]
je 0x430972
cvttss2si eax, dword [esi]
mov dword [ebp - 0x110], eax
cvttss2si eax, dword [ecx + 0xe8]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x110]
push eax
push dword [0x447b58]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x447b58]
jne 0x4309d4
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4309d4
lea eax, [ebp - 0x128]
push eax
push dword [0x447b58]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4309d4
movd xmm0, dword [ebp - 0x128]
movd xmm1, dword [ebp - 0x124]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xbc], 0
je 0x4309e2
or eax, 0xffffffff
jmp 0x4309ed
mov eax, dword [0x4474f0]
mov eax, dword [eax + 0x1c58]
cmp dword [0x446c84], eax
je 0x4309ff
mov dword [0x446c84], eax
call fcn.00421a30
call fcn.00405c60
push 0x70
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x430a26
cmp byte [0x4466d0], 0
push 1
sete byte [0x4466d0]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4466d0], 0
je 0x430a34
call fcn.0042fd60
mov eax, dword [0x4474f0]
sub esp, 8
mov dword [ebp - 0x140], 0x88e70835
mov dword [ebp - 0x13c], 0x19b1bfc2
mov dword [ebp - 0x138], 0xa5c5ee5e
movss xmm0, dword [eax + 0x380]
lea eax, [ebp - 0x140]
cvtps2pd xmm0, xmm0
mov dword [ebp - 0x134], 0x749724f
mov dword [ebp - 0x120], 0xb2b45873
mov dword [ebp - 0x11c], 0x37819ae2
mov dword [ebp - 0x118], 0xa5c5ee38
mov dword [ebp - 0x114], 0x749724f
movaps xmm1, xmmword [ebp - 0x140]
movsd qword [esp], xmm0
push eax
movaps xmmword [ebp - 0x140], xmm1
lea eax, [ebp - 0x108]
xorps xmm1, xmmword [ebp - 0x120]
push eax
movaps xmmword [ebp - 0x140], xmm1
call fcn.00413780
movss xmm2, dword [0x43964c]
add esp, 0x10
cmp byte [0x447631], 0
je 0x430cc9
mov ecx, dword [0x4468e8]
xorps xmm3, xmm3
movsd xmm1, qword [0x4396a0]
mov eax, dword [0x447ae8]
cdq
movd xmm0, ecx
sub eax, edx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
sar eax, 1
mov dword [ebp - 0x10c], eax
mov dword [0x447624], eax
mov eax, dword [0x447694]
cdq
addsd xmm0, qword [ecx*8 + 0x4397e0]
sub eax, edx
mov edi, dword [0x4474f0]
mov edx, eax
add edi, 0x1be4
mov eax, dword [0x4468ec]
sar edx, 1
divsd xmm0, xmm1
mov dword [0x4474f4], edx
cvtpd2ps xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4397e0]
mov eax, dword [0x4468f0]
divsd xmm0, xmm1
cvtpd2ps xmm5, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4397e0]
mov eax, dword [0x4468f4]
divsd xmm0, xmm1
cvtpd2ps xmm6, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
comiss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x4397e0]
divsd xmm0, xmm1
cvtpd2ps xmm7, xmm0
jbe 0x430bb0
xorps xmm0, xmm0
jmp 0x430bb7
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm3, xmm5
movss xmm4, dword [0x4396e4]
movss xmm1, dword [0x439628]
mulss xmm0, xmm4
addss xmm0, xmm1
cvttss2si ecx, xmm0
jbe 0x430bdd
xorps xmm0, xmm0
jmp 0x430be4
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm6
jbe 0x430bff
xorps xmm0, xmm0
jmp 0x430c06
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm7
jbe 0x430c21
xorps xmm2, xmm2
jmp 0x430c25
minss xmm2, xmm7
movd xmm0, dword [ebp - 0x10c]
mulss xmm2, xmm4
cvtdq2ps xmm0, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x118], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvttss2si esi, xmm2
movss dword [ebp - 0x114], xmm0
shl esi, 0x18
or esi, ecx
test esi, 0xff000000
je 0x430cc9
movd xmm2, dword [0x446b58]
lea eax, [ebp - 0x118]
cvtdq2ps xmm2, xmm2
push 0xff
push ecx
mov dword [esp], 0x40c84601
mov ecx, edi
push eax
subss xmm2, xmm1
call fcn.0041cee0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push esi
push dword [edi + 0x54]
push dword [ecx + 0x5c]
call fcn.0041bdc0
mov ecx, dword [edi + 0x58]
test ecx, ecx
jns 0x430cc2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.00413260
mov dword [edi + 0x54], 0
call fcn.0042f510
call fcn.00406dc0
mov eax, dword [0x447684]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x447684]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x447684]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x447684]
push 0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push 0
push 1
push 0
push 0
push eax
call dword [ecx + 0xac]
mov eax, dword [0x447684]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x430d69
call fcn.004071e0
mov ecx, dword [0x4474f0]
xor eax, eax
add ecx, 0x1ba4
cmp byte [ecx], al
cmove ecx, eax
call fcn.00420fc0
mov eax, dword [0x447684]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x447684]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x430e26
mov eax, dword [0x447684]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x430e26
cmp dword [0x447b50], 0
je 0x430e08
mov ecx, dword [0x447b54]
test ecx, ecx
je 0x430dc1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x447b54], 0
mov ecx, dword [0x447b4c]
test ecx, ecx
je 0x430ddb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x447b4c], 0
mov ecx, dword [0x447b48]
mov esi, dword [0x4474f0]
test ecx, ecx
je 0x430df1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x447b48], 0
mov eax, dword [esi + 0x94]
mov dword [eax + 8], 0
mov eax, dword [0x447684]
push 0x447648
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [0x447b50], 0
je 0x430e26
call fcn.00421830
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00432b74
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret