Function at 0x4cd980
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f67c
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d8], ecx
cmp dword [ebp + 8], 1
jne 0x4ce06d
push 1
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0047d100
push 0
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00476420
push 0x6c8
call fcn.00472283
add esp, 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x31c], 0
je 0x4cda28
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
push eax
mov ecx, dword [ebp - 0x31c]
call fcn.004cbb30
mov dword [ebp - 0x320], eax
jmp 0x4cda32
mov dword [ebp - 0x320], 0
mov ecx, dword [ebp - 0x320]
mov dword [ebp - 0x344], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x344]
mov dword [edx + 0x4c0], eax
push 1
push 0
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x28]
call eax
push 0x560bf8
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00475930
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x4cdae7
mov ecx, dword [ebp - 0x324]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x130]
call eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
call fcn.004cd650
push eax
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4c0]
call fcn.004892a0
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004cd670
push eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4c0]
call fcn.004893e0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004cd690
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4c0]
call fcn.004894a0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004cd690
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x16c]
call eax
push 0
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x18c]
call eax
push 0
push 1
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x1e0]
call eax
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.004cd6d0
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x33c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x33c]
call fcn.00403be0
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x130]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.00484630
mov dword [ebp - 0x2e0], 0
jmp 0x4cdc96
mov ecx, dword [ebp - 0x2e0]
add ecx, 1
mov dword [ebp - 0x2e0], ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
add ecx, 0x658
mov edx, dword [eax + 0x658]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebp - 0x2e0], eax
jge 0x4cdd25
mov ecx, dword [ebp - 0x2e0]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
add ecx, 0x658
mov edx, dword [eax + 0x658]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4c0]
add ecx, 0x658
mov edx, dword [edx + 0x658]
mov eax, dword [edx + 0x14]
call eax
jmp 0x4cdc87
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00475590
cmp dword [ebp - 0x2d8], 0
je 0x4cdd5a
mov eax, dword [ebp - 0x2d8]
add eax, 0x14
mov dword [ebp - 0x328], eax
jmp 0x4cdd64
mov dword [ebp - 0x328], 0
mov ecx, dword [ebp - 0x328]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.004752b0
lea edx, [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004cd930
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x338], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x338]
call fcn.00403be0
push eax
push 0x562be0
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.00484630
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.004cd780
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x350], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x350]
call fcn.00403be0
push eax
push 0x562c10
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00484630
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.004cd8f0
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x358], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x358]
call fcn.00403be0
push eax
push 0x5630ac
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00484630
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.004cd740
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x330], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x330]
call fcn.00403be0
push eax
push 0x5630cc
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00484630
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x1e4]
call eax
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
je 0x4cdfd9
push 0x563044
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00475930
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x4cdfd9
mov ecx, dword [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x2e8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [eax + 0x130]
call edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4c0]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x4c0]
mov edx, dword [eax + 0x1e8]
call edx
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0
je 0x4ce061
push 0x56305c
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x4bc]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00475930
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x4ce061
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x130]
call eax
xor eax, eax
jmp 0x4ce6e5
cmp dword [ebp + 8], 0x10
jne 0x4ce1e4
push 0
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x2c]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x24]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4ce15e
push 0
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x40]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x4c]
call eax
jmp 0x4ce1bd
push 0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x44]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x104]
call eax
jmp 0x4ce694
cmp dword [ebp + 8], 0x201
je 0x4ce1fa
cmp dword [ebp + 8], 0x203
jne 0x4ce297
mov dword [ebp - 0x318], 0
xor ecx, ecx
mov dword [ebp - 0x314], ecx
lea edx, [ebp - 0x318]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.004762f0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x318]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00475870
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
je 0x4ce292
push 0x560b40
mov eax, dword [ebp - 0x2f0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2f0]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.00507cfd
add esp, 8
test eax, eax
jne 0x4ce292
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 1
jmp 0x4ce694
cmp dword [ebp + 8], 0x202
jne 0x4ce368
mov edx, dword [ebp - 0x2d8]
movzx eax, byte [edx + 0x4c8]
test eax, eax
je 0x4ce2c7
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 0
jmp 0x4ce363
mov dword [ebp - 0x310], 0
xor edx, edx
mov dword [ebp - 0x30c], edx
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x310]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.004762f0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x310]
push eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00475870
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x4ce363
push 0x560b40
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.00507cfd
add esp, 8
test eax, eax
je 0x4ce363
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.0047edc0
jmp 0x4ce694
cmp dword [ebp + 8], 0x100
jne 0x4ce476
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x2fc], 0xd
je 0x4ce3e4
cmp dword [ebp - 0x2fc], 0x1b
je 0x4ce392
jmp 0x4ce3f7
push 1
push 1
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c4]
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c4]
push edx
mov ecx, dword [ebp - 0x2d8]
call fcn.004cd420
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.0047edc0
jmp 0x4ce471
mov dword [ebp - 0x39c], 3
mov ax, word [ebp + 0xc]
mov word [ebp - 0x388], ax
lea ecx, [ebp - 0x39c]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x120]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.004cd420
xor eax, eax
jmp 0x4ce6e5
jmp 0x4ce694
cmp dword [ebp + 8], 0x20a
jne 0x4ce5f7
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x334], edx
mov dword [ebp - 0x37c], 0
xor eax, eax
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x37c], 0x13
cmp dword [ebp - 0x334], 0
jge 0x4ce4ed
mov dword [ebp - 0x300], 1
jmp 0x4ce4f7
mov dword [ebp - 0x300], 0
mov ecx, dword [ebp - 0x300]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x364], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x360], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
call fcn.004ceac0
movzx edx, al
test edx, edx
je 0x4ce599
lea eax, [ebp - 0x37c]
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x120]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.004cd420
jmp 0x4ce5eb
lea ecx, [ebp - 0x37c]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x120]
call eax
lea ecx, [ebp - 0x37c]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x120]
call eax
xor eax, eax
jmp 0x4ce6e5
cmp dword [ebp + 8], 8
jne 0x4ce694
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x4ce694
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x2e4], 0
mov byte [ebp - 0x2d9], 0
mov eax, dword [ebp - 0x304]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
je 0x4ce674
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x2e4]
jne 0x4ce666
mov byte [ebp - 0x2d9], 1
jmp 0x4ce674
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x304], eax
jmp 0x4ce630
movzx ecx, byte [ebp - 0x2d9]
test ecx, ecx
jne 0x4ce694
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x2d8]
call fcn.0047edc0
xor eax, eax
jmp 0x4ce6e5
mov dword [ebp - 0x308], 0
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00476980
movzx eax, al
test eax, eax
je 0x4ce6ce
mov eax, dword [ebp - 0x308]
jmp 0x4ce6e5
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.0047ecf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0xc