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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x3c], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x43f5dc
mov dword [ebp - 0x38], eax
jmp 0x43f5f5
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp eax, dword [ebx + 4]
cmove ecx, esi
mov dword [ebp - 0x38], ecx
cmp byte [ebx + 0x151c], 0
mov eax, dword [edi + 4]
je 0x43f8e9
cmp eax, 0x105
ja 0x43f8ad
je 0x43f887
sub eax, 0xa1
cmp eax, 0x5f
ja case.0x43f90f.163
movzx eax, byte [eax + 0x43fee0]
jmp dword [eax*4 + 0x43fed4]
mov edi, dword [0x912518]
test edi, edi
je case.0x43f90f.163
push edi
mov ecx, ebx
call fcn.00440340
mov esi, edi
cmp eax, 0xffffffff
jne 0x43f659
mov edi, dword [edi + 0xac]
test edi, edi
jne 0x43f640
test esi, esi
je case.0x43f90f.163
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 8]
add edx, 0xfffffff3
cmp edx, 0x1b
ja case.0x43f685.14
movzx edx, byte [edx + 0x43ff60]
jmp dword [edx*4 + 0x43ff40]
mov ecx, ebx
cmp esi, dword [ebx + 0x1518]
je 0x43f6af
push esi
call fcn.0043d710
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
push 2
call fcn.004430d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, ebx
call fcn.00440340
cmp eax, 0xffffffff
je case.0x43f685.14
push 0xffffffffffffffff
push 0
push 0x202
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + eax*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, ebx
call fcn.00440340
push 1
push eax
push esi
mov ecx, ebx
call fcn.00440670
cmp eax, 0xffffffff
je case.0x43f685.14
push 0xffffffffffffffff
push 0
push 0x200
jmp 0x43f6e3
push esi
mov ecx, ebx
call fcn.00440340
push 0xffffffffffffffff
push eax
push esi
mov ecx, ebx
call fcn.00440670
cmp eax, 0xffffffff
je case.0x43f685.14
push 0xffffffffffffffff
push 0
push 0x200
jmp 0x43f6e3
cmp dword [esi + 0xac], 0
jne 0x43f7c2
push esi
mov ecx, ebx
call fcn.00440340
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x43f7d1
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + eax*4]
mov ecx, ebx
mov dword [ebp - 0x30], eax
movzx eax, word [eax + 0xc]
push eax
call fcn.00440910
imul ecx, eax, 0x11c
mov eax, dword [ebx + 0x175c]
test dword [ecx + eax + 0xc], 0x1000000
je 0x43f7d1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x30]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xc0]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ecx + eax*4]
call fcn.00453d40
mov esi, dword [esi + 0xac]
push 1
push 0xffffffffffffffff
jmp 0x43f713
test edi, edi
je case.0x43f685.14
push 1
mov ecx, ebx
call fcn.004430d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x43f823
test edi, edi
je case.0x43f685.14
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004430d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
mov edx, dword [eax + 0xbc]
lea edi, [eax + 0xc0]
xor ecx, ecx
test edx, edx
jle 0x43f846
mov eax, dword [edi]
cmp dword [eax], esi
je 0x43f854
inc ecx
add eax, 4
cmp ecx, edx
jl 0x43f837
mov eax, dword [ebp - 0x30]
push 1
push 0
push eax
mov ecx, ebx
call fcn.00440670
mov ecx, eax
cmp ecx, 0xffffffff
je case.0x43f685.14
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push 0x200
mov eax, dword [eax + ecx*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 8], 0x12
jne case.0x43f685.14
push 2
mov ecx, ebx
call fcn.004430d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
sub eax, 0x201
je case.0x43f62b.161
sub eax, 3
je case.0x43f62b.161
sub eax, 3
jne case.0x43f90f.163
push dword [0x9137f0]
call fcn.0042e480
add esp, 4
test al, al
jne case.0x43f90f.163
push 0
mov ecx, 0x911000
call fcn.0043d710
jmp case.0x43f90f.163
cmp eax, 0x105
ja 0x43fad3
je 0x43fab3
sub eax, 0xa0
cmp eax, 0x60
ja case.0x43f90f.163
movzx eax, byte [eax + 0x43ff90]
jmp dword [eax*4 + 0x43ff7c]
mov eax, dword [edi + 8]
cmp eax, 9
jne 0x43f963
movzx eax, word [0x912514]
mov ecx, ebx
push eax
call fcn.00444d10
mov esi, eax
test esi, esi
je case.0x43f90f.163
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov ecx, esi
not eax
and eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.0044a2a0
test eax, eax
jne case.0x43f685.14
jmp case.0x43f90f.163
cmp eax, 0x10
je case.0x43f90f.163
cmp eax, 0x11
je case.0x43f90f.163
cmp eax, 0x12
je case.0x43f90f.163
cmp byte [ebx + 0x1528], 0
je case.0x43f90f.163
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x11
mov dword [ebp - 0x40], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x12
mov dword [ebp - 0x44], eax
call esi
movzx edx, ax
xor edi, edi
shr edx, 0xf
and edx, 0xffffff01
mov dword [ebp - 0x48], edx
cmp dword [ebx + 0x176c], edi
jle case.0x43f90f.163
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebx + 0x1770]
add esi, 3
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [ebp - 0x34], eax
movzx eax, word [esi - 3]
cmp ecx, eax
jne 0x43fa38
cmp byte [esi - 1], 0
je 0x43f9f8
cmp byte [ebp - 0x40], 0
je 0x43fa38
cmp byte [esi], 0
je 0x43fa03
cmp byte [ebp - 0x44], 0
je 0x43fa38
cmp byte [esi + 1], 0
je 0x43fa0d
test dl, dl
je 0x43fa38
movzx eax, word [esi + 5]
mov ecx, 0xffff
cmp ax, cx
je 0x43fa49
push eax
mov ecx, ebx
call fcn.00444d10
test eax, eax
je case.0x43f90f.163
mov ecx, dword [ebp - 0x38]
cmp dword [eax], ecx
je 0x43fa49
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
inc edi
add esi, 0xa
cmp edi, dword [ebx + 0x176c]
jl 0x43f9e4
jmp case.0x43f90f.163
lea esi, [edi + edi*4]
mov ecx, 0x911000
mov edi, dword [ebx + 0x1770]
movzx eax, word [edi + esi*2 + 6]
push eax
call fcn.00440910
cmp eax, 0xffffffff
je 0x43fa80
imul ecx, eax, 0x11c
mov eax, dword [0x91275c]
test dword [ecx + eax + 0xc], 0x8000001
je case.0x43f685.14
call dword [sym.imp.USER32.dll_GetFocus]
push eax
movzx eax, word [edi + esi*2 + 6]
or eax, 0x100000
push eax
push 0x83ed
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 8], 0x12
jne case.0x43f90f.163
push 0
mov ecx, ebx
call fcn.004430d0
test eax, eax
je case.0x43f685.14
jmp case.0x43f90f.163
sub eax, 0x200
je case.0x43f90f.160
sub eax, 1
je case.0x43f90f.161
sub eax, 1
jne case.0x43f90f.163
cmp byte [0x9132bc], 0
je case.0x43f90f.163
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
mov byte [0x9132bc], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9132a4]
test eax, eax
je case.0x43f90f.163
push dword [eax]
call dword [sym.imp.USER32.dll_SetCapture]
push dword [0x9132b8]
mov ecx, ebx
mov byte [0x9132bc], 1
call fcn.00443b80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
cmp byte [0x9132bc], 0
je 0x43fca5
push dword [0x9132b8]
mov ecx, ebx
call fcn.00443b80
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x9132a4]
mov eax, dword [0x9132b8]
dec eax
movups xmm0, xmmword [edx + 0x28]
movups xmmword [ebp - 0x24], xmm0
cmp eax, 7
ja case.default.0x43fb92
jmp dword [eax*4 + 0x43fff4]
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x9132a8]
mov dword [ebp - 0x24], eax
jmp case.0x43fb92.8
mov eax, dword [ebp - 0x2c]
mov ecx, edx
sub eax, dword [0x9132a8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044abe0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x9132a8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x9132b4]
mov ecx, edx
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044abe0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9132ac]
mov ecx, edx
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x9132b4]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044abe0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9132ac]
mov ecx, edx
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044abe0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9132ac]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [0x9132b0]
mov dword [ebp - 0x20], eax
push 1
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
call fcn.0044abe0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x18]
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edx, eax
test edx, edx
je 0x43fcef
nop word [eax + eax]
mov esi, dword [0x91271c]
xor ecx, ecx
test esi, esi
jle 0x43fce2
mov edi, dword [0x912720]
mov eax, dword [edi + ecx*4]
cmp dword [eax], edx
je 0x43fd7a
inc ecx
cmp ecx, esi
jl 0x43fcd2
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov edx, eax
test edx, edx
jne 0x43fcc0
mov dword [0x9132a4], 0
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.USER32.dll_GetClassNameA]
push 7
push eax
mov esi, dword [ebx]
push esi
call edi
lea ecx, [ebp - 0xc]
cmp dword [ecx], 0x37323323
jne 0x43fd2c
cmp word [ecx + 4], 0x3037
jne 0x43fd2c
movzx eax, byte [ecx + 6]
test al, al
je 0x43fea0
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x43feb0
nop dword [eax]
push 7
lea eax, [ebp - 0x14]
push eax
push esi
call edi
lea ecx, [ebp - 0x14]
cmp dword [ecx], 0x37323323
jne 0x43fd68
cmp word [ecx + 4], 0x3037
jne 0x43fd68
movzx eax, byte [ecx + 6]
test al, al
je 0x43fea0
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x43fd40
jmp 0x43feb0
mov dword [0x9132a4], eax
test eax, eax
je 0x43fcef
mov eax, dword [eax + 0x14]
test eax, 0x800
je 0x43fcef
test eax, 0x1000
jne 0x43fcef
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x9132a4]
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0x9132a4]
mov ecx, dword [ebp - 0x28]
movd xmm1, dword [eax + 0x30]
movd xmm0, dword [eax + 0x28]
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [eax + 0x2c]
cvtdq2pd xmm0, xmm0
cvttsd2si edi, xmm1
movd xmm1, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
sub edi, 5
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si esi, xmm1
sub esi, 5
cmp eax, 5
jl 0x43fe43
cmp ecx, 5
jl 0x43fe16
cmp eax, edi
jge 0x43fe1a
cmp ecx, esi
jl 0x43fcef
cmp eax, edi
jl 0x43fe32
cmp ecx, 5
jge 0x43fe26
mov eax, 7
jmp 0x43fe59
xor eax, eax
cmp ecx, esi
setl al
add eax, 5
jmp 0x43fe59
xor eax, eax
cmp ecx, 5
setl al
lea eax, [eax*4 + 4]
jmp 0x43fe59
cmp ecx, 5
jge 0x43fe4f
mov eax, 1
jmp 0x43fe59
xor eax, eax
cmp ecx, esi
setge al
add eax, 2
push eax
mov ecx, ebx
mov dword [0x9132b8], eax
call fcn.00443b80
mov eax, dword [ebp - 0x2c]
sub edi, eax
mov ecx, dword [ebp - 0x28]
add edi, 5
sub esi, ecx
mov dword [0x9132ac], edi
add esi, 5
mov dword [0x9132a8], eax
pop edi
mov dword [0x9132b4], esi
pop esi
mov dword [0x9132b0], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
test esi, esi
je 0x43feb0
push ebx
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne case.0x43f685.14
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4