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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [0x54e97c]
call fcn.0046274b
mov edi, eax
xor ebx, ebx
cmp dword [edi], ebx
mov dword [ebp - 4], 0xd0d0d0d1
jne 0x45fc03
cmp dword [ebp + 0xc], 0x112
jne 0x45fe60
mov esi, dword [ebp + 0x10]
mov eax, esi
and eax, 0xfff0
cmp eax, 0xf000
jne 0x45fe60
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 0x26
call dword [sym.imp.USER32.DLL_SystemParametersInfoA]
cmp dword [ebp - 8], ebx
je 0x45fe60
lea eax, [edi + 0x10]
and esi, 0xf
push eax
push dword [ebp + 8]
mov dword [edi + 0x30], esi
mov esi, dword [sym.imp.USER32.DLL_GetWindowRect]
mov dword [edi], 1
call esi
lea eax, [edi + 0x20]
push eax
push dword [ebp + 8]
call esi
mov esi, dword [sym.imp.USER32.DLL_GetSystemMetrics]
push 0x3d
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
call esi
push 0x3e
mov dword [edi + 0x3c], eax
call esi
push 0xfffffffffffffff0
push dword [ebp + 8]
mov dword [edi + 0x40], eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
test eax, 0x800000
je 0x45fb3c
push 5
call esi
push 6
jmp 0x45fb53
push 0xffffffffffffffec
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
test ax, 0x100
je 0x45fb5d
push 0x2d
call esi
push 0x2e
mov dword [edi + 0x44], eax
call esi
mov dword [edi + 0x48], eax
jmp 0x45fb63
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
push 0x22
call esi
push 0x23
mov dword [edi + 0x4c], eax
call esi
push 0x3b
mov dword [edi + 0x50], eax
call esi
push 0x3c
mov dword [edi + 0x54], eax
call esi
mov esi, dword [sym.imp.USER32.DLL_SendMessageA]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x34]
push eax
push ebx
push 0x24
push dword [ebp + 8]
call esi
push 1
call dword [sym.imp.USER32.DLL_GetKeyState]
test ax, ax
jne 0x45fbab
push ebx
push 1
push 0x201
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SetCapture]
push ebx
push ebx
push 0x231
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_PostMessageA]
cmp dword [edi + 0x30], ebx
jne 0x45fbfb
mov dword [edi + 4], 1
add edi, 8
push edi
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0x8040
push ebx
push ebx
push 2
push 0x7f86
push ebx
call dword [sym.imp.USER32.DLL_LoadImageA]
push eax
call dword [sym.imp.USER32.DLL_SetCursor]
jmp 0x45fe5d
mov dword [edi + 4], ebx
jmp 0x45fe5d
mov eax, dword [ebp + 0xc]
cmp eax, 0x200
jne 0x45fc6e
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov dword [edi + 4], ebx
push 1
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.USER32.DLL_MapWindowPoints]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, edi
call fcn.0045f906
pop ecx
lea esi, [edi + 0x10]
push esi
push dword [edi + 0x30]
push 0x214
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SendMessageA]
sub esp, 0x10
mov edi, esp
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045f9e8
add esp, 0x14
jmp 0x45fe5d
cmp eax, 0x100
jne 0x45fe2c
mov eax, dword [ebp + 0x10]
sub eax, 0xd
je 0x45fe24
sub eax, 0xe
je 0x45fe24
push 0xa
pop esi
sub eax, esi
je 0x45fdcf
dec eax
je 0x45fd72
dec eax
je 0x45fd1f
dec eax
jne 0x45fe60
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
mov ecx, dword [edi + 0x30]
cmp ecx, ebx
jne 0x45fcd2
mov eax, dword [edi + 0x1c]
dec eax
dec eax
mov dword [edi + 0x30], 6
push eax
push dword [ebp - 0x10]
push 0x7f85
jmp 0x45fd0d
push 2
pop eax
cmp ecx, eax
jne 0x45fcf3
mov ecx, dword [edi + 0x1c]
sub ecx, eax
push ecx
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x30], 8
sub ecx, eax
push ecx
push 0x7f82
jmp 0x45fd0d
cmp ecx, 1
jne 0x45fd17
mov ecx, dword [edi + 0x1c]
sub ecx, eax
push ecx
push dword [edi + 0x10]
mov dword [edi + 0x30], 7
push 0x7f83
call fcn.0045f8d8
jmp 0x45fe1f
add dword [ebp - 0xc], esi
jmp 0x45fe0f
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
mov eax, dword [edi + 0x30]
cmp eax, ebx
jne 0x45fd46
mov ecx, dword [edi + 0x18]
push 2
pop eax
mov dword [edi + 0x30], eax
push dword [ebp - 0xc]
sub ecx, eax
push ecx
push 0x7f84
jmp 0x45fd0d
cmp eax, 3
jne 0x45fd5d
mov eax, dword [edi + 0x18]
push dword [edi + 0x14]
dec eax
dec eax
mov dword [edi + 0x30], 5
push eax
jmp 0x45fd08
cmp eax, 6
jne 0x45fd6a
push 2
pop eax
jmp 0x45fcd9
add dword [ebp - 0x10], esi
jmp 0x45fe0f
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
mov ecx, dword [edi + 0x30]
cmp ecx, ebx
jne 0x45fd92
push dword [edi + 0x14]
mov dword [edi + 0x30], 3
jmp 0x45fcc8
push 2
pop eax
cmp ecx, eax
jne 0x45fdae
mov ecx, dword [edi + 0x18]
push dword [edi + 0x14]
sub ecx, eax
mov dword [edi + 0x30], 5
push ecx
jmp 0x45fd08
cmp ecx, 1
jne 0x45fdca
mov ecx, dword [edi + 0x14]
add ecx, eax
push ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x30], 4
add ecx, eax
jmp 0x45fceb
sub dword [ebp - 0xc], esi
jmp 0x45fe0f
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
mov eax, dword [edi + 0x30]
cmp eax, ebx
jne 0x45fdf2
mov dword [edi + 0x30], 1
push dword [ebp - 0xc]
push dword [edi + 0x10]
jmp 0x45fd3f
cmp eax, 3
jne 0x45fdfc
push 2
pop eax
jmp 0x45fdb3
cmp eax, 6
jne 0x45fe0c
mov eax, dword [edi + 0x1c]
dec eax
dec eax
push eax
jmp 0x45fcfe
sub dword [ebp - 0x10], esi
push dword [ebp - 0xc]
mov eax, edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0045fa36
add esp, 0xc
jmp 0x45fe60
call dword [sym.imp.USER32.DLL_ReleaseCapture]
jmp 0x45fe5d
cmp eax, 0x202
je 0x45fe24
cmp eax, 0x215
jne 0x45fe60
push ebx
push ebx
push 0x232
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_PostMessageA]
cmp dword [edi + 4], ebx
mov dword [edi], ebx
je 0x45fe5d
push dword [edi + 0xc]
push dword [edi + 8]
call dword [sym.imp.USER32.DLL_SetCursorPos]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10