Function at 0x491d70
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ede1
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x5df040]
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 0x49245d
push 1
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0042dc00
push 0
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00426ff0
push 0x6c8
call fcn.004234a3
add esp, 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x31c], 0
je 0x491e18
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
push eax
mov ecx, dword [ebp - 0x31c]
call fcn.0048ff10
mov dword [ebp - 0x320], eax
jmp 0x491e22
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.004264d0
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x491ed7
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.00491a30
push eax
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4c0]
call fcn.0044c260
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00491a50
push eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4c0]
call fcn.0044c3a0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00491a70
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.0044c460
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00491a70
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.00491ab0
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.00430170
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.0042f7d0
mov dword [ebp - 0x2e0], 0
jmp 0x492086
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 0x492115
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 0x492077
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00426130
cmp dword [ebp - 0x2d8], 0
je 0x49214a
mov eax, dword [ebp - 0x2d8]
add eax, 0x14
mov dword [ebp - 0x328], eax
jmp 0x492154
mov dword [ebp - 0x328], 0
mov ecx, dword [ebp - 0x328]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00425e50
lea edx, [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.00491d20
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.00430170
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.0042f7d0
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.00491b70
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.00430170
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.0042f7d0
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.00491ce0
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.00430170
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.0042f7d0
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.00491b30
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.00430170
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.0042f7d0
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 0x4923c9
push 0x588404
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.004264d0
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x4923c9
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 0x492451
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.004264d0
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x492451
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 0x492ac9
cmp dword [ebp + 8], 0x10
jne 0x4925d4
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 0x49254e
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 0x4925ad
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 0x492a78
cmp dword [ebp + 8], 0x201
je 0x4925ea
cmp dword [ebp + 8], 0x203
jne 0x492683
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.00426ec0
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.00426410
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
je 0x49267e
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.0055f86b
add esp, 8
test eax, eax
jne 0x49267e
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 1
jmp 0x492a78
cmp dword [ebp + 8], 0x202
jne 0x492750
mov edx, dword [ebp - 0x2d8]
movzx eax, byte [edx + 0x4c8]
test eax, eax
je 0x4926b3
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 0
jmp 0x49274b
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.00426ec0
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.00426410
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x49274b
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.0055f86b
add esp, 8
test eax, eax
je 0x49274b
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.00431260
jmp 0x492a78
cmp dword [ebp + 8], 0x100
jne 0x49285e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x2fc], 0xd
je 0x4927cc
cmp dword [ebp - 0x2fc], 0x1b
je 0x49277a
jmp 0x4927df
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.00491800
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.00431260
jmp 0x492859
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.00491800
xor eax, eax
jmp 0x492ac9
jmp 0x492a78
cmp dword [ebp + 8], 0x20a
jne 0x4929db
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 0x4928d1
mov dword [ebp - 0x300], 1
jmp 0x4928db
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.00492eb0
movzx edx, al
test edx, edx
je 0x49297d
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.00491800
jmp 0x4929cf
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 0x492ac9
cmp dword [ebp + 8], 8
jne 0x492a78
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x492a78
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 0x492a58
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x2e4]
jne 0x492a4a
mov byte [ebp - 0x2d9], 1
jmp 0x492a58
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x304], eax
jmp 0x492a14
movzx ecx, byte [ebp - 0x2d9]
test ecx, ecx
jne 0x492a78
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x2d8]
call fcn.00431260
xor eax, eax
jmp 0x492ac9
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.00427550
movzx eax, al
test eax, eax
je 0x492ab2
mov eax, dword [ebp - 0x308]
jmp 0x492ac9
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.00431180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423495
mov esp, ebp
pop ebp
ret 0xc