Function at 0x101791c0
Capabilities:
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101f2b1e
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x1c], eax
lea esi, [edi + 0x50]
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x54]
mov dword [esp + 0x40], edi
call fcn.10064680
mov ebx, dword [eax]
test ebx, ebx
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
je 0x10179235
cmp ebx, esi
je 0x1017923b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
je 0x10179bf0
test ebx, ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ecx
je 0x10179258
cmp ebx, esi
je 0x1017925e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x20], edx
je 0x101792a3
test ebx, ebx
jne 0x10179272
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 4]
jne 0x10179281
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x258]
lea ecx, [esp + 0x1c]
push ecx
push eax
call edx
cmp dword [esp + 0x1c], 2
je 0x10179bf0
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
xor ebx, ebx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10179bf0
mov ecx, dword [ebp + 8]
cmp ecx, 0x2774
mov eax, dword [ebp + 0xc]
jne 0x101792e4
cmp eax, ebx
je 0x10179304
cmp ecx, 0x2775
jne 0x101792f0
cmp eax, ebx
je 0x10179304
cmp ecx, 0x2776
jne 0x10179bf0
cmp eax, ebx
jne 0x10179bf0
lea edx, [esp + 0x64]
push edx
push ecx
mov eax, edi
call fcn.10179c20
test al, al
je 0x10179bf0
mov ecx, dword [edi + 0x24]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x64]
push eax
push ecx
call esi
mov eax, dword [edi + 0x24]
lea edx, [esp + 0x6c]
push edx
push eax
call esi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebx
je 0x101799f6
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x10179368
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [edi + 0x3c]
push eax
lea eax, [edi + 0x2c]
push eax
call edx
lea ecx, [edi + 0x2c]
mov dword [esp + 0x54], ecx
call fcn.1017b340
test al, al
jne 0x10179bf0
lea eax, [esp + 0x64]
push eax
push 0x2774
mov eax, edi
call fcn.10179c20
test al, al
jne 0x101793a3
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jmp 0x101793be
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x24]
push edx
push eax
mov dword [esp + 0x40], ecx
call esi
call fcn.101a7380
mov esi, dword [eax + 0x1c]
cmp esi, ebx
mov dword [esp + 0x2c], esi
je 0x10179bf0
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x10179bf0
lea ecx, [esp + 0x18]
push ecx
xor ecx, ecx
call fcn.101aa7f0
mov dword [esp + 0xa8], 0
lea edx, [esp + 0x18]
push edx
call fcn.10085450
test eax, eax
jne 0x1017941d
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ebx
mov ecx, esi
call edx
jmp 0x10179be0
mov ecx, dword [esp + 0x54]
call fcn.1017b310
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x101794db
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
sub edi, ebx
add edi, 0xffffffff
call fcn.1017b380
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0x3c], edi
jne 0x101794a7
add eax, 0x1c
push eax
lea esi, [esp + 0x80]
call fcn.100076d0
mov byte [esp + 0xa8], 1
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x1017947f
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [ebx + 0x800]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
mov byte [esp + 0xa8], 0
lea ecx, [esp + 0x7c]
call fcn.10001dd0
jmp 0x101794ca
cmp dword [eax + 0x34], 8
jb 0x101794b2
mov eax, dword [eax + 0x20]
jmp 0x101794b5
add eax, 0x20
mov edx, dword [esp + 0x18]
push eax
lea ecx, [ebx + 0x800]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
add ebx, 1
cmp ebx, dword [esp + 0x14]
jb 0x10179434
mov edi, dword [esp + 0x40]
mov esi, dword [edi + 0x18]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x101794f0
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov byte [esp + 0xa8], 2
cmp esi, ebx
je 0x1017956e
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0x36c
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0xa8], 3
cmp dword [esp + 0x90], ebx
je 0x1017955d
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push ebx
push ebx
push 0x800
push eax
call esi
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x1017954f
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x18]
push eax
push 0x7ff
push ebx
push ecx
call esi
mov byte [esp + 0xa8], 2
lea ecx, [esp + 0x7c]
call fcn.10001dd0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0xa8], 4
mov edx, dword [esp + 0x14]
sub edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push 1
push 1
push 1
sub edx, 1
push edx
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.100ec2e0
mov esi, dword [edi + 0x40]
add esp, 0x28
cmp esi, ebx
mov dword [esp + 0x24], esi
je 0x101795be
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov byte [esp + 0xa8], 5
cmp esi, ebx
je 0x101796b1
xor ebx, ebx
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov dword [esp + 0x3c], ebx
je 0x101796b1
mov eax, dword [esp + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x101796b1
mov edi, ebx
lea esi, [esp + 0x44]
call fcn.100ead40
cmp dword [eax], 0
je 0x101796a5
call fcn.100ead40
mov ecx, dword [eax]
mov ecx, dword [ecx]
cmp ecx, 0x800
jb 0x101796a5
mov edx, dword [esp + 0x14]
mov eax, edx
sub eax, ecx
add eax, 0x7ff
cmp eax, edx
jae 0x101796a5
mov esi, dword [esp + 0x54]
mov edi, eax
call fcn.1017b380
push eax
lea esi, [esp + 0x80]
call fcn.100076d0
mov byte [esp + 0xa8], 6
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, dword [edx + 0x40]
lea esi, [esp + 0x44]
call fcn.100ead40
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esi]
lea esi, [esp + 0x44]
mov dword [ecx + 4], eax
call fcn.100ead40
mov ecx, dword [eax]
push 0xffffffffffffffff
add ecx, 0x34
push 0
lea eax, [esp + 0x84]
call fcn.10007880
mov byte [esp + 0xa8], 5
lea ecx, [esp + 0x7c]
call fcn.10001dd0
mov ebx, edi
mov edi, dword [esp + 0x40]
add ebx, 1
jmp 0x101795d0
mov edx, dword [ebp + 8]
push edx
mov eax, edi
call fcn.10179150
mov ebx, eax
test ebx, ebx
jne 0x1017972c
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
push edx
call eax
lea esi, [esp + 0x18]
call fcn.10050270
lea esi, [esp + 0x44]
call fcn.100ec840
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x101796fb
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 2
lea esi, [esp + 0x44]
call fcn.100a0ee0
mov byte [esp + 0xa8], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10179be0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x10179be0
mov eax, dword [edi + 0x14]
test eax, eax
mov dword [esp + 0x54], 0
je 0x10179755
call fcn.100676c0
test eax, eax
mov dword [esp + 0x54], eax
je 0x10179755
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xbc]
push 0xffffffffffffffff
push ebx
call edx
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
test al, al
jne 0x1017978d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
call edx
lea esi, [esp + 0x18]
call fcn.10050270
lea esi, [esp + 0x44]
call fcn.100ec840
jmp 0x10179ba1
mov eax, dword [esi]
mov edx, dword [eax + 0xdc]
push 0x118
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
push 0
push 1
push ecx
mov ecx, dword [edi + 0x24]
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
call edx
lea esi, [esp + 0x18]
call fcn.10050270
lea esi, [esp + 0x44]
call fcn.100ec840
cmp dword [ebp + 8], 0x2776
jne 0x101797ea
cmp dword [ebp + 0xc], 0
je 0x101797f9
mov eax, dword [ebx]
mov ecx, dword [eax + 0x144]
push 0
push ebx
call ecx
jmp 0x10179806
mov edx, dword [ebx]
mov eax, dword [edx + 0xec]
push 0
push ebx
call eax
cmp dword [esp + 0x54], 0
je 0x1017981a
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xbc]
push 0xffffffffffffffff
push ebx
call edx
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1017991b
lea ecx, [esp + 0x64]
push ecx
push 0x2776
mov eax, edi
call fcn.10179c20
test al, al
je 0x1017991b
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0x24]
push ecx
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, edi
call fcn.10179da0
mov esi, eax
mov eax, edi
call fcn.10179d00
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2c]
mov ebx, edx
sub ebx, eax
mov eax, dword [esp + 0x78]
add esi, ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x74]
push eax
mov dword [esp + 0x64], edx
push ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1017991b
xor eax, eax
push 1
push 0x201
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x24]
push 0x201
push eax
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, dword [edi + 0x1c]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x1017992e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov byte [esp + 0xa8], 7
test esi, esi
jne 0x10179982
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10179951
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 2
lea esi, [esp + 0x44]
call fcn.100a0ee0
mov byte [esp + 0xa8], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10179be0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x10179be0
mov eax, dword [esp + 0x1c]
cmp eax, 0x7ff
jne 0x101799fd
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov byte [esp + 0xa8], 5
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x101799be
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 2
lea esi, [esp + 0x44]
call fcn.100a0ee0
mov byte [esp + 0xa8], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x101799e6
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa8], 0xffffffff
call fcn.101aa830
mov al, 1
jmp 0x10179bf2
cmp eax, 0x800
jb 0x10179b90
mov eax, dword [esp + 0x14]
mov ebx, eax
sub ebx, dword [esp + 0x1c]
add ebx, 0x7ff
cmp ebx, eax
jae 0x10179b2c
call fcn.101a7380
mov eax, dword [eax + 0x20]
test eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
je 0x10179a3c
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0xa8], 8
cmp dword [esp + 0x14], 0
je 0x10179aa2
mov edx, 0x1023f7ec
lea eax, [esp + 0x7c]
call fcn.10007690
mov byte [esp + 0xa8], 9
lea ecx, [esp + 0x7c]
push ecx
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x5c], esp
call eax
mov byte [esp + 0xb0], 0xa
mov byte [esp + 0xb0], 9
call fcn.1001aeb0
add esp, 8
mov byte [esp + 0xa8], 8
lea ecx, [esp + 0x7c]
call fcn.10001dd0
mov byte [esp + 0xa8], 7
cmp dword [esp + 0x14], 0
je 0x10179abc
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi + 0x3c]
cmp ebx, edi
jne 0x10179ace
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
jmp 0x10179b2c
mov edx, 0x1022fcf8
lea eax, [esp + 0x7c]
jae 0x10179afa
sub edi, ebx
call fcn.10007690
mov byte [esp + 0xa8], 0xb
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
neg edi
push edi
lea eax, [esp + 0x80]
push eax
jmp 0x10179b17
sub ebx, edi
call fcn.10007690
mov byte [esp + 0xa8], 0xc
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push ebx
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0xa8], 7
lea ecx, [esp + 0x7c]
call fcn.10001dd0
mov byte [esp + 0xa8], 5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10179b54
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0xa8], 2
lea esi, [esp + 0x44]
call fcn.100a0ee0
mov byte [esp + 0xa8], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10179b7c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0xa8], 0xffffffff
call fcn.101aa830
mov al, 1
jmp 0x10179bf2
mov byte [esp + 0xa8], 5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10179bb8
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0xa8], 2
lea esi, [esp + 0x44]
call fcn.100a0ee0
mov byte [esp + 0xa8], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10179be0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esp + 0xa8], 0xffffffff
call fcn.101aa830
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 8