Function at 0x490d90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ddb1
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x5e1040]
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 0x49147d
push 1
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0042cc20
push 0
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00426010
push 0x6c8
call fcn.004224c3
add esp, 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x31c], 0
je 0x490e38
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
push eax
mov ecx, dword [ebp - 0x31c]
call fcn.0048ef30
mov dword [ebp - 0x320], eax
jmp 0x490e42
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.004254f0
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x490ef7
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.00490a50
push eax
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4c0]
call fcn.0044b290
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00490a70
push eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4c0]
call fcn.0044b3d0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00490a90
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.0044b490
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00490a90
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.00490ad0
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.0042f190
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.0042e7f0
mov dword [ebp - 0x2e0], 0
jmp 0x4910a6
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 0x491135
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 0x491097
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00425150
cmp dword [ebp - 0x2d8], 0
je 0x49116a
mov eax, dword [ebp - 0x2d8]
add eax, 0x14
mov dword [ebp - 0x328], eax
jmp 0x491174
mov dword [ebp - 0x328], 0
mov ecx, dword [ebp - 0x328]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00424e70
lea edx, [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00490d40
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.0042f190
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.0042e7f0
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.00490b90
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.0042f190
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.0042e7f0
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.00490d00
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.0042f190
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.0042e7f0
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.00490b50
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.0042f190
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.0042e7f0
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 0x4913e9
push 0x587414
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.004254f0
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x4913e9
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 0x491471
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.004254f0
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x491471
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 0x491ae9
cmp dword [ebp + 8], 0x10
jne 0x4915f4
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 0x49156e
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 0x4915cd
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 0x491a98
cmp dword [ebp + 8], 0x201
je 0x49160a
cmp dword [ebp + 8], 0x203
jne 0x4916a3
xor ecx, ecx
mov dword [ebp - 0x318], 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.00425ee0
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.00425430
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
je 0x49169e
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.0055e8bb
add esp, 8
test eax, eax
jne 0x49169e
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 1
jmp 0x491a98
cmp dword [ebp + 8], 0x202
jne 0x491770
mov edx, dword [ebp - 0x2d8]
movzx eax, byte [edx + 0x4c8]
test eax, eax
je 0x4916d3
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 0
jmp 0x49176b
xor edx, edx
mov dword [ebp - 0x310], 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.00425ee0
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.00425430
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x49176b
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.0055e8bb
add esp, 8
test eax, eax
je 0x49176b
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.00430280
jmp 0x491a98
cmp dword [ebp + 8], 0x100
jne 0x49187e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x2fc], 0xd
je 0x4917ec
cmp dword [ebp - 0x2fc], 0x1b
je 0x49179a
jmp 0x4917ff
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.00490820
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.00430280
jmp 0x491879
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.00490820
xor eax, eax
jmp 0x491ae9
jmp 0x491a98
cmp dword [ebp + 8], 0x20a
jne 0x4919fb
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x334], edx
xor eax, eax
mov dword [ebp - 0x37c], 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 0x4918f1
mov dword [ebp - 0x300], 1
jmp 0x4918fb
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.00491ed0
movzx edx, al
test edx, edx
je 0x49199d
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.00490820
jmp 0x4919ef
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 0x491ae9
cmp dword [ebp + 8], 8
jne 0x491a98
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x491a98
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 0x491a78
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x2e4]
jne 0x491a6a
mov byte [ebp - 0x2d9], 1
jmp 0x491a78
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x304], eax
jmp 0x491a34
movzx ecx, byte [ebp - 0x2d9]
test ecx, ecx
jne 0x491a98
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x2d8]
call fcn.00430280
xor eax, eax
jmp 0x491ae9
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.00426570
movzx eax, al
test eax, eax
je 0x491ad2
mov eax, dword [ebp - 0x308]
jmp 0x491ae9
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.004301a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret 0xc