Function at 0x40bbc6
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push 0x15c
mov eax, 0x4b619e
call fcn.00470654
mov ebx, ecx
mov dword [ebp - 0x14c], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x13c], eax
cmp dword [ebx + 0x44], eax
je 0x40dbe7
lea ecx, [ebx + 0x224]
mov dword [ebp - 0x144], eax
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp - 0x128]
inc ecx
test eax, eax
jle 0x40bc7f
mov ecx, dword [ebp - 0x144]
push ecx
lea ecx, [ebx + 0x224]
mov byte [ebp - 0x145], 0
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
lea ecx, [ebp - 0x145]
push ecx
push edi
push dword [ebp - 0x12c]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x145], 0
jne 0x40bcd6
inc dword [ebp - 0x144]
lea ecx, [ebx + 0x224]
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov ecx, dword [ebp - 0x144]
cmp ecx, eax
jl 0x40bc30
xor ecx, ecx
inc ecx
mov dl, byte [ebx + 0x10d]
test dl, dl
je 0x40bd70
mov eax, esi
sub eax, 0x83
je 0x40bd62
dec eax
sub eax, 1
je 0x40bd62
sub eax, 1
jne 0x40bd70
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40dbe7
cmp dword [ebp - 0x12c], eax
sete al
mov ecx, dword [ebp - 0x140]
mov dword [ecx], eax
mov al, 1
jmp 0x40dbe9
mov ecx, dword [ebp - 0x140]
mov dword [ecx], eax
sub esi, 0x7b
je 0x40bcff
sub esi, 0x185
je 0x40bd44
sub esi, 1
je 0x40bd44
sub esi, 1
je 0x40bd44
sub esi, 1
je 0x40bd44
sub esi, 7
jne 0x40bccf
mov ecx, dword [ebp - 0x128]
movsx eax, cx
mov dword [ebp - 0x134], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc0], ecx
jmp 0x40bccf
mov eax, dword [ebp - 0x128]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0xbc], ecx
mov dword [ebx + 0xc0], eax
jmp 0x40bccf
mov ecx, dword [ebp - 0x140]
and dword [ecx], 0
jmp 0x40bccf
mov eax, 0x111
cmp esi, eax
ja 0x40cf04
je 0x40cee7
cmp esi, 0x21
ja 0x40cc2f
je 0x40cc11
sub esi, 5
je 0x40cb8d
sub esi, 3
je 0x40cae9
sub esi, 7
je 0x40bf9d
sub esi, 1
je 0x40bebf
sub esi, 4
je 0x40beaf
sub esi, 0xc
jne 0x40dbe7
cmp dword [ebx + 0xa4], esi
je 0x40dbe7
cmp di, cx
jne 0x40dbe7
cmp byte [ebx + 0x1f9], 0
jne 0x40bccf
lea eax, [ebp - 0x158]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x158], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x154]
mov ecx, ebx
push dword [ebp - 0x158]
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x40dbe7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test al, 2
je 0x40dbe7
mov ecx, dword [ebp - 0x154]
xor eax, eax
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xa0], 0x17
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
call fcn.0040bb7a
mov word [ebp - 0x8a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x98], eax
mov ecx, esi
mov edx, dword [esi]
lea eax, [ebp - 0xa0]
push eax
call dword [edx + 0x11c]
jmp 0x40bccf
mov ecx, dword [ebp - 0x140]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x40dbe9
mov ecx, dword [ebx + 0xc0]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xbc]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0040bb7a
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xac]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x40bf16
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x40bf36
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
push 0
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI___bool_
mov esi, dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x40bf81
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x44]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x40bf76
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x40bf81
push esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x6c], 0
je 0x40dbe7
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0x6c], 0
jmp 0x40dbe7
xor eax, eax
cmp dword [ebx + 0xa4], eax
jne 0x40bfe9
push 0x40
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00472380
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0x48]
call sym.BearSCInstall.exe_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawColor_struct_HDC_____struct_tagRECT_const___unsigned_long_int_
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x40bccf
xor eax, eax
lea edi, [ebp - 0x114]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x70]
cmp byte [ebx + 0x10d], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x40c0a5
lea eax, [ebx + 0x124]
mov byte [ebx + 0x10b], 1
mov esi, eax
lea edi, [ebp - 0x70]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x40c06a
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.00472380
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xc0]
jmp 0x40bfda
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x10c]
push 0x10
cmovg eax, dword [ebp - 0x10c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x108]
push 0
cmovg eax, dword [ebp - 0x108]
mov dword [ebp - 0x64], eax
lea eax, [ebx + 0x124]
push eax
call fcn.00472380
add esp, 0xc
jmp 0x40c0bc
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x40bccf
cmp byte [ebx + 0x10a], 0
je 0x40c0ce
push 1
mov ecx, ebx
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
push 1
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetPainting_bool_
cmp byte [ebx + 0x109], 0
je 0x40c2b2
lea eax, [ebp - 0x114]
mov byte [ebx + 0x109], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40c344
mov ecx, dword [ebx + 0xa4]
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CControlUI::IsUpdateNeeded_void_const
test al, al
je 0x40c1b4
cmp dword [ebx + 0x4c], 0
lea esi, [ebp - 0x114]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40c12f
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebx + 0x50], 0
je 0x40c13e
push dword [ebx + 0x50]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebx + 0x54], 0
je 0x40c14d
push dword [ebx + 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebx + 0x5c], 0
je 0x40c15c
push dword [ebx + 0x5c]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x5c], eax
cmp byte [ebx + 0x10d], al
je 0x40c196
mov eax, dword [ebx + 0x110]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x114]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x118]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x11c]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xa4]
lea esi, [ebp - 0x20]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
jmp 0x40c257
lea edi, [ebx + 0x26c]
mov ecx, edi
mov dword [ebp - 0x138], edi
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::Empty_void_
mov ecx, dword [ebx + 0xa4]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push sym.BearSCInstall.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlsFromUpdate_class_DuiLib::CControlUI___void__
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, edi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40c257
xor ebx, ebx
push ebx
mov ecx, edi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x13c], esi
mov edx, dword [esi]
call dword [edx + 0x108]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x144], edx
test al, al
jne 0x40c21c
call dword [edx + 0x40]
jmp 0x40c223
lea eax, [ebp - 0x80]
push eax
call dword [edx + 0x44]
mov ecx, dword [ebp - 0x13c]
mov esi, eax
mov eax, dword [ebp - 0x144]
push 1
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov edi, dword [ebp - 0x138]
inc ebx
mov ecx, edi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x40c1ef
mov ebx, dword [ebp - 0x14c]
cmp byte [ebx + 0x108], 0
je 0x40c344
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0x4bbc0c
push dword [ebx + 0xa4]
mov byte [ebx + 0x108], al
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___char_const___unsigned_int__long_int__bool__bool_
cmp byte [ebx + 0x10d], 0
je 0x40c344
cmp byte [ebx + 0x120], 0
je 0x40c344
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Invalidate_void_
push 0
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetPainting_bool_
jmp 0x40bccf
cmp byte [ebx + 0x10d], 0
je 0x40c344
cmp byte [ebx + 0x120], 0
je 0x40c344
cmp dword [ebx + 0x58], 0
lea esi, [ebp - 0x114]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x40c307
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x110]
sub eax, dword [ebp - 0x114]
imul ecx, eax
shl ecx, 2
push ecx
push 0
push dword [ebx + 0x58]
call fcn.00472380
add esp, 0xc
mov eax, dword [ebx + 0x110]
lea esi, [ebp - 0x20]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x114]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x118]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x11c]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xa4]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
xor esi, esi
cmp byte [ebx + 0x10b], 0
je 0x40c3ba
cmp dword [ebx + 0x54], esi
jne 0x40c3ba
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [ebx + 0x10d], 0
mov dword [ebx + 0x4c], eax
je 0x40c394
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [ebx + 0x48]
call sym.BearSCInstall.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_long_int___
add esp, 0x10
jmp 0x40c3b7
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x54], eax
push 0x40
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.00472380
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x10b], 0
je 0x40ca91
push dword [ebx + 0x54]
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x4c]
mov dword [ebp - 0x130], eax
call dword [sym.imp.GDI32.dll_SaveDC]
xor edx, edx
mov dword [ebp - 0x128], eax
cmp byte [ebx + 0x10d], dl
je 0x40c45e
cmp dword [ebx + 0x1c0], edx
jne 0x40c45e
mov ecx, dword [ebp - 0x108]
mov esi, ecx
sub esi, dword [ebp - 0x64]
jmp 0x40c455
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x68]
jge 0x40c454
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x114]
mov eax, dword [ebx + 0x58]
imul ecx, esi
add ecx, edi
inc edi
mov dword [eax + ecx*4], edx
cmp edi, dword [ebp - 0x68]
jl 0x40c431
mov ecx, dword [ebp - 0x108]
inc esi
mov eax, ecx
sub eax, dword [ebp - 0x6c]
cmp esi, eax
jl 0x40c429
mov ecx, dword [ebx + 0xa4]
push edx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ecx]
push dword [ebx + 0x4c]
call dword [eax + 0x138]
cmp byte [ebx + 0x10d], 0
je 0x40c6b5
lea ecx, [ebx + 0x23c]
xor esi, esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40c6b5
push esi
lea ecx, [ebx + 0x23c]
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov edi, eax
push edi
mov dword [ebp - 0x138], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40c4d6
push 1
push esi
lea ecx, [ebx + 0x23c]
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CDuiPtrArray::Remove_int__int_
push 1
push esi
lea ecx, [ebx + 0x248]
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CDuiPtrArray::Remove_int__int_
jmp 0x40c6a2
inc esi
push edi
mov dword [ebp - 0x150], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40c6a2
push edi
lea eax, [ebp - 0x124]
mov ecx, ebx
push eax
call sym.BearSCInstall.exe_public:_struct_tagRECT___thiscall_DuiLib::CPaintManagerUI::GetNativeWindowRect_struct_HWND____
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x40c6a2
push dword [ebx + 0x4c]
and dword [ebp - 0x13c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x118]
mov edi, eax
sub ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x13c]
push eax
push ecx
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x124]
push ecx
push edi
mov dword [ebp - 0x140], edi
call sym.BearSCInstall.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_long_int___
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
sub edx, dword [ebp - 0x124]
sub ecx, dword [ebp - 0x120]
imul edx, ecx
mov dword [ebp - 0x12c], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x13c]
call fcn.00472380
add esp, 0x1c
push dword [ebp - 0x12c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push dword [ebp - 0x138]
mov dword [ebp - 0x154], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x118]
xor edx, edx
mov ecx, edi
mov dword [ebp - 0x144], edx
sub ecx, dword [ebp - 0x120]
test ecx, ecx
mov ecx, dword [ebp - 0x11c]
jle 0x40c652
mov ebx, dword [ebp - 0x124]
mov eax, ecx
mov esi, edx
sub eax, ebx
test eax, eax
jle 0x40c62d
mov edi, dword [ebp - 0x144]
imul edi, eax
mov eax, dword [ebp - 0x13c]
add edi, esi
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40c61e
mov ecx, dword [ebp - 0x13c]
or eax, 0xff000000
mov dword [ecx + edi*4], eax
mov ecx, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x124]
mov eax, ecx
inc esi
sub eax, ebx
cmp esi, eax
jl 0x40c5ec
mov edi, dword [ebp - 0x118]
mov esi, dword [ebp - 0x144]
mov eax, edi
sub eax, dword [ebp - 0x120]
inc esi
mov dword [ebp - 0x144], esi
cmp esi, eax
jl 0x40c5e2
mov ebx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x124]
sub ecx, eax
push 0xcc0020
push edx
push edx
push dword [ebp - 0x140]
mov edx, dword [ebp - 0x120]
sub edi, edx
push edi
push ecx
push edx
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x154]
mov edi, dword [ebp - 0x140]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x12c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebx + 0x23c]
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x40c496
lea edi, [ebx + 0x230]
xor esi, esi
mov ecx, edi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40c6ed
push esi
mov ecx, edi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
lea ecx, [ebp - 0x70]
push ecx
push dword [ebx + 0x4c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
mov ecx, edi
inc esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x40c6c8
push dword [ebp - 0x128]
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x10d], 0
je 0x40ca0b
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10c]
lea esi, [ebp - 0x114]
sub eax, dword [ebp - 0x114]
lea edi, [ebp - 0x20]
mov edx, dword [ebp - 0x108]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x140], eax
mov eax, edx
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x110]
add eax, dword [ebp - 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x114]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x118]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x11c]
sub dword [ebp - 0x14], eax
cmp dword [ebx + 0x1c0], ecx
je 0x40c989
cmp dword [ebx + 0x5c], ecx
jne 0x40c7e2
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x140]
lea esi, [ebx + 0x60]
push esi
push dword [ebp - 0x12c]
mov dword [ebx + 0x50], eax
push edi
push dword [ebx + 0x48]
call sym.BearSCInstall.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_long_int___
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x12c]
imul eax, edi
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.00472380
add esp, 0x1c
push dword [ebx + 0x5c]
push dword [ebx + 0x50]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x40c80e
cmp byte [ebx + 0x120], cl
je 0x40c850
mov eax, dword [ebp - 0x12c]
imul eax, dword [ebp - 0x140]
shl eax, 2
push eax
push ecx
push dword [ebx + 0x60]
call fcn.00472380
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
push dword [ebx + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.BearSCInstall.exe_public:_static_void___cdecl_DuiLib::CRenderClip::GenerateClip_struct_HDC_____struct_tagRECT__class_DuiLib::CRenderClip__
lea eax, [ebx + 0x134]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push ebx
push dword [ebx + 0x50]
call sym.BearSCInstall.exe_public:_static_bool___cdecl_DuiLib::CRenderEngine::DrawImage_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT_const___struct_tagRECT_const___struct_DuiLib::tagTDrawInfo__
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x2c
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CRenderClip::destructor_void_
mov edx, dword [ebp - 0x108]
mov eax, dword [ebx + 0x1c0]
cmp byte [eax + 0x14], 0
je 0x40c989
mov edi, dword [ebp - 0x6c]
mov ecx, edx
sub ecx, dword [ebp - 0x64]
mov eax, edx
sub eax, edi
mov dword [ebp - 0x138], ecx
cmp ecx, eax
jge 0x40c989
mov esi, dword [ebp - 0x140]
mov eax, ecx
imul eax, esi
mov dword [ebp - 0x154], 0xff
mov dword [ebp - 0x144], eax
mov ebx, dword [ebp - 0x70]
cmp ebx, dword [ebp - 0x68]
mov dword [ebp - 0x13c], ebx
mov ebx, dword [ebp - 0x14c]
jge 0x40c968
mov ecx, dword [ebp - 0x13c]
lea edx, [eax + ecx]
shl edx, 2
mov dword [ebp - 0x150], edx
mov ebx, dword [ebx + 0x58]
add ecx, eax
mov eax, dword [ebp - 0x14c]
add ebx, edx
xor edx, edx
mov eax, dword [eax + 0x60]
movzx edi, byte [eax + ecx*4 + 3]
mov ecx, dword [ebx]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edi
shr ecx, 8
div dword [ebp - 0x154]
xor edx, edx
movzx esi, al
movzx eax, cl
imul eax, edi
shl esi, 8
mov ecx, dword [ebp - 0x13c]
div dword [ebp - 0x154]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [ebx]
imul eax, edi
shl esi, 8
shl edi, 0x18
div dword [ebp - 0x154]
mov edx, dword [ebp - 0x150]
movzx eax, al
add edx, 4
or esi, eax
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x144]
add esi, edi
inc ecx
mov dword [ebx], esi
mov ebx, dword [ebp - 0x14c]
mov dword [ebp - 0x13c], ecx
cmp ecx, dword [ebp - 0x68]
jl 0x40c8bf
mov edx, dword [ebp - 0x108]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x138]
mov esi, dword [ebp - 0x140]
add eax, esi
inc ecx
mov dword [ebp - 0x144], eax
mov eax, edx
sub eax, edi
mov dword [ebp - 0x138], ecx
cmp ecx, eax
mov eax, dword [ebp - 0x144]
jl 0x40c895
mov al, byte [ebx + 0x10c]
xor ecx, ecx
mov byte [ebp - 0x126], al
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x12c]
push 2
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x128]
push eax
push ecx
lea eax, [ebp - 0x160]
mov word [ebp - 0x128], cx
push eax
push dword [ebx + 0x4c]
lea eax, [ebp - 0x168]
mov byte [ebp - 0x125], 1
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x160], ecx
push eax
push dword [ebx + 0x48]
mov dword [ebp - 0x15c], ecx
push dword [ebx + 0x44]
call dword [0x509d58]
jmp 0x40ca36
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push 0xcc0020
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x4c]
push eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x130]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x4c]
call edi
cmp byte [ebx + 0xa1], 0
je 0x40cabd
cmp byte [ebx + 0x10d], 0
jne 0x40cabd
push dword [0x509d5c]
push dword [ebx + 0x48]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0x48]
call edi
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0x48]
call edi
jmp 0x40cabd
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xa4]
mov esi, eax
push 0
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ecx]
push dword [ebx + 0x48]
call dword [edx + 0x138]
push esi
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetPainting_bool_
cmp byte [ebx + 0x109], 0
mov byte [ebx + 0x120], 0
jmp 0x40cbff
cmp dword [ebp - 0x12c], 0
je 0x40dbe7
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [ebp - 0x138], esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x40cb19
cmp dword [ebx + 0x44], eax
je 0x40cb24
mov dword [ebp - 0x138], eax
push eax
call esi
test eax, eax
jne 0x40cb0d
jmp 0x40dbe7
lea edi, [ebx + 0x23c]
xor esi, esi
mov ecx, edi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40dbe7
push esi
mov ecx, edi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
cmp eax, dword [ebp - 0x138]
je 0x40cb5c
mov ecx, edi
inc esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x40cb3b
jmp 0x40dbe7
lea edi, [ebx + 0x248]
push esi
mov ecx, edi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
cmp eax, dword [ebx + 0xa8]
je 0x40dbe7
push 0
push esi
mov ecx, edi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
push eax
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI___bool_
jmp 0x40dbe7
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x40cbe9
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x12c]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xc0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0040bb7a
mov ecx, dword [ebx + 0xa8]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0xa4]
test ecx, ecx
je 0x40cbf8
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CControlUI::NeedUpdate_void_
cmp byte [ebx + 0x10d], 0
je 0x40bccf
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Invalidate_void_
jmp 0x40bccf
cmp byte [ebx + 0xa0], 0
je 0x40dbe7
mov ecx, dword [ebp - 0x140]
mov dword [ecx], 3
jmp 0x40bccf
sub esi, 0x24
je 0x40cea4
sub esi, 0x2a
je 0x40ce7d
sub esi, 0x2d
je 0x40cdc4
sub esi, 0x85
je 0x40cd45
sub esi, 1
je 0x40cccb
sub esi, 1
jne 0x40dbe7
xor eax, eax
cmp dword [ebx + 0xa4], eax
je 0x40dbe7
mov ecx, dword [ebx + 0xa8]
test ecx, ecx
je 0x40dbe7
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebx + 0xc0]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x2c], al
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0040bb7a
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xa8]
mov dword [ebp - 0x38], eax
jmp 0x40d430
xor eax, eax
cmp dword [ebx + 0xa4], eax
je 0x40dbe7
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
je 0x40dbe7
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebx + 0xc0]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x2c], al
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0040bb7a
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xb4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
and dword [ebx + 0xb4], 0
jmp 0x40dbe7
xor eax, eax
cmp dword [ebx + 0xa4], eax
je 0x40dbe7
mov ecx, dword [ebx + 0xa8]
test ecx, ecx
je 0x40dbe7
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebx + 0xc0]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x2c], al
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0040bb7a
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xa8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [ebx + 0xa8]
mov dword [ebx + 0xb4], eax
jmp 0x40dbe7
cmp dword [ebx + 0xa4], 0
je 0x40dbe7
mov ecx, ebx
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsCaptured_void_
test al, al
jne 0x40dbe7
mov ecx, dword [ebp - 0x128]
movsx eax, cx
mov dword [ebp - 0x134], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebx + 0xb0]
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x130]
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc0], edx
test ecx, ecx
je 0x40dbe7
xor esi, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x12c]
and dword [ebp - 0x28], esi
mov word [ebp - 0x2c], si
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xb0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
and dword [ebx + 0xb0], esi
jmp 0x40dbe7
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x40bccf
push eax
push dword [ebp - 0x12c]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40bcc7
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ebp - 0x128]
test ecx, ecx
jle 0x40ceb7
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
jle 0x40cec4
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0xcc]
test ecx, ecx
jle 0x40ced1
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
jle 0x40dbe7
mov dword [eax + 0x24], ecx
jmp 0x40dbe7
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x40dbe7
push eax
push dword [ebp - 0x12c]
push 0x2111
push eax
jmp 0x40ce99
mov eax, 0x203
cmp esi, eax
ja 0x40d4c8
je 0x40d441
mov eax, esi
sub eax, 0x113
je 0x40d32c
sub eax, 0x20
je 0x40d30a
sub eax, 5
je 0x40d30a
sub eax, 0xc8
je 0x40d09c
sub eax, 1
je 0x40cfd9
sub eax, 1
jne 0x40dbe7
mov eax, dword [ebp - 0x128]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0xb0], 0
cwde
mov dword [ebp - 0x130], eax
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xc0], eax
je 0x40dbe7
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
mov ecx, dword [ebp - 0x130]
xor eax, eax
mov edi, dword [ebp - 0x128]
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xb0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xb0]
and dword [ebx + 0xb0], 0
mov dword [ebp - 0x38], eax
jmp 0x40d430
cmp byte [ebx + 0xa0], 0
jne 0x40cfeb
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0xa4], 0
je 0x40dbe7
mov eax, dword [ebp - 0x128]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x130], ecx
mov dword [ebx + 0xbc], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x138], eax
mov dword [ebx + 0xc0], eax
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x40dbe7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x40dbe7
mov dword [ebx + 0xb0], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x104]
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
mov ecx, dword [ebp - 0x130]
xor eax, eax
mov edi, dword [ebp - 0x128]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
jmp 0x40d2fd
xor ecx, ecx
cmp dword [ebx + 0xa4], ecx
je 0x40dbe7
push 3
pop edx
cmp byte [ebx + 0x1f8], cl
jne 0x40d0f6
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x6c], ecx
jne 0x40d0d2
mov eax, dword [ebx + 0x9c]
jmp 0x40d0e2
push ecx
push edx
push 0x415
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x1f8], 1
mov eax, dword [ebp - 0x128]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x138], eax
mov dword [ebx + 0xbc], edi
mov dword [ebx + 0xc0], eax
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x40d139
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x40dbe7
xor eax, eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x128]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.0040bb7a
mov ecx, ebx
mov word [ebp - 0x2a], ax
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsCaptured_void_
test al, al
jne 0x40d2d2
push dword [ebp - 0x138]
mov ecx, ebx
push dword [ebp - 0x130]
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
mov dword [ebp - 0x130], esi
test esi, esi
je 0x40d1ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x40dbe7
mov eax, dword [ebx + 0xac]
cmp esi, eax
je 0x40d2a8
test eax, eax
je 0x40d2a8
lea esi, [ebx + 0x278]
mov dword [ebp - 0x40], 0xa
mov ecx, esi
mov dword [ebp - 0x3c], eax
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
lea ecx, [ebp - 0x120]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::constructor_int_
mov ecx, esi
mov dword [ebp - 4], 3
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
lea ecx, [ebp - 0x120]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::Resize_int_
mov ecx, esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
shl eax, 2
mov ecx, esi
push eax
call sym.BearSCInstall.exe_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x120]
call sym.BearSCInstall.exe_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const
push eax
call fcn.004724e0
add esp, 0xc
lea ecx, [ebp - 0x120]
xor esi, esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40d261
push esi
lea ecx, [ebp - 0x120]
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x11c]
lea ecx, [ebp - 0x120]
inc esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x40d237
mov ecx, dword [ebx + 0xac]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor ecx, ecx
mov dword [ebx + 0xac], ecx
cmp dword [ebx + 0x6c], ecx
je 0x40d293
lea eax, [ebx + 0x70]
push eax
push ecx
push 0x411
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::destructor_void_
mov esi, dword [ebp - 0x130]
cmp esi, dword [ebx + 0xac]
je 0x40d2d2
test esi, esi
je 0x40d2d2
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [ebx + 0xac], esi
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x40d2eb
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x40d430
test esi, esi
je 0x40dbe7
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
jmp 0x40d436
mov ecx, dword [ebp - 0x128]
test ecx, ecx
je 0x40dbe7
push ecx
push dword [ebp - 0x12c]
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x40ce99
mov eax, dword [ebp - 0x12c]
mov ecx, 0x2000
movzx eax, ax
mov dword [ebp - 0x130], eax
cmp ax, cx
jne 0x40d38a
test dl, dl
je 0x40d38a
lea eax, [ebx + 0x124]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40d38a
push dword [ebx + 0x44]
and dword [ebp - 0x130], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40dbe7
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
xor eax, eax
push eax
push eax
push 0xf
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::MessageHandler_unsigned_int__unsigned_int__long_int__long_int__
jmp 0x40dbe7
lea esi, [ebx + 0x20c]
mov ecx, esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40dbe7
push dword [ebp - 0x13c]
mov ecx, esi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx + 0x44]
jne 0x40d3ca
mov eax, dword [ebp - 0x130]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x40d3ca
cmp byte [esi + 0x10], 0
je 0x40d3ef
inc dword [ebp - 0x13c]
lea ecx, [ebx + 0x20c]
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x13c], eax
jge 0x40dbe7
lea esi, [ebx + 0x20c]
jmp 0x40d39f
xor eax, eax
mov dword [ebp - 0x40], 0x18
mov word [ebp - 0x2c], ax
mov eax, dword [esi]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xc0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0040bb7a
mov ecx, dword [esi]
mov word [ebp - 0x2a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax + 0x11c]
jmp 0x40dbe7
cmp byte [ebx + 0xa0], 0
jne 0x40d453
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x128]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x130], eax
mov dword [ebx + 0xbc], edi
mov dword [ebx + 0xc0], eax
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x40dbe7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x40dbe7
mov ecx, ebx
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
xor eax, eax
mov dword [ebp - 0x40], 0x10
mov word [ebp - 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x12c]
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x2a], ax
jmp 0x40dbc4
sub esi, 0x204
je 0x40db43
sub esi, 6
je 0x40da4b
sub esi, 0x97
je 0x40d7e5
dec esi
sub esi, 1
je 0x40d6eb
sub esi, 0x75
je 0x40d604
sub esi, 0x7ce9
jne 0x40dbe7
xor eax, eax
lea edi, [ebx + 0x260]
push eax
mov ecx, edi
mov byte [ebx + 0x1fc], al
mov dword [ebp - 0x130], edi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::GetAt_int_const
mov esi, eax
test esi, esi
je 0x40d5cb
lea eax, [ebx + 0x200]
mov dword [ebp - 0x13c], eax
xor eax, eax
inc eax
xor ebx, ebx
push eax
push ebx
mov ecx, edi
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CDuiPtrArray::Remove_int__int_
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x40d56d
add ecx, 0x38
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CEventSource::operator_bool_void_
test al, al
je 0x40d56d
mov ecx, dword [esi + 0x88]
push esi
add ecx, 0x38
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CEventSource::operator___void__
mov ecx, dword [ebp - 0x13c]
mov edi, ebx
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40d5a1
mov ecx, dword [ebp - 0x13c]
push edi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x13c]
inc edi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x40d57e
push 1
mov ecx, esi
call fcn.0040a089
mov edi, dword [ebp - 0x130]
mov ecx, edi
push ebx
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::GetAt_int_const
mov esi, eax
push 1
pop eax
test esi, esi
jne 0x40d53f
mov ebx, dword [ebp - 0x14c]
lea esi, [ebx + 0x254]
mov ecx, esi
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x40d5f8
xor ebx, ebx
push ebx
mov ecx, esi
call sym.BearSCInstall.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc ebx
call sym.BearSCInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x40d5de
mov ecx, esi
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::Empty_void_
jmp 0x40dbe7
cmp dword [ebx + 0xa4], 0
je 0x40dbe7
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x12c]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x138]
test byte [ebp - 0x128], 0x10
je 0x40d6d9
push 5
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x138], ecx
test ecx, ecx
je 0x40d6d9
or dword [ebp - 0x128], 2
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x44]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x128]
mov edi, dword [ebp - 0x138]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x138], eax
test ecx, ecx
jne 0x40d671
push dword [ebp - 0x130]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x40dbe7
xor ecx, ecx
cmp dword [ebx + 0xa4], ecx
je 0x40dbe7
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebx + 0x6c], ecx
je 0x40d713
lea eax, [ebx + 0x70]
push eax
push ecx
push 0x411
push dword [ebx + 0x6c]
call esi
cmp byte [ebx + 0x1f8], 0
je 0x40d7d9
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40d7cb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0x44]
jne 0x40d7cb
push dword [ebp - 0x130]
lea eax, [ebp - 0x80]
push dword [ebp - 0x134]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40d7cb
movzx ecx, word [ebp - 0x130]
movzx eax, word [ebp - 0x134]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0x44]
call esi
cmp eax, 1
jne 0x40d7cb
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x130]
movzx eax, word [ebp - 0x134]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x40d7cd
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0x44]
call esi
mov byte [ebx + 0x1f8], 0
jmp 0x40dbe7
xor eax, eax
cmp dword [ebx + 0xa4], eax
je 0x40dbe7
mov byte [ebx + 0x1f8], al
mov ecx, ebx
mov eax, dword [ebp - 0x128]
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x150], eax
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
mov dword [ebp - 0x138], esi
test esi, esi
je 0x40dbe7
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x40d887
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x128]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
call fcn.0040bb7a
mov ecx, dword [ebx + 0xac]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [esi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 2
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x40d8be
lea ecx, [ebp - 0x104]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x40bccf
lea eax, [ebp - 0x104]
push eax
call sym.BearSCInstall.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::ProcessMultiLanguageTokens_class_DuiLib::CDuiString__
push 0x2c
lea edi, [ebx + 0x70]
push 0
push edi
call fcn.00472380
mov eax, dword [ebx + 0x44]
lea ecx, [ebp - 0x104]
add esp, 0x10
mov dword [edi], 0x2c
mov dword [ebx + 0x74], 1
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov eax, dword [sym.BearSCInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov dword [ebx + 0x90], eax
call sym.BearSCInstall.exe_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const
mov dword [ebx + 0x94], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x40]
mov esi, eax
lea edi, [ebx + 0x80]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebx + 0x6c], eax
jne 0x40d9a3
push eax
push dword [sym.BearSCInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov ecx, SysReAllocStringLen
push eax
push dword [ebx + 0x44]
push ecx
push ecx
push ecx
push ecx
push SysStringLen
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x6c], eax
push ecx
xor esi, esi
push esi
push 0x404
push eax
call edi
mov esi, dword [ebp - 0x138]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xb8]
push eax
push 0
push 0x418
push dword [ebx + 0x6c]
call edi
lea eax, [ebx + 0x70]
push eax
push 0
push 0x409
push dword [ebx + 0x6c]
call edi
lea eax, [ebx + 0x70]
push eax
push 1
push 0x411
push dword [ebx + 0x6c]
call edi
jmp 0x40d9a9
mov esi, dword [ebp - 0x138]
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
jne 0x40d9bb
mov dword [ebx + 0xb8], esi
jmp 0x40da22
mov eax, dword [esi]
cmp ecx, esi
mov ecx, esi
mov eax, dword [eax + 0xb8]
jne 0x40d9f6
call eax
cmp dword [ebx + 0x68], eax
je 0x40da05
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
push eax
push 0
push 0x418
push dword [ebx + 0x6c]
call edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
mov dword [ebx + 0x68], eax
jmp 0x40da05
call eax
push eax
push 0
push 0x418
push dword [ebx + 0x6c]
call edi
lea esi, [ebx + 0x70]
push esi
push 0
push 0x409
push dword [ebx + 0x6c]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0x6c]
call edi
mov eax, dword [ebp - 0x150]
movzx ecx, ax
mov eax, dword [ebp - 0x130]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x412
push dword [ebx + 0x6c]
call edi
jmp 0x40d8ae
cmp dword [ebx + 0xa4], 0
je 0x40dbe7
mov ecx, dword [ebp - 0x128]
movsx eax, cx
mov dword [ebp - 0x134], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x134]
push eax
mov dword [ebx + 0xbc], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0xc0], eax
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x40dbe7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x40dbe7
mov ecx, dword [ebx + 0xc0]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x12c]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.0040bb7a
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
movzx ecx, word [ebx + 0xc0]
movzx eax, word [ebx + 0xbc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40dbe7
cmp byte [ebx + 0xa0], 0
jne 0x40db55
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x128]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x130], eax
mov dword [ebx + 0xbc], edi
mov dword [ebx + 0xc0], eax
call sym.BearSCInstall.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x40dbe7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x40dbe7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0x12c]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], cx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [ebx + 0xb0], esi
xor al, al
call fcn.004705fe
ret 0x10