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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x58]
push ebp
mov ebp, dword [0x44d3b4]
push esi
mov esi, eax
lea eax, [ebx - 0x200]
push edi
mov edi, ecx
cmp eax, 0xe
ja 0x409e4c
mov ecx, dword [edi + 0x68]
push ecx
call dword [0x44d33c]
test eax, eax
je 0x409e4c
mov edx, dword [edi + 4]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ebx
call dword [0x44d394]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
push ecx
push 0
mov dword [esp + 0x60], edx
mov edx, dword [edi + 0x68]
push 0x407
push edx
mov dword [esp + 0x6c], eax
call ebp
cmp ebx, 0x20
je 0x409e69
cmp ebx, 0x200
jb 0x40a39f
cmp ebx, 0x206
ja 0x40a39f
movzx eax, si
mov dword [esp + 0x34], eax
mov eax, esi
shr eax, 0x10
mov dword [esp + 0x38], eax
cmp ebx, 0x20
jne 0x409eb3
mov ecx, dword [esp + 0x68]
cmp ecx, dword [edi + 4]
jne 0x40a39f
cmp si, 1
jne 0x40a39f
lea edx, [esp + 0x34]
push edx
call dword [0x44d394]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [0x44d380]
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0xbc]
xor edx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], edx
cmp ecx, edx
je 0x409f57
mov eax, dword [ecx + 0x20]
push eax
call fcn.0040c9c0
mov ebx, dword [edi + 0xbc]
mov esi, eax
mov eax, edi
call fcn.0040e270
lea edx, [esp + 0x24]
push edx
push esi
mov ebx, eax
mov eax, dword [edi + 4]
push 0x198
push eax
call ebp
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x24]
mov edx, dword [edi + 0xbc]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x28]
sub eax, ebx
mov esi, eax
sub esi, dword [edx + 0xc]
mov dword [esp + 0x68], edx
mov dword [esp + 0x3c], esi
mov esi, ecx
sub esi, dword [edx + 0x10]
cmp dword [esp + 0x64], 0x200
mov dword [esp + 0x40], esi
jne 0x40a2cc
push ecx
mov ecx, edx
push eax
add ecx, 0xc
push ecx
call dword [0x44d3a0]
test eax, eax
je 0x40a231
mov edx, dword [edi + 0xbc]
mov dword [esp + 0x18], edx
jmp 0x40a231
movzx ecx, word [esp + 0x34]
mov edx, dword [edi + 4]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x1a9
push edx
call ebp
movzx esi, ax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
cmp esi, 0xffff
je 0x409faa
mov ecx, dword [edi + 4]
lea eax, [esp + 0x44]
push eax
push esi
push 0x198
push ecx
call ebp
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x50]
jl 0x409fad
or esi, 0xffffffff
cmp ebx, 0x200
jne 0x40a00a
cmp dword [edi + 0x78], 0
je 0x40a00a
mov eax, dword [edi + 0xb8]
cmp esi, eax
je 0x40a00a
mov ebx, dword [0x44d368]
mov dword [edi + 0xb8], esi
cmp eax, 0xffffffff
je 0x409ff4
mov edx, dword [edi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x198
push edx
call ebp
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0x28]
push eax
push ecx
call ebx
cmp dword [edi + 0xb8], 0xffffffff
je 0x40a00a
mov eax, dword [edi + 4]
push 0
lea edx, [esp + 0x48]
push edx
push eax
call ebx
cmp esi, 0xffffffff
je 0x40a223
mov ecx, dword [edi + 4]
push 0
push esi
push 0x199
push ecx
call ebp
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x40a223
test eax, eax
je 0x40a223
mov esi, dword [eax + 0x10]
test esi, esi
jl 0x40a223
mov ecx, dword [edi + 0xac]
sub ecx, dword [edi + 0xa8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jge 0x40a223
mov ecx, dword [edi + 0xac]
sub ecx, dword [edi + 0xa8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x40a08c
call fcn.00436bb6
mov eax, dword [edi + 0xa8]
lea edx, [esi + esi*2]
mov ebp, dword [eax + edx*8 + 0xc]
lea ebx, [eax + edx*8]
mov dword [esp + 0x14], ebx
cmp ebp, dword [ebx + 0x10]
jbe 0x40a0aa
call fcn.00436bb6
mov esi, dword [ebx]
lea esp, [esp]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xc], ebx
jbe 0x40a0c1
call fcn.00436bb6
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
test esi, esi
je 0x40a0cf
cmp esi, eax
je 0x40a0d4
call fcn.00436bb6
cmp ebp, ebx
je 0x40a223
test esi, esi
jne 0x40a151
call fcn.00436bb6
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x40a0f1
call fcn.00436bb6
mov eax, dword [esp + 0x34]
cmp eax, dword [ebp + 8]
jl 0x40a130
test esi, esi
jne 0x40a155
call fcn.00436bb6
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x40a10f
call fcn.00436bb6
test esi, esi
jne 0x40a159
call fcn.00436bb6
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x40a124
call fcn.00436bb6
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp + 8]
cmp dword [esp + 0x34], ecx
jl 0x40a161
test esi, esi
jne 0x40a15d
call fcn.00436bb6
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x40a145
call fcn.00436bb6
mov ebx, dword [esp + 0x14]
add ebp, 0x10
jmp 0x40a0b0
mov eax, dword [esi]
jmp 0x40a0e7
mov eax, dword [esi]
jmp 0x40a105
mov eax, dword [esi]
jmp 0x40a11a
mov eax, dword [esi]
jmp 0x40a13b
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0xc]
cmp ebx, dword [eax + 0x10]
jbe 0x40a176
call fcn.00436bb6
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test esi, esi
je 0x40a180
cmp esi, eax
je 0x40a185
call fcn.00436bb6
sub ebp, ebx
sar ebp, 4
mov dword [esp + 0x20], ebp
cmp ebp, 0xffffffff
je 0x40a223
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
test eax, eax
jle 0x40a223
mov edi, edi
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x40a2bb
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 4]
jge 0x40a2bb
mov ecx, dword [ecx]
mov ebx, dword [ecx + eax*4]
mov edx, dword [esp + 0x20]
cmp edx, dword [ebx + 0x24]
jne 0x40a214
mov eax, edi
call fcn.0040e270
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
sub ebp, dword [esp + 0x48]
sub esi, eax
mov eax, dword [ebx + 4]
sub esi, dword [esp + 0x44]
test al, 1
je 0x40a214
shr eax, 2
not eax
test al, 1
je 0x40a214
push ebp
push esi
lea eax, [ebx + 0xc]
push eax
call dword [0x44d3a0]
test eax, eax
jne 0x40a2a0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jl 0x40a1b0
cmp dword [esp + 0x64], 0x200
jne 0x40a2cc
mov ecx, dword [edi + 0xc0]
cmp dword [esp + 0x18], ecx
je 0x40a264
test ecx, ecx
je 0x40a248
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc0], eax
test eax, eax
je 0x40a264
mov ecx, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x3c]
push eax
call edx
cmp dword [esp + 0x68], 0
je 0x40a395
mov eax, dword [esp + 0x64]
cmp eax, 0x200
jne 0x40a31a
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc
sub esi, dword [ebx + 0xc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], esi
sub ebp, dword [ebx + 0x10]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], ebp
jmp 0x40a223
push 0
push 0
push 1
push 0xc000008c
call dword [0x44d1f8]
cmp dword [esp + 0x64], 0x20
jne 0x40a264
cmp dword [esp + 0x68], 0
je 0x40a303
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x3c]
push edx
call eax
test eax, eax
je 0x40a303
mov ecx, dword [esp + 0x6c]
mov eax, 1
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc
mov ecx, dword [esp + 0x6c]
xor eax, eax
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc
cmp eax, 0x201
jne 0x40a343
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc
cmp eax, 0x202
jne 0x40a36c
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc
cmp eax, 0x203
jne 0x40a39f
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x6c]
mov dword [edx], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0xc