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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x43f15c
mov dword [ebp - 0x30], eax
jmp 0x43f175
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp eax, dword [edi + 4]
cmove ecx, esi
mov dword [ebp - 0x30], ecx
cmp byte [edi + 0x151c], 0
mov eax, dword [ebx + 4]
je 0x43f466
cmp eax, 0x105
ja 0x43f42a
je 0x43f404
sub eax, 0xa1
cmp eax, 0x5f
ja case.0x43f48c.163
movzx eax, byte [eax + 0x43fa58]
jmp dword [eax*4 + 0x43fa4c]
mov ebx, dword [0x911318]
test ebx, ebx
je case.0x43f48c.163
push ebx
mov ecx, edi
call fcn.0043feb0
mov esi, ebx
lea ebx, [esi + 0xac]
cmp eax, 0xffffffff
jne 0x43f1e1
mov ebx, dword [ebx]
test ebx, ebx
jne 0x43f1c0
lea ebx, [esi + 0xac]
test esi, esi
je case.0x43f48c.163
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov edx, dword [edx + 8]
add edx, 0xfffffff3
cmp edx, 0x1b
ja case.0x43f20e.14
movzx edx, byte [edx + 0x43fad8]
jmp dword [edx*4 + 0x43fab8]
mov ecx, edi
cmp esi, dword [edi + 0x1518]
je 0x43f238
push esi
call fcn.0043d280
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
push 2
call fcn.00442c90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, edi
call fcn.0043feb0
cmp eax, 0xffffffff
je case.0x43f20e.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.004fe8dc
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, edi
call fcn.0043feb0
push 1
push eax
push esi
mov ecx, edi
call fcn.004401f0
cmp eax, 0xffffffff
je case.0x43f20e.14
push 0xffffffffffffffff
push 0
push 0x200
jmp 0x43f26c
push esi
mov ecx, edi
call fcn.0043feb0
push 0xffffffffffffffff
push eax
push esi
mov ecx, edi
call fcn.004401f0
cmp eax, 0xffffffff
je case.0x43f20e.14
push 0xffffffffffffffff
push 0
push 0x200
jmp 0x43f26c
cmp dword [ebx], 0
jne 0x43f343
push esi
mov ecx, edi
call fcn.0043feb0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43f352
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + ebx*4]
mov ecx, edi
mov dword [ebp - 0x38], eax
movzx eax, word [eax + 0xc]
push eax
call fcn.004404d0
imul ecx, eax, 0x11c
mov eax, dword [edi + 0x175c]
test dword [ecx + eax + 0xc], 0x1000000
je 0x43f352
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xc0]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + ebx*4]
call fcn.004533e0
mov esi, dword [esi + 0xac]
push 1
push 0xffffffffffffffff
jmp 0x43f29c
cmp dword [ebp - 0x30], 0
je case.0x43f20e.14
push 1
mov ecx, edi
call fcn.00442c90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi + 0x50]
test ebx, ebx
jne 0x43f3a3
test eax, eax
je case.0x43f20e.14
push 0xffffffffffffffff
mov ecx, edi
call fcn.00442c90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0xbc]
xor eax, eax
test edx, edx
jle 0x43f3c1
mov ecx, dword [ebx + 0xc0]
cmp dword [ecx], esi
je 0x43f3cd
inc eax
add ecx, 4
cmp eax, edx
jl 0x43f3b5
push 1
push 0
push ebx
mov ecx, edi
call fcn.004401f0
cmp eax, 0xffffffff
je case.0x43f20e.14
mov ecx, dword [ebx + 0xc0]
push 0xffffffffffffffff
push 0
push 0x200
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.004fe8dc
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 8], 0x12
jne case.0x43f20e.14
push 2
mov ecx, edi
call fcn.00442c90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
sub eax, 0x201
je case.0x43f1ab.161
sub eax, 3
je case.0x43f1ab.161
sub eax, 3
jne case.0x43f48c.163
push dword [0x9124f0]
call fcn.0042e250
add esp, 4
test al, al
jne case.0x43f48c.163
push 0
mov ecx, 0x90fe00
call fcn.0043d280
jmp case.0x43f48c.163
cmp eax, 0x105
ja 0x43f64e
je 0x43f62e
sub eax, 0xa0
cmp eax, 0x60
ja case.0x43f48c.163
movzx eax, byte [eax + 0x43fb08]
jmp dword [eax*4 + 0x43faf4]
mov eax, dword [ebx + 8]
cmp eax, 9
jne 0x43f4e0
movzx eax, word [0x911314]
mov ecx, edi
push eax
call fcn.004448c0
mov esi, eax
test esi, esi
je case.0x43f48c.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.00449e50
test eax, eax
jne case.0x43f20e.14
jmp case.0x43f48c.163
cmp eax, 0x10
je case.0x43f48c.163
cmp eax, 0x11
je case.0x43f48c.163
cmp eax, 0x12
je case.0x43f48c.163
cmp byte [edi + 0x1528], 0
je case.0x43f48c.163
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x11
mov dword [ebp - 0x3c], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x12
mov dword [ebp - 0x40], eax
call esi
shr eax, 0xf
xor ebx, ebx
and eax, 0xffffff01
mov dword [ebp - 0x44], eax
cmp dword [edi + 0x176c], ebx
jle case.0x43f48c.163
mov edx, dword [ebp - 0x34]
mov ecx, 0xffff
mov esi, dword [edi + 0x1770]
add esi, 3
mov edx, dword [edx + 8]
mov dword [ebp - 0x48], edx
movzx eax, word [esi - 3]
cmp edx, eax
jne 0x43f5b3
cmp byte [esi - 1], 0
je 0x43f574
cmp byte [ebp - 0x3c], 0
je 0x43f5b3
cmp byte [esi], 0
je 0x43f57f
cmp byte [ebp - 0x40], 0
je 0x43f5b3
cmp byte [esi + 1], 0
je 0x43f58b
cmp byte [ebp - 0x44], 0
je 0x43f5b3
movzx eax, word [esi + 5]
cmp ax, cx
je 0x43f5c4
push eax
mov ecx, edi
call fcn.004448c0
test eax, eax
je case.0x43f48c.163
mov ecx, dword [ebp - 0x30]
cmp dword [eax], ecx
je 0x43f5c4
mov edx, dword [ebp - 0x48]
mov ecx, 0xffff
inc ebx
add esi, 0xa
cmp ebx, dword [edi + 0x176c]
jl 0x43f560
jmp case.0x43f48c.163
mov edi, dword [edi + 0x1770]
lea esi, [ebx + ebx*4]
mov ecx, 0x90fe00
movzx eax, word [edi + esi*2 + 6]
push eax
call fcn.004404d0
cmp eax, 0xffffffff
je 0x43f5fb
imul ecx, eax, 0x11c
mov eax, dword [0x91155c]
test dword [ecx + eax + 0xc], 0x8000001
je case.0x43f20e.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 - 0x30]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 8], 0x12
jne case.0x43f48c.163
push 0
mov ecx, edi
call fcn.00442c90
test eax, eax
je case.0x43f20e.14
jmp case.0x43f48c.163
sub eax, 0x200
je case.0x43f48c.160
sub eax, 1
je case.0x43f48c.161
sub eax, 1
jne case.0x43f48c.163
cmp byte [0x9120bc], 0
je case.0x43f48c.163
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
mov byte [0x9120bc], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9120a4]
test eax, eax
je case.0x43f48c.163
push dword [eax]
call dword [sym.imp.USER32.dll_SetCapture]
push dword [0x9120b8]
mov ecx, edi
mov byte [0x9120bc], 1
call fcn.00443740
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
cmp byte [0x9120bc], 0
je 0x43f820
push dword [0x9120b8]
mov ecx, edi
call fcn.00443740
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x9120a4]
mov eax, dword [0x9120b8]
dec eax
movups xmm0, xmmword [edx + 0x28]
movups xmmword [ebp - 0x24], xmm0
cmp eax, 7
ja case.default.0x43f70d
jmp dword [eax*4 + 0x43fb6c]
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x9120a8]
mov dword [ebp - 0x24], eax
jmp case.0x43f70d.8
mov eax, dword [ebp - 0x2c]
mov ecx, edx
sub eax, dword [0x9120a8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044a790
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x9120a8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x9120b4]
mov ecx, edx
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044a790
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9120ac]
mov ecx, edx
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x9120b4]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044a790
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9120ac]
mov ecx, edx
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0044a790
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x9120ac]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [0x9120b0]
mov dword [ebp - 0x20], eax
push 1
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
call fcn.0044a790
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
push dword [ebx + 0x18]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edx, eax
test edx, edx
je 0x43f861
mov esi, dword [0x91151c]
xor ecx, ecx
test esi, esi
jle 0x43f854
mov ebx, dword [0x911520]
mov eax, dword [ebx + ecx*4]
cmp dword [eax], edx
je 0x43f8d7
inc ecx
cmp ecx, esi
jl 0x43f844
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov edx, eax
test edx, edx
jne 0x43f832
mov dword [0x9120a4], 0
mov ebx, dword [ebp - 0x34]
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 0x43f9f9
cmp word [ecx + 4], 0x3037
jne 0x43f9f9
movzx eax, byte [ecx + 6]
test al, al
jne 0x43f9f9
test esi, esi
je 0x43f8b6
push ebx
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne case.0x43f20e.14
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
mov dword [0x9120a4], eax
test eax, eax
je 0x43f861
mov eax, dword [eax + 0x14]
test eax, 0x800
je 0x43f861
test eax, 0x1000
jne 0x43f861
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x9120a4]
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0x9120a4]
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 ebx, xmm1
movd xmm1, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
sub ebx, 5
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si esi, xmm1
sub esi, 5
cmp eax, 5
jl 0x43f99c
cmp ecx, 5
jl 0x43f96f
cmp eax, ebx
jge 0x43f973
cmp ecx, esi
jl 0x43f861
cmp eax, ebx
jl 0x43f98b
cmp ecx, 5
jge 0x43f97f
mov eax, 7
jmp 0x43f9b2
xor eax, eax
cmp ecx, esi
setl al
add eax, 5
jmp 0x43f9b2
xor eax, eax
cmp ecx, 5
setl al
lea eax, [eax*4 + 4]
jmp 0x43f9b2
cmp ecx, 5
jge 0x43f9a8
mov eax, 1
jmp 0x43f9b2
xor eax, eax
cmp ecx, esi
setge al
add eax, 2
push eax
mov ecx, edi
mov dword [0x9120b8], eax
call fcn.00443740
mov ecx, dword [ebp - 0x28]
sub esi, ecx
mov eax, dword [ebp - 0x2c]
add esi, 5
sub ebx, eax
mov dword [0x9120b0], ecx
mov ecx, dword [ebp - 4]
add ebx, 5
pop edi
mov dword [0x9120b4], esi
xor ecx, ebp
pop esi
mov dword [0x9120ac], ebx
mov dword [0x9120a8], eax
pop ebx
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x43f8b6
nop word [eax + eax]
push 7
lea eax, [ebp - 0x14]
push eax
push esi
call edi
lea ecx, [ebp - 0x14]
cmp dword [ecx], 0x37323323
jne 0x43fa38
cmp word [ecx + 4], 0x3037
jne 0x43fa38
movzx eax, byte [ecx + 6]
test al, al
je 0x43f8aa
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x43fa10
jmp 0x43f8b6