Function at 0x4ca230
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b17c
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x5a83f8]
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 0x4ca91d
push 1
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00479ab0
push 0
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00472dd0
push 0x6c8
call fcn.0046ec33
add esp, 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x31c], 0
je 0x4ca2d8
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
push eax
mov ecx, dword [ebp - 0x31c]
call fcn.004c8330
mov dword [ebp - 0x320], eax
jmp 0x4ca2e2
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 str.VerticalLayout
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.004722c0
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x4ca397
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.004c9ee0
push eax
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4c0]
call fcn.00485c80
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004c9f00
push eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4c0]
call fcn.00485dc0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004c9f20
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.00485e80
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004c9f20
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.004c9f60
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.004053a0
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.00481030
mov dword [ebp - 0x2e0], 0
jmp 0x4ca546
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 0x4ca5d5
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 0x4ca537
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00471f20
cmp dword [ebp - 0x2d8], 0
je 0x4ca60a
mov eax, dword [ebp - 0x2d8]
add eax, 0x14
mov dword [ebp - 0x328], eax
jmp 0x4ca614
mov dword [ebp - 0x328], 0
mov ecx, dword [ebp - 0x328]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00471c40
lea edx, [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.004ca1e0
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.004053a0
push eax
push str.vscrollbar
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.00481030
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.004ca030
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.004053a0
push eax
push str.hscrollbar
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.00481030
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.004ca1a0
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.004053a0
push eax
push str.vscrollbarstyle
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.00481030
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.004c9ff0
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.004053a0
push eax
push str.hscrollbarstyle
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.00481030
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 0x4ca889
push 0x55eff4
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.004722c0
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x4ca889
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 0x4ca911
push str.HScrollBar
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.004722c0
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x4ca911
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 0x4caf95
cmp dword [ebp + 8], 0x10
jne 0x4caa94
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 0x4caa0e
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 0x4caa6d
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 0x4caf44
cmp dword [ebp + 8], 0x201
je 0x4caaaa
cmp dword [ebp + 8], 0x203
jne 0x4cab47
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.00472ca0
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.00472200
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
je 0x4cab42
push str.ScrollBar
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.00503c58
add esp, 8
test eax, eax
jne 0x4cab42
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 1
jmp 0x4caf44
cmp dword [ebp + 8], 0x202
jne 0x4cac18
mov edx, dword [ebp - 0x2d8]
movzx eax, byte [edx + 0x4c8]
test eax, eax
je 0x4cab77
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 0
jmp 0x4cac13
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.00472ca0
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.00472200
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x4cac13
push str.ScrollBar
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.00503c58
add esp, 8
test eax, eax
je 0x4cac13
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.0047b790
jmp 0x4caf44
cmp dword [ebp + 8], 0x100
jne 0x4cad26
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x2fc], 0xd
je 0x4cac94
cmp dword [ebp - 0x2fc], 0x1b
je 0x4cac42
jmp 0x4caca7
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.004c9c20
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.0047b790
jmp 0x4cad21
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.004c9c20
xor eax, eax
jmp 0x4caf95
jmp 0x4caf44
cmp dword [ebp + 8], 0x20a
jne 0x4caea7
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 0x4cad9d
mov dword [ebp - 0x300], 1
jmp 0x4cada7
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.004cb370
movzx edx, al
test edx, edx
je 0x4cae49
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.004c9c20
jmp 0x4cae9b
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 0x4caf95
cmp dword [ebp + 8], 8
jne 0x4caf44
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x4caf44
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 0x4caf24
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x2e4]
jne 0x4caf16
mov byte [ebp - 0x2d9], 1
jmp 0x4caf24
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x304], eax
jmp 0x4caee0
movzx ecx, byte [ebp - 0x2d9]
test ecx, ecx
jne 0x4caf44
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x2d8]
call fcn.0047b790
xor eax, eax
jmp 0x4caf95
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.00473330
movzx eax, al
test eax, eax
je 0x4caf7e
mov eax, dword [ebp - 0x308]
jmp 0x4caf95
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.0047b6c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ec22
mov esp, ebp
pop ebp
ret 0xc