Function at 0x42347b
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x4ca480], esi
jne 0x42349a
cmp dword [0x4ca478], esi
je 0x42379f
cmp dword [ebp + 0xc], 0x201
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
je 0x4234b6
cmp dword [ebp + 0xc], 0x204
jne 0x4235da
mov eax, dword [0x4c9e28]
push 1
pop edi
cmp eax, edi
jne 0x4234c6
push 0x11
jmp 0x4234d1
cmp eax, 2
jne 0x4234cf
push 0x10
jmp 0x4234d1
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, edi
cmp eax, esi
je 0x4235da
lea eax, [ebp - 8]
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push ecx
push eax
mov dword [0x4a1db8], eax
mov dword [0x4a1dbc], ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
mov edi, esi
je 0x423531
push 0xfffffffffffffff0
push edi
mov esi, edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0xc00000
je 0x423524
test eax, 0x80000000
jne 0x423531
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
jne 0x42350b
cmp dword [ebp + 0xc], 0x201
jne 0x423559
cmp dword [0x4ca478], 0
je 0x42379f
cmp dword [0x4cadd4], 0
jne 0x42379f
jmp 0x4235ef
cmp dword [ebp + 0xc], 0x204
jne 0x4235d8
xor edi, edi
cmp dword [0x4ca480], edi
je 0x42379f
cmp dword [0x4cadd0], edi
jne 0x42379f
lea eax, [ebp - 0x18]
mov dword [0x4cadd4], esi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebp - 0x14]
add edx, ecx
sar edx, 1
sar eax, 1
cmp dword [ebp - 4], edx
jle 0x4235c1
cmp dword [ebp - 8], eax
mov dword [0x459ff8], 2
jge 0x423612
mov dword [0x459ff8], 3
jmp 0x423612
cmp dword [ebp - 8], eax
mov dword [0x459ff8], edi
jle 0x423612
mov dword [0x459ff8], 1
jmp 0x423612
xor esi, esi
cmp dword [ebp + 0xc], 0x202
jne 0x4235f7
cmp dword [0x4cadd0], esi
je 0x42379f
mov dword [0x4cadd0], esi
jmp 0x423612
cmp dword [ebp + 0xc], 0x205
jne 0x42361a
cmp dword [0x4cadd4], esi
je 0x42379f
mov dword [0x4cadd4], esi
push 1
pop eax
jmp 0x4237a1
cmp dword [ebp + 0xc], 0x200
jne 0x42379f
mov eax, dword [0x4cadd0]
cmp eax, esi
je 0x4236ba
push dword [0x4a1dbc]
push dword [0x4a1db8]
push eax
call fcn.004232aa
add esp, 0xc
lea eax, [ebp - 8]
push eax
call ebx
lea eax, [ebp - 0x18]
push eax
push dword [0x4cadd0]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub ecx, dword [0x4a1dbc]
sub eax, dword [0x4a1db8]
push 1
push esi
add dword [ebp - 0x14], ecx
add dword [ebp - 0x18], eax
push esi
add dword [ebp - 0x10], eax
push dword [ebp - 0x14]
add dword [ebp - 0xc], ecx
push dword [ebp - 0x18]
push esi
push dword [0x4cadd0]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [ebp - 0x18]
mov edi, 0x4c9fc8
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4cadd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [0x4c9fc0], eax
mov eax, dword [ebp - 8]
mov dword [0x4a1db8], eax
mov eax, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
jmp 0x42379a
mov eax, dword [0x4cadd4]
cmp eax, esi
je 0x42379f
push dword [0x4a1dbc]
push dword [0x4a1db8]
push eax
call fcn.004232aa
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [0x4cadd4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
push eax
movsd dword es:[edi], dword [esi]
call ebx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub eax, dword [0x4a1db8]
sub ecx, dword [0x4a1dbc]
test eax, eax
jne 0x42371a
test ecx, ecx
je 0x42379f
mov edx, dword [0x459ff8]
test edx, edx
jne 0x42372a
add dword [ebp - 0x14], ecx
add dword [ebp - 0x18], eax
cmp edx, 1
jne 0x423735
add dword [ebp - 0x14], ecx
add dword [ebp - 0x10], eax
cmp edx, 2
jne 0x423747
mov esi, dword [ebp - 0x10]
add dword [ebp - 0xc], ecx
add esi, eax
mov dword [ebp - 0x10], esi
jmp 0x42374a
mov esi, dword [ebp - 0x10]
cmp edx, 3
mov edx, dword [ebp - 0xc]
jne 0x42375a
add edx, ecx
add dword [ebp - 0x18], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x24], eax
jne 0x423774
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x18]
jne 0x423774
cmp dword [ebp - 0x20], esi
jne 0x423774
cmp dword [ebp - 0x1c], edx
je 0x42378f
sub esi, dword [ebp - 0x18]
sub edx, eax
push 0
push edx
push esi
push eax
push dword [ebp - 0x18]
push 0
push dword [0x4cadd4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 8]
mov dword [0x4a1db8], eax
mov eax, dword [ebp - 4]
mov dword [0x4a1dbc], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret