Function at 0x445740
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6254
call fcn.00492790
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x30
mov dword [ebp - 0x61dc], eax
lea eax, [ebp - 0x621c]
push 0
push eax
mov dword [ebp - 0x61e8], ebx
mov dword [ebp - 0x61e0], edi
mov dword [ebp - 0x6220], 0
call fcn.004906c0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 0x4e
ja 0x445cc1
je 0x4459b2
add eax, 0xfffffff9
cmp eax, 0x19
ja case.0x4457b7.9
movzx eax, byte [eax + 0x4462cc]
jmp dword [eax*4 + 0x4462bc]
cmp ebx, dword [0x4e518c]
jne 0x4457ea
push dword [0x4e51e8]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4f6844], 0
je 0x4457fa
push 0x7f8a
jmp 0x4457ff
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x4e5184]
cmp ebx, eax
jne case.0x4457b7.9
cmp dword [ebp - 0x61dc], eax
je case.0x4457b7.9
call fcn.0044d4b0
jmp case.0x4457b7.9
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push ebx
call esi
test eax, eax
je case.0x4457b7.9
lea eax, [ebp - 0x61a4]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x61b4]
mov dword [ebp - 0x61b4], 0
push eax
push 0
push 0
push 0x1004
push ebx
call esi
dec eax
push eax
push 0x100e
push ebx
call esi
mov eax, dword [ebp - 0x61ac]
mov edi, dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0x6194], eax
mov eax, dword [ebp - 0x619c]
mov dword [ebp - 0x618c], eax
mov eax, dword [ebp - 0x61a0]
mov dword [ebp - 0x6190], eax
mov eax, dword [ebp - 0x6198]
push 5
mov dword [ebp - 0x6188], eax
call edi
mov esi, dword [sym.imp.USER32.dll_FillRect]
push eax
lea eax, [ebp - 0x6194]
push eax
push dword [ebp - 0x61dc]
call esi
mov eax, dword [ebp - 0x61a4]
mov dword [ebp - 0x6194], eax
mov eax, dword [ebp - 0x619c]
mov dword [ebp - 0x618c], eax
mov eax, dword [ebp - 0x61a8]
mov dword [ebp - 0x6190], eax
mov eax, dword [ebp - 0x6198]
push 5
mov dword [ebp - 0x6188], eax
call edi
push eax
lea eax, [ebp - 0x6194]
push eax
push dword [ebp - 0x61dc]
call esi
lea eax, [ebp - 0x61b4]
mov dword [ebp - 0x61b4], 0
push eax
push 0
push 0
push 0x1027
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x100e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x619c]
mov dword [ebp - 0x618c], eax
mov eax, dword [ebp - 0x61b0]
push 5
mov dword [ebp - 0x6194], 0
mov dword [ebp - 0x6190], 0
mov dword [ebp - 0x6188], eax
call edi
push eax
lea eax, [ebp - 0x6194]
push eax
push dword [ebp - 0x61dc]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x104e
push ebx
call esi
cmp dword [edi], eax
jne case.0x4457b7.9
mov eax, dword [edi + 8]
cmp eax, 0xfffffdee
je 0x445af9
cmp eax, 0xfffffdf7
jne case.0x4457b7.9
or edi, 0xffffffff
mov eax, 0xfffffffc
cmp dword [0x4dfca4], 1
cmovge edi, eax
lea eax, [ebp - 0x61d8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x61d8]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x61d8]
push eax
push 0
push 0x1039
push ebx
call esi
mov dword [ebp - 0x621c], eax
cmp eax, 0xffffffff
je 0x445ac2
mov eax, dword [ebp - 0x61c8]
cmp eax, 0xffffffff
je 0x445ac2
lea ecx, [ebp - 0x61c4]
push ecx
push eax
push dword [ebp - 0x61cc]
push ebx
call fcn.00446340
mov eax, dword [ebp - 0x61c4]
add esp, 0x10
mov dword [ebp - 0x61d8], eax
mov eax, dword [ebp - 0x61c0]
mov dword [ebp - 0x61d4], eax
lea eax, [ebp - 0x61d8]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x61d4]
push 0x11
push 0
push 0
dec eax
push eax
mov eax, dword [ebp - 0x61d8]
add eax, edi
push eax
push 0
push 0
push 0
push 0x104e
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x61d4]
push 0x10
push 0
push 0
dec eax
push eax
mov eax, dword [ebp - 0x61d8]
add eax, edi
push eax
push 0
push 0
push 0
push 0x104e
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp - 0x61e0]
jmp case.0x4457b7.9
cmp dword [0x4dfca4], 1
jge case.0x4457b7.9
push edi
push dword [ebp - 0x61dc]
push 0x4e
push ebx
push dword [0x4e02a4]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edi, eax
lea eax, [ebp - 0x61d8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x61d8]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x61d8]
push eax
push 0
push 0x1039
push ebx
call esi
test eax, eax
js 0x445cac
test byte [ebp - 0x61d0], 0xe
je 0x445cac
mov eax, dword [ebp - 0x61c8]
test eax, eax
js 0x445cac
mov dword [ebp - 0x6218], eax
lea ecx, [ebp - 0x2004]
mov eax, dword [ebp - 0x61cc]
mov dword [ebp - 0x621c], eax
lea eax, [ebp - 0x6220]
push eax
push 0
push 0x104b
push ebx
mov dword [ebp - 0x6220], 1
mov dword [ebp - 0x620c], ecx
mov dword [ebp - 0x6208], 0x1000
call esi
cmp word [ebp - 0x2004], 0
je 0x445c99
lea eax, [ebp - 0x6240]
mov dword [ebp - 0x6240], 2
push eax
push dword [ebp - 0x61c8]
push 0x105f
push ebx
call esi
xorps xmm0, xmm0
push ebx
movdqu xmmword [ebp - 0x61c4], xmm0
call dword [sym.imp.USER32.dll_GetDC]
push dword [0x4e0298]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xd00
lea eax, [ebp - 0x61c4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2004]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x61bc]
sub eax, dword [ebp - 0x61c4]
add eax, 6
cmp eax, dword [ebp - 0x6238]
mov eax, dword [ebp - 0x61e0]
jle 0x445c6f
push dword [ebp - 0x61c8]
lea ecx, [ebp - 0x2004]
push 0x4bc0cc
push ebx
mov dword [eax + 0xc], ecx
call dword [sym.imp.USER32.dll_SetPropW]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
push esi
xor ecx, ecx
mov dword [eax + 0xc], 0
push ebx
mov word [eax + 0x10], cx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x61e0]
xor ecx, ecx
mov dword [eax + 0xc], 0
mov word [eax + 0x10], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x100
je 0x445e0a
cmp eax, 0x200
jne case.0x4457b7.9
cmp dword [0x4dfca4], 1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jge 0x445d53
push 0
push 0
push 0x104e
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x445d3b
movsx eax, di
mov dword [ebp - 0x61d8], eax
mov eax, edi
shr eax, 0x10
cwde
mov dword [ebp - 0x61d4], eax
lea eax, [ebp - 0x61d8]
push eax
push 0
push 0x1039
push ebx
call esi
test eax, eax
js 0x445d53
push 0x4bc0cc
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
cmp dword [ebp - 0x61c8], eax
je 0x445d53
push 0
push 0
push 0x41c
push 0
push 0
push 0x104e
push ebx
call esi
push eax
call esi
cmp ebx, dword [0x4e5190]
jne case.0x4457b7.9
lea eax, [ebp - 0x61d8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x61d8]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x61d8]
push eax
push 0
push 0x1039
push ebx
call esi
test eax, eax
js case.0x4457b7.9
mov eax, dword [ebp - 0x61c8]
cmp dword [eax*4 + 0x4e08c8], 0x686
jne case.0x4457b7.9
mov eax, dword [ebp - 0x61cc]
mov dword [ebp - 0x621c], eax
lea eax, [ebp - 0x6220]
push eax
push 0
push 0x104b
push ebx
mov dword [ebp - 0x6220], 4
call esi
mov eax, dword [ebp - 0x6200]
push dword [eax + 0x16c]
call fcn.0048c9d0
add esp, 4
test al, al
je case.0x4457b7.9
push 0x4b9a2c
push dword [0x4dfca0]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp case.0x4457b7.9
mov eax, dword [ebp - 0x61dc]
add eax, 0xfffffff7
cmp eax, 0x3a
ja case.0x445e23.10
movzx eax, byte [eax + 0x446300]
jmp dword [eax*4 + 0x4462e8]
cmp ebx, dword [0x4e5184]
je case.0x445e23.10
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je case.0x445e23.10
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
lea eax, [ebp - 0x6184]
push eax
push esi
push 0x103b
push ebx
mov dword [ebp - 0x61e4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x445ee1
xor ecx, ecx
test esi, esi
je 0x445ee1
cmp esi, 8
jb 0x445ed1
movdqa xmm1, xmmword [0x4bc4d0]
lea edx, [ebp - 0x6174]
mov eax, esi
mov edi, esi
and eax, 7
sub edi, eax
jmp 0x445ea0
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x20]
paddd xmm0, xmm1
add ecx, 8
movdqu xmmword [edx - 0x30], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movdqu xmmword [edx - 0x20], xmm0
cmp ecx, edi
jb 0x445ea0
cmp ecx, esi
jae 0x445ee1
mov dword [ebp + ecx*4 - 0x6184], ecx
inc ecx
cmp ecx, esi
jb 0x445ed5
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebp - 0x61e8]
xor edi, edi
mov dword [ebp - 0x621c], 0xffffffff
xor ebx, ebx
xor esi, esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov dword [ebp - 0x621c], ecx
cmp ecx, 0xffffffff
je 0x446080
jmp 0x445f20
xor eax, eax
mov dword [ebp - 0x61ec], eax
cmp dword [ebp - 0x61e4], eax
jbe 0x44603d
jmp 0x445f40
mov eax, dword [ebp + eax*4 - 0x6184]
mov dword [ebp - 0x624c], eax
lea eax, [ebp - 0x6004]
mov dword [ebp - 0x6240], eax
lea eax, [ebp - 0x6254]
push eax
push ecx
push 0x1073
push dword [ebp - 0x61e8]
mov dword [ebp - 0x623c], 0x2000
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x6004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445f85
sub eax, edx
add ebx, 2
sar eax, 1
add ebx, eax
test esi, esi
je 0x445fc2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
lea eax, [ebx*2 + 2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
jmp 0x445fe5
lea eax, [ebx*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
xor eax, eax
mov word [esi], ax
lea ecx, [ebp - 0x6004]
push ecx
lea eax, [ebx + 1]
push eax
push esi
call fcn.00493457
mov eax, dword [ebp - 0x61ec]
add esp, 0xc
mov ecx, dword [ebp - 0x61e4]
inc eax
mov dword [ebp - 0x61ec], eax
cmp eax, ecx
jae 0x44603d
push 0x4aff9c
lea eax, [ebx + 1]
push eax
push esi
call fcn.00493457
mov eax, dword [ebp - 0x61ec]
add esp, 0xc
mov ecx, dword [ebp - 0x61e4]
cmp eax, ecx
jae 0x44603d
mov ecx, dword [ebp - 0x621c]
jmp 0x445f40
push 0x4affa8
lea eax, [ebx + 1]
push eax
push esi
call fcn.00493457
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 2
push dword [ebp - 0x621c]
push 0x100c
push dword [ebp - 0x61e8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov dword [ebp - 0x621c], ecx
cmp ecx, 0xffffffff
jne 0x445f20
mov ebx, dword [ebp - 0x61e8]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
test edi, edi
je 0x4460b1
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4460b1
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, dword [ebp - 0x61e0]
push edi
push dword [ebp - 0x61dc]
push 0x100
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push dword [ebp - 0x61dc]
push dword [ebp + 0xc]
push ebx
push dword [0x4e02a4]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [0x4e5184]
cmp ebx, edi
jne 0x446119
cmp byte [0x4e45bb], 0
mov edi, dword [0x4e518c]
cmovne edi, dword [0x4e5190]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push edi
mov dword [ebp - 0x621c], 0
mov dword [ebp - 0x6218], 0
mov dword [ebp - 0x6210], 2
mov dword [ebp - 0x6220], 0xc
call esi
xor ecx, ecx
cmp eax, 0xffffffff
push edi
cmove eax, ecx
mov dword [ebp - 0x621c], eax
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x6254]
mov dword [ebp - 0x6244], 3
push eax
push dword [ebp - 0x621c]
mov dword [ebp - 0x6248], 3
push 0x102b
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, dword [0x4e5184]
jne 0x4461b5
mov esi, 0x65
jmp 0x4461cf
xor eax, eax
cmp ebx, dword [0x4e5190]
sete al
lea eax, [eax*2 + 0x66]
mov dword [ebp - 0x61e4], eax
mov esi, eax
push 2
push 0xffffffffffffffff
push 0x100c
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x621c], eax
cmp eax, 0xffffffff
je 0x4461f5
push 0
push esi
call fcn.00448e60
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x6254]
push eax
push 0
push 0x102b
push ebx
mov dword [ebp - 0x6244], 3
mov dword [ebp - 0x6248], 3
call esi
push 0
push 0
push 0x1013
push ebx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x6254]
push eax
push 0
push 0
push 0x1004
push ebx
mov dword [ebp - 0x6244], 3
mov dword [ebp - 0x6248], 3
call esi
dec eax
push eax
push 0x102b
push ebx
call esi
push 0
push 0
push 0
push 0x1004
push ebx
call esi
dec eax
push eax
push 0x1013
push ebx
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret 0x10