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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp eax, 0x113
mov esi, ecx
mov dword [edi], ebx
ja 0x477f67
je 0x477d40
lea ecx, [eax - 2]
cmp ecx, 0x85
ja case.0x477cdb.3
movzx ecx, byte [ecx + 0x478634]
jmp dword [ecx*4 + 0x478620]
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x68], ebx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [edi], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.004776f0
mov dword [edi], ebx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push eax
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
or eax, 4
mov dword [edi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esi + 0xbc], bl
je case.0x477cdb.3
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esi + 0xd8]
cmp edi, ebx
jne 0x477d76
mov edi, dword [esi + 0xd4]
mov ecx, dword [esi + 0xe8]
cmp ecx, ebx
je 0x477d93
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test al, al
mov dword [esp + 0xc], 1
jne 0x477d97
mov dword [esp + 0xc], ebx
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov ebx, dword [edi]
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x6c]
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x24]
push ecx
push edx
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
jne 0x477ecb
test eax, eax
jne 0x477e39
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [esi + 0xe4]
mov edx, dword [edx + 0x8c]
push eax
call edx
jmp 0x477e88
cmp eax, 1
jne 0x477e4e
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
jmp 0x477e7f
cmp eax, 3
jne 0x477e6c
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [esi + 0xe4]
mov edx, dword [edx + 0x98]
push eax
call edx
jmp 0x477e88
cmp eax, 4
jne 0x477e88
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
mov edx, dword [esi + 0xe4]
push edx
call eax
mov ecx, dword [esi + 0x2c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [esi + 0x2c]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x2c]
push 0
push 0x64
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 2
jne case.0x477cdb.3
test eax, eax
jne 0x477ef1
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [esi + 0xe4]
mov edx, dword [edx + 0x8c]
push eax
call edx
jmp 0x477f40
cmp eax, 1
jne 0x477f06
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
jmp 0x477f37
cmp eax, 3
jne 0x477f24
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [esi + 0xe4]
mov edx, dword [edx + 0x98]
push eax
call edx
jmp 0x477f40
cmp eax, 4
jne 0x477f40
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
mov edx, dword [esi + 0xe4]
push edx
call eax
mov ecx, dword [esi + 0x2c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x202
ja 0x4785fc
je 0x4784ce
sub eax, 0x200
je 0x4781d0
sub eax, 1
jne case.0x477cdb.3
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esi + 0xd8]
cmp edi, ebx
jne 0x477fb6
mov edi, dword [esi + 0xd4]
mov ecx, dword [esi + 0xe8]
cmp ecx, ebx
je 0x477fd3
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
test al, al
mov dword [esp + 0xc], 1
jne 0x477fd7
mov dword [esp + 0xc], ebx
mov ecx, dword [esi + 0xe0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
mov ebx, dword [edi]
call edx
mov ecx, dword [esi + 0xe0]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x6c]
call edx
mov ecx, dword [esi + 0xe0]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x24]
push ecx
push edx
mov ecx, edi
call eax
test eax, eax
mov dword [esi + 0xc0], eax
mov edi, 2
je 0x4780f6
cmp eax, edi
je 0x4780f6
cmp eax, 4
je 0x4780f6
cmp eax, 1
jne 0x47809a
mov byte [esi + 0xbc], al
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x4780c5
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x94]
jmp 0x4780c3
cmp eax, 3
jne 0x478615
mov eax, dword [esi + 0xe4]
test eax, eax
mov byte [esi + 0xbc], 1
je 0x4780c5
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x98]
call eax
mov ecx, dword [esi + 0x2c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
mov edx, dword [esi + 0x2c]
push 0
push 0x1f4
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
mov byte [esi + 0xbc], 1
je 0x4781ae
cmp eax, 4
jne 0x47813c
cmp eax, eax
jne 0x478129
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x478129
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x90]
call eax
mov ecx, dword [esi + 0x2c]
push 0
push 0x1f4
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esi + 0xc4], edi
je 0x47815d
mov edx, dword [esi + 0x2c]
push 1
push 0
push edx
mov dword [esi + 0xc4], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
cmp dword [esi + 0xc0], edi
jne 0x478615
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
mov ecx, esi
mov byte [esi + 0xc8], 1
call edx
test al, al
mov eax, dword [esp + 0x18]
jne 0x478188
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xcc], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
mov eax, dword [eax]
mov dword [esi + 0xd0], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x478129
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x8c]
jmp 0x478127
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esi + 0xd8]
cmp edi, ebx
jne 0x4781fa
mov edi, dword [esi + 0xd4]
mov ecx, dword [esi + 0xe8]
cmp ecx, ebx
je 0x478217
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test al, al
mov dword [esp + 0xc], 1
jne 0x47821b
mov dword [esp + 0xc], ebx
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov ebx, dword [edi]
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x6c]
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x24]
push ecx
push edx
mov ecx, edi
call eax
cmp byte [esi + 0xbc], 0
je 0x47840d
cmp byte [esi + 0xc8], 0
je 0x478396
mov ecx, dword [esi + 0xe8]
test ecx, ecx
je 0x4782cb
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test al, al
mov dword [esp + 0xc], 1
jne 0x4782d3
mov dword [esp + 0xc], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov ecx, esi
call eax
test al, al
mov ebx, dword [esp + 0x18]
jne 0x4782eb
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub ebx, dword [esi + 0xcc]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esi + 0xd0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [edx + 0x28]
push ecx
push ebx
mov ecx, edi
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x5c]
call eax
cmp edi, dword [eax]
je case.0x477cdb.3
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov ebx, dword [esi]
call eax
sub edi, dword [eax]
mov edx, dword [ebx + 0x150]
push edi
mov ecx, esi
call edx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0xc4]
mov edi, 2
cmp ecx, edi
jne 0x4783b1
cmp eax, dword [esi + 0xc0]
je case.0x477cdb.3
test eax, eax
je 0x4783d5
cmp eax, edi
je 0x4783d5
cmp eax, 4
je 0x4783d5
test ecx, ecx
je case.0x477cdb.3
mov dword [esi + 0xc4], 0
jmp 0x4784b0
cmp eax, dword [esi + 0xc0]
jne case.0x477cdb.3
cmp ecx, edi
je case.0x477cdb.3
mov ecx, dword [esi + 0x2c]
push 1
push 0
push ecx
mov dword [esi + 0xc4], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test byte [ebp + 0x10], 1
jne case.0x477cdb.3
mov ecx, dword [esi + 0xc4]
cmp ecx, 1
jne 0x47842e
cmp eax, dword [esi + 0xc0]
je case.0x477cdb.3
test eax, eax
je 0x478481
cmp eax, 2
je 0x478481
cmp eax, 4
je 0x478481
test ecx, ecx
je 0x47845d
mov edx, dword [esi + 0x2c]
push 1
push 0
push edx
mov dword [esi + 0xc4], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004a137e
add esi, 0xc
cmp eax, esi
jne case.0x477cdb.3
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 1
mov dword [esi + 0xc0], eax
je 0x4784b0
mov dword [esi + 0xc4], 1
lea edi, [esi + 0xc]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004a137e
cmp eax, edi
je 0x4784b0
mov ecx, edi
call fcn.0040d200
mov eax, dword [esi + 0x2c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esi + 0xbc], bl
je 0x4785f1
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esi + 0xd8]
cmp edi, ebx
jne 0x478504
mov edi, dword [esi + 0xd4]
mov ecx, dword [esi + 0xe8]
cmp ecx, ebx
je 0x478521
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test al, al
mov dword [esp + 0xc], 1
jne 0x478525
mov dword [esp + 0xc], ebx
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
mov ebx, dword [edi]
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x6c]
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x64]
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x24]
push ecx
push edx
mov ecx, edi
call eax
mov ecx, dword [esi + 0x2c]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 1
push ecx
call edi
mov edx, dword [esi + 0x2c]
push 2
push edx
call edi
cmp byte [esi + 0xc8], 0
je 0x4785c4
mov byte [esi + 0xc8], 0
cmp dword [esi + 0xc4], 0
je 0x4785ea
mov eax, dword [esi + 0x2c]
push 1
push 0
push eax
mov dword [esi + 0xc4], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004776f0
mov byte [esi + 0xbc], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x8002
jne case.0x477cdb.3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push esi
call eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10