Function at 0x441190
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 [0x4a0080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bc5c4], 0
push esi
push edi
jne 0x4411cf
cmp dword [0x4bc5cc], 0
je 0x4411cf
call fcn.00421af0
mov esi, dword [0x4bbf50]
lea eax, [ebp - 0x140]
push eax
push dword [0x4bc5d4]
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 [0x4bc5d8]
mov esi, dword [ebp - 0x114]
mov edx, esi
sbb edx, dword [0x4bc5dc]
call fcn.0047f420
mov edx, dword [0x4bc5e4]
mov ecx, dword [0x4bc5e0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x10c], xmm0
call fcn.0047f420
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 [0x4bc5dc], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x4bc5d8], 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 [0x4bbf50]
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 0x441322
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 [0x4bc5d4]
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 [0x4bc5d4]
jne 0x441384
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x441384
lea eax, [ebp - 0x128]
push eax
push dword [0x4bc5d4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x441384
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 0x441392
or eax, 0xffffffff
jmp 0x44139d
mov eax, dword [0x4bbf50]
mov eax, dword [eax + 0x1c58]
cmp dword [0x4b563c], eax
je 0x4413af
mov dword [0x4b563c], eax
call fcn.00421cf0
call fcn.00405cf0
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x4413d6
cmp byte [0x4a010c], 0
push 1
sete byte [0x4a010c]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4a010c], 0
je 0x4413e4
call fcn.004364c0
mov eax, dword [0x4bbf50]
sub esp, 8
mov dword [ebp - 0x140], 0x23eec9f5
mov dword [ebp - 0x13c], 0x1d06e68a
mov dword [ebp - 0x138], 0x9cad3d12
movss xmm0, dword [eax + 0x380]
lea eax, [ebp - 0x140]
cvtps2pd xmm0, xmm0
mov dword [ebp - 0x134], 0xda480b97
mov dword [ebp - 0x120], 0x19bd99b3
mov dword [ebp - 0x11c], 0x3336c3aa
mov dword [ebp - 0x118], 0x9cad3d74
mov dword [ebp - 0x114], 0xda480b97
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.004137a0
movss xmm2, dword [0x4923ac]
add esp, 0x10
cmp byte [0x4bc0ae], 0
je 0x441679
mov ecx, dword [0x4b52a0]
xorps xmm3, xmm3
movsd xmm1, qword [0x492408]
mov eax, dword [0x4bc57c]
cdq
movd xmm0, ecx
sub eax, edx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
sar eax, 1
mov dword [ebp - 0x10c], eax
mov dword [0x4bc08c], eax
mov eax, dword [0x4bc12c]
cdq
addsd xmm0, qword [ecx*8 + 0x492620]
sub eax, edx
mov edi, dword [0x4bbf50]
mov edx, eax
add edi, 0x1be4
mov eax, dword [0x4b52a4]
sar edx, 1
divsd xmm0, xmm1
mov dword [0x4bbf54], edx
cvtpd2ps xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x492620]
mov eax, dword [0x4b52a8]
divsd xmm0, xmm1
cvtpd2ps xmm5, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x492620]
mov eax, dword [0x4b52ac]
divsd xmm0, xmm1
cvtpd2ps xmm6, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
comiss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x492620]
divsd xmm0, xmm1
cvtpd2ps xmm7, xmm0
jbe 0x441560
xorps xmm0, xmm0
jmp 0x441567
movaps xmm0, xmm2
minss xmm0, xmm4
comiss xmm3, xmm5
movss xmm4, dword [0x49245c]
movss xmm1, dword [0x492388]
mulss xmm0, xmm4
addss xmm0, xmm1
cvttss2si ecx, xmm0
jbe 0x44158d
xorps xmm0, xmm0
jmp 0x441594
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 0x4415af
xorps xmm0, xmm0
jmp 0x4415b6
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 0x4415d1
xorps xmm2, xmm2
jmp 0x4415d5
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 0x441679
movd xmm2, dword [0x4b5510]
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.0041d170
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push esi
push dword [edi + 0x54]
push dword [ecx + 0x5c]
call fcn.0041c040
mov ecx, dword [edi + 0x58]
test ecx, ecx
jns 0x441672
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.00413280
mov dword [edi + 0x54], 0
call fcn.004336d0
call fcn.00406e50
mov eax, dword [0x4bc110]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4bc110]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4bc110]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4bc110]
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 [0x4bc110]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x441719
call fcn.00407280
mov ecx, dword [0x4bbf50]
xor eax, eax
add ecx, 0x1ba4
cmp byte [ecx], al
cmove ecx, eax
call fcn.004212a0
mov eax, dword [0x4bc110]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4bc110]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x4417d6
mov eax, dword [0x4bc110]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x4417d6
cmp dword [0x4bc5cc], 0
je 0x4417b8
mov ecx, dword [0x4bc5d0]
test ecx, ecx
je 0x441771
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4bc5d0], 0
mov ecx, dword [0x4bc5c8]
test ecx, ecx
je 0x44178b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4bc5c8], 0
mov ecx, dword [0x4bc5c4]
mov esi, dword [0x4bbf50]
test ecx, ecx
je 0x4417a1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4bc5c4], 0
mov eax, dword [esi + 0x94]
mov dword [eax + 8], 0
mov eax, dword [0x4bc110]
push 0x4bc0c4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [0x4bc5cc], 0
je 0x4417d6
call fcn.00421af0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047e4e7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret