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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, 0x4c1810
mov ecx, ebx
call fcn.0041af7d
mov ecx, dword [0x4c1870]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + eax*4]
mov ecx, 0xfffffe6e
mov esi, dword [eax]
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], esi
cmp eax, ecx
ja 0x46f86f
je 0x46f80e
mov ecx, 0xfffffdd9
cmp eax, ecx
ja 0x46f6b9
je 0x46f6a2
cmp eax, 0xfffffd09
je 0x46f683
cmp eax, 0xfffffd0e
je 0x46f67a
cmp eax, 0xfffffd0f
je 0x46f65d
cmp eax, 0xfffffd16
je 0x46f6b3
push edi
push dword [ebp + 0xc]
push 0x4e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x19a], 1
jne 0x46f66f
push eax
push dword [edi + 4]
call fcn.0046de72
xor ebx, ebx
mov word [esi + 0x199], bx
jmp 0x46f645
mov byte [esi + 0x199], 1
jmp 0x46f645
cmp byte [esi + 0x199], 0
mov byte [esi + 0x19a], 1
jne 0x46f645
mov byte [esi + 0x19a], 0
push dword [edi + 8]
jmp 0x46f801
xor ebx, ebx
push ebx
push ebx
push 0x130b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
jmp 0x46f801
cmp eax, 0xfffffdda
je 0x46f7bc
cmp eax, 0xfffffdee
je 0x46f74f
cmp eax, 0xfffffe3d
je 0x46f80e
cmp eax, 0xfffffe64
jne 0x46f645
mov esi, dword [edi]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x100
je 0x46f645
cmp word [edi + 0xc], 0x20
jne 0x46f645
xor ebx, ebx
push ebx
push 9
push 0x110a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46f645
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push ebx
push 0x113e
push esi
mov dword [esp + 0x64], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46f645
push ebx
push dword [esp + 0x7c]
jmp 0x46f804
cmp dword [esi + 0x188], 0
je 0x46f645
mov edx, dword [0x4c1894]
push 3
pop ecx
cmp edx, ecx
jl 0x46f645
mov esi, dword [0x4c1884]
mov eax, dword [esi + ecx*4]
mov eax, dword [eax]
test eax, eax
je 0x46f788
movzx eax, byte [eax + 0x93]
cmp eax, dword [edi + 4]
je 0x46f78d
inc ecx
cmp ecx, edx
jle 0x46f773
cmp ecx, edx
jg 0x46f645
mov eax, dword [esi + ecx*4]
push 0x4f
mov eax, dword [eax]
push dword [eax + 0x54]
lea eax, [edi + 0x10]
push eax
call fcn.00422c1d
add esp, 0xc
xor eax, eax
mov word [edi + 0xae], ax
xor eax, eax
inc eax
jmp 0x46f654
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jns 0x46f645
push 9
call ebx
test ax, ax
jns 0x46f645
xor ebx, ebx
push ebx
push ebx
push 0x130b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46f7ff
dec esi
jmp 0x46f800
inc esi
push esi
push dword [edi + 4]
call fcn.0046de72
jmp 0x46f645
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push 9
push 0x110a
push dword [edi]
call esi
test eax, eax
je 0x46f645
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push ebx
push 0x113e
push dword [edi]
mov dword [esp + 0x64], 4
call esi
test eax, eax
je 0x46f645
mov eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x5c]
je 0x46f645
cmp dword [edi + 0xc], 0x1000
je 0x46f645
cmp dword [edi + 0xc], 1
jmp 0x46f73f
cmp eax, 0xfffffff0
ja 0x46fa10
je 0x46fa05
cmp eax, 0xfffffec0
je 0x46f9f4
cmp eax, 0xfffffed4
je 0x46f9f4
cmp eax, 0xffffff93
je 0x46f94b
cmp eax, 0xffffff94
jne 0x46f645
mov esi, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push esi
mov ecx, ebx
call fcn.0040cf2c
test al, al
je 0x46f645
mov eax, dword [0x4c1884]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [eax + ecx*4]
push ebx
mov ecx, dword [eax]
mov ax, word [edi + 0x10]
mov word [ecx + 0x96], ax
push dword [edi + 4]
call fcn.0046de72
mov edx, dword [0x4c1884]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax]
cmp dword [eax + 0x28], ebx
jbe 0x46f645
mov dword [0x4c184c], esi
mov eax, dword [edx + ecx*4]
mov ecx, 0x4c1850
mov eax, dword [eax]
add eax, 0x24
push eax
call fcn.0040c935
mov eax, dword [0x4c1884]
mov ecx, dword [esp + 0x10]
push 0x46de69
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov al, byte [eax + 0x98]
mov byte [0x4c1860], al
push dword [edi + 0x10]
push 0x1030
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46f645
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [0x4c18bc]
call dword [sym.imp.COMCTL32.dll_ImageList_SetDragCursorImage]
push 0xfffffffffffffff0
push 0xfffffffffffffff8
push ebx
push dword [0x4c18bc]
call dword [sym.imp.COMCTL32.dll_ImageList_BeginDrag]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
mov dword [0x4c18c0], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
call fcn.00412570
mov eax, dword [ebp + 0xc]
xor esi, esi
inc esi
push 0x4b4cb0
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], eax
call fcn.0040caee
push 2
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0040d380
lea ecx, [esp + 0x40]
call fcn.00405cd3
lea esi, [edi + 0x20]
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [edi + 0x24]
push dword [esi]
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_DragEnter]
lea ecx, [esp + 0x28]
call fcn.00412570
jmp 0x46f645
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x46f645
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x46f645
cmp eax, 0xfffffff4
je 0x46fd92
cmp eax, 0xfffffffb
je 0x46fb67
cmp eax, 0xfffffffe
jne 0x46f645
push 1
push esi
mov ecx, ebx
call fcn.0041b736
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [edi]
mov ecx, ebx
call fcn.0041b155
cmp eax, 0xffffffff
je 0x46f645
mov ecx, dword [0x4c1884]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
mov al, byte [eax + 0x90]
cmp al, 0x10
jb 0x46f645
cmp al, 0x11
jbe 0x46faed
cmp al, 0x13
jne 0x46f645
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
xor ebx, ebx
push ebx
push 0x1012
push dword [edi]
call esi
cmp eax, 0xffffffff
je 0x46f645
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
push eax
push ebx
push 0x104b
push dword [edi]
mov dword [esp + 0x8c], 4
call esi
test byte [esp + 0x48], 0xe
je 0x46f645
push ebx
push dword [esp + 0xa0]
jmp 0x46f804
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
xor ebx, ebx
push ebx
push 0x1111
push dword [edi]
call esi
test eax, eax
je 0x46f645
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push ebx
push 0x113e
push dword [edi]
mov dword [esp + 0x64], 0xc
mov dword [esp + 0x70], 0xf000
call esi
test byte [esp + 0x30], 0x46
je 0x46f645
push ebx
push 9
mov ebx, 0x110b
push ebx
push dword [edi]
call esi
push dword [esp + 0x34]
push 9
push ebx
push dword [edi]
call esi
jmp 0x46f645
push 1
push esi
mov esi, 0x4c1810
xor ebx, ebx
mov ecx, esi
mov byte [esp + 0x1f], bl
call fcn.0041b736
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [edi]
mov ecx, esi
call fcn.0041b155
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
jne 0x46fbcf
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, 0x4c1810
call fcn.0041b155
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x46f645
mov byte [esp + 0x17], 1
mov eax, dword [0x4c1884]
mov dword [esp + 0x20], esi
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov al, byte [eax + 0x90]
cmp al, 0x10
je 0x46fccd
cmp al, 0x13
jne 0x46f645
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
push ebx
push 0x1012
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jle 0x46fc8f
cmp byte [esp + 0x17], bl
jne 0x46fc8f
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
push eax
push ebx
push 0x104b
push dword [edi]
mov dword [esp + 0x8c], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46f645
test byte [esp + 0x48], 0xe
je 0x46fc8f
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0xa4]
mov ecx, 0x4c1810
call fcn.0040cf2c
test al, al
je 0x46fc8b
mov esi, dword [esp + 0x10]
mov eax, dword [0x4c1884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
test eax, eax
je 0x46fc8b
cmp dword [eax + 0xc], ebx
jne 0x46fc8f
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x4c1884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x46f645
mov eax, dword [esp + 0x3c]
push ebx
push dword [eax]
push dword [esp + 0x24]
push dword [esp + 0x24]
push ebx
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x46f645
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push ebx
push 0x1111
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46fd50
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push ebx
push 0x113e
push dword [edi]
mov dword [esp + 0x64], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x30], 0x46
je 0x46fd50
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x80]
mov ecx, 0x4c1810
call fcn.0040cf2c
test al, al
je 0x46fd4c
mov esi, dword [esp + 0x10]
mov eax, dword [0x4c1884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp dword [eax + 0xc], ebx
jne 0x46fd50
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x4c1884]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x46f645
mov eax, dword [esp + 0x3c]
push ebx
push dword [eax]
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0x80
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x46f7b4
push dword [edi]
mov ecx, ebx
call fcn.0041b155
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x46f645
mov ecx, dword [0x4c1884]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov al, byte [ecx + 0x90]
cmp al, 0x10
je 0x46fdc5
cmp al, 0x13
jne 0x46f645
mov eax, dword [edi + 0xc]
dec eax
je 0x46fe78
sub eax, 0x10000
jne 0x46f645
xor bl, bl
cmp dword [ecx + 0x48], 0xfe000000
jne 0x46fde7
inc bl
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x2c]
mov ecx, 0x4c1810
call fcn.0040cf2c
test al, al
jne 0x46fe09
xor eax, eax
jmp 0x46f654
mov eax, dword [0x4c1884]
mov esi, dword [esp + 0x10]
push 0xfffffffffffffff0
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x8000000
jne 0x46fe02
test byte [edi + 0x28], 0x11
mov ecx, dword [0x4c1884]
je 0x46fe47
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x14
jne 0x46f645
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
cmp eax, 0xffffffff
je 0x46fe5d
mov dword [edi + 0x30], eax
mov ecx, dword [0x4c1884]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
test eax, eax
js 0x46fe02
test bl, bl
je 0x46fe73
test byte [edi + 0x24], 1
je 0x46fe02
mov dword [edi + 0x34], eax
jmp 0x46fe02
push 0x20
pop eax
jmp 0x46f654