Function at 0x10031e99
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x1008fe00]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x38
mov eax, 0x10060585
call fcn.1003a30f
mov eax, dword [ebp + 0x118]
mov esi, dword [ebp + 0x114]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x11c]
mov dword [ebp - 0x30], eax
je 0x100331b0
lea ecx, [ebx + 0x100]
mov dword [ebp - 0x2c], ecx
jmp 0x10031f66
mov ecx, dword [ebp - 0x2c]
push 0
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
mov eax, dword [edi + 0x108]
test eax, eax
je 0x10031f1a
lea ecx, [eax + 0x34]
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CEventSource::operator_bool_void_
test al, al
je 0x10031f1a
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x34
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CEventSource::operator___void__
and dword [ebp - 0x10], 0
lea ecx, [ebx + 0xb8]
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x10031f55
push dword [ebp - 0x10]
lea ecx, [ebx + 0xb8]
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
inc dword [ebp - 0x10]
lea ecx, [ebx + 0xb8]
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp dword [ebp - 0x10], eax
jl 0x10031f2d
mov ecx, edi
call fcn.1002f277
push edi
call fcn.1003a419
pop ecx
mov ecx, dword [ebp - 0x2c]
push 0
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
jne 0x10031eeb
and dword [ebp - 0x10], eax
lea ecx, [ebx + 0xdc]
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
mov edi, dword [ebp + 0x110]
jle 0x10031fcd
push dword [ebp - 0x10]
lea ecx, [ebx + 0xdc]
mov byte [ebp - 0x25], 0
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 0x25]
push ecx
push dword [ebp - 0x14]
mov ecx, eax
push esi
push edi
call dword [edx]
cmp byte [ebp - 0x25], 0
jne 0x10032053
inc dword [ebp - 0x10]
lea ecx, [ebx + 0xdc]
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp dword [ebp - 0x10], eax
jl 0x10031f8f
mov eax, 0x113
cmp edi, eax
ja 0x10032925
je 0x10032889
cmp edi, 0x4e
ja 0x100326a5
je 0x10032686
sub edi, 5
je 0x1003262d
sub edi, 0xa
je 0x100321d4
dec edi
je 0x1003212f
sub edi, 4
je 0x10032121
sub edi, 0xc
je 0x1003205f
sub edi, 4
jne 0x10033127
mov eax, dword [ebx + 0x6c]
test eax, eax
mov ecx, dword [ebp - 0x14]
jle 0x1003202c
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x70]
test eax, eax
jle 0x10032036
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x10032040
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x78]
test eax, eax
jle 0x10033127
mov dword [ecx + 0x24], eax
jmp 0x10033127
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov al, 1
jmp 0x100331b2
cmp word [ebp - 0x14], 1
jne 0x10033127
cmp byte [ebx + 0xb6], 0
jne 0x10032058
and dword [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x30]
mov ecx, ebx
push dword [ebp - 0x34]
call sym.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10033127
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, 2
je 0x10033127
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xc0], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0xa4], 0x17
mov dword [ebp + 0xbc], esi
mov dword [ebp + 0xb4], eax
call fcn.1002f21d
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
jmp 0x10032058
mov eax, dword [ebp - 0x30]
mov dword [eax], 1
jmp 0x10032058
and dword [ebp + 0xe4], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
test ecx, ecx
mov dword [ebp + 0xec], eax
je 0x10032187
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xe4], 0xa
mov dword [ebp + 0xe8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x100321ad
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xe4], 0xe
mov dword [ebp + 0xe8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
push 0
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI__
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x10033127
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10033127
xor eax, eax
xor esi, esi
mov dword [ebp - 0x44], esi
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x10032058
cmp dword [ebx + 0x50], esi
jne 0x10032236
push 0x3c
lea eax, [ebp + 0x88]
push esi
push eax
mov dword [ebp + 0x84], esi
call fcn.1003aea0
add esp, 0xc
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x10032058
cmp byte [ebx + 0xb1], 0
je 0x10032336
and dword [ebp - 0x24], esi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
mov byte [ebx + 0xb1], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10032336
mov ecx, dword [ebx + 0x50]
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CControlUI::IsUpdateNeeded_void_const
mov ecx, dword [ebx + 0x50]
test al, al
mov eax, dword [ecx]
je 0x100322fb
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x24]
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 + 0x34]
mov eax, dword [ebx + 0xc]
test eax, eax
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x100322a3
push eax
call esi
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
je 0x100322af
push eax
call esi
mov eax, dword [ebx + 0x14]
cmp eax, edi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x100322bf
push eax
call esi
mov eax, dword [ebx + 0x18]
cmp eax, edi
je 0x100322c9
push eax
call esi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
jmp 0x10032314
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x2c]
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 + 0x34]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
push SysReAllocString
push 0
push sym.DuiLib32.dll_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromUpdate_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x100322d7
lea eax, [ebx + 0xb0]
cmp byte [eax], 0
je 0x10032336
mov byte [eax], 0
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
cmp byte [ebx + 0xb2], 0
je 0x10032348
push 1
mov ecx, ebx
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
cmp byte [ebx + 0xb3], 0
je 0x10032395
cmp dword [ebx + 0x14], 0
jne 0x10032395
and dword [ebp - 0x24], 0
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x14], eax
and dword [ebp + 0xc4], 0
push 0x3c
lea eax, [ebp + 0xc8]
push 0
push eax
call fcn.1003aea0
add esp, 0xc
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xb3], 0
je 0x100325cd
push dword [ebx + 0x14]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call esi
push dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb4], 0
mov dword [ebp - 0x2c], eax
je 0x100324d2
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10032489
and dword [ebp - 0x24], eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
call esi
mov eax, dword [ebp + 0xd8]
sub eax, dword [ebp + 0xd0]
push 0xcc0020
push dword [ebp + 0xd0]
push dword [ebp + 0xcc]
push dword [ebp + 0xc4]
push eax
mov eax, dword [ebp + 0xd4]
sub eax, dword [ebp + 0xcc]
push eax
push dword [ebp + 0xd0]
push dword [ebp + 0xcc]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x1003248f
push eax
push dword [ebx + 0x10]
call esi
mov eax, dword [ebp + 0xd8]
sub eax, dword [ebp + 0xd0]
push 0xcc0020
push dword [ebp + 0xd0]
push dword [ebp + 0xcc]
push dword [ebx + 0x10]
push eax
mov eax, dword [ebp + 0xd4]
sub eax, dword [ebp + 0xcc]
push eax
push dword [ebp + 0xd0]
push dword [ebp + 0xcc]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
lea edx, [ebp + 0xcc]
push edx
push dword [ebx + 0xc]
call dword [eax + 0x118]
and dword [ebp - 0x10], 0
lea edi, [ebx + 0xe8]
mov ecx, edi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x10032529
push dword [ebp - 0x10]
mov ecx, edi
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp + 0xcc]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
inc dword [ebp - 0x10]
mov ecx, edi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp dword [ebp - 0x10], eax
jl 0x100324fc
push dword [ebp - 0x2c]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp + 0xd8]
sub eax, dword [ebp + 0xd0]
push 0xcc0020
push dword [ebp + 0xd0]
push dword [ebp + 0xcc]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp + 0xd4]
sub eax, dword [ebp + 0xcc]
push eax
push dword [ebp + 0xd0]
push dword [ebp + 0xcc]
push dword [ebp + 0xc4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x30]
push dword [ebx + 0xc]
call esi
cmp byte [ebx + 0x4c], 0
je 0x10032600
push dword [0x100916d0]
push dword [ebp + 0xc4]
call esi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp + 0xc4]
call esi
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp + 0xc4]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [ebp + 0xc4]
call esi
jmp 0x10032600
push dword [ebp + 0xc4]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp + 0xcc]
push edx
push dword [ebp + 0xc4]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x118]
push esi
push dword [ebp + 0xc4]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xb1], 0
je 0x10032058
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10032058
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x1003266f
push 7
pop ecx
xor eax, eax
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov dword [ebp + 0xe4], 0x16
mov dword [ebp + 0xe8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ebx, dword [ebx + 0x50]
test ebx, ebx
je 0x10032058
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CControlUI::NeedUpdate_void_
jmp 0x10032058
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10032058
push eax
push esi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10032053
sub edi, 0x7b
je 0x10032811
sub edi, 0x85
je 0x100327a2
dec edi
je 0x10032735
dec edi
je 0x100326e1
sub edi, 0xf
jne 0x10033127
cmp dword [ebp - 0x14], 0
je 0x10033127
push dword [ebp - 0x14]
push esi
push 0x2111
push dword [ebp - 0x14]
jmp 0x1003269a
cmp dword [ebx + 0x54], 0
je 0x10033127
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp + 0xe4], 5
mov word [ebp + 0xf8], si
mov dword [ebp + 0xf4], eax
call fcn.1002f21d
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
jmp 0x1003290b
cmp dword [ebx + 0x60], 0
je 0x10033127
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp + 0xe4], 4
mov word [ebp + 0xf8], si
mov dword [ebp + 0xf4], eax
call fcn.1002f21d
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x60], 0
jmp 0x10033127
cmp dword [ebx + 0x54], 0
je 0x10033127
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp + 0xe4], 3
mov word [ebp + 0xf8], si
mov dword [ebp + 0xf4], eax
call fcn.1002f21d
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x60], eax
jmp 0x10033127
mov eax, dword [ebp - 0x14]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x5c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x68], eax
je 0x10033127
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x5c]
mov dword [ebp + 0xf0], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xe4], 0x11
mov dword [ebp + 0xe8], eax
mov dword [ebp + 0xf4], ecx
mov dword [ebp + 0x100], eax
jmp 0x10032a81
and dword [ebp - 0x10], 0
lea edi, [ebx + 0xc4]
mov ecx, edi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x10033127
push dword [ebp - 0x10]
mov ecx, edi
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
mov dword [ebp - 0x30], eax
jne 0x100328c4
movzx ecx, si
cmp dword [eax + 0xc], ecx
jne 0x100328c4
cmp byte [eax + 0x10], 0
je 0x100328d8
inc dword [ebp - 0x10]
mov ecx, edi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp dword [ebp - 0x10], eax
jl 0x100328a2
jmp 0x10033127
mov esi, dword [ebp - 0x30]
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp + 0xe8], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0xe4], 0x18
mov dword [ebp + 0xfc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
lea edx, [ebp + 0xe4]
push edx
call dword [eax + 0x108]
jmp 0x10033127
mov eax, 0x204
cmp edi, eax
ja 0x10032d7c
je 0x10032cfb
mov eax, edi
sub eax, 0x133
je 0x10032ce1
sub eax, 5
je 0x10032ce1
sub eax, 0xc8
je 0x10032b6c
dec eax
je 0x10032aaf
dec eax
je 0x10032a16
dec eax
jne 0x10033127
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x14]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x68], eax
call sym.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10033127
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x10033127
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
push 7
pop ecx
xor eax, eax
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov dword [ebp + 0xe4], 0x10
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xe8], edi
mov dword [ebp + 0xf4], eax
mov word [ebp + 0xfa], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x108]
mov dword [ebx + 0x5c], edi
jmp 0x10033127
mov ecx, dword [ebp - 0x14]
movsx eax, word [ebp - 0x14]
shr ecx, 0x10
cmp dword [ebx + 0x5c], 0
movsx ecx, cx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], ecx
je 0x10033127
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp + 0xe8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x100], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xe4], 0xe
mov dword [ebp + 0xfc], esi
mov dword [ebp + 0xf4], eax
mov word [ebp + 0xfa], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x5c], 0
jmp 0x10033127
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x14]
movsx eax, word [ebp - 0x14]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x68], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x64], eax
call sym.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10033127
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x10033127
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x5c], ecx
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0x100], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xe4], 0xd
mov dword [ebp + 0xe8], edi
mov dword [ebp + 0xfc], esi
mov dword [ebp + 0xf4], eax
mov word [ebp + 0xfa], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x1003291a
cmp byte [ebx + 0xb5], 0
jne 0x10032bc2
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
pop ecx
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x40], ecx
jne 0x10032b9f
mov dword [ebp - 0x38], 0x190
jmp 0x10032bb1
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0xb5], 1
mov eax, dword [ebp - 0x14]
movsx esi, ax
shr eax, 0x10
movsx eax, ax
push eax
push esi
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], eax
call sym.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10032bf6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x10033127
and dword [ebp + 0xe4], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xf0], esi
mov dword [ebp + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
cmp dword [ebp - 0x10], ecx
mov dword [ebp + 0xec], eax
je 0x10032c6d
test ecx, ecx
je 0x10032c6d
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xe4], 0xa
mov dword [ebp + 0xe8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x1c]
and dword [ebx + 0x58], 0
test eax, eax
je 0x10032c6d
lea ecx, [ebx + 0x20]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x10]
cmp esi, dword [ebx + 0x58]
je 0x10032c9d
test esi, esi
je 0x10032c9d
lea ecx, [ebp + 0xe4]
mov dword [ebp + 0xe4], 0xb
mov dword [ebp + 0xe8], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x58], esi
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x10032cb9
mov dword [ebp + 0xe4], 9
mov dword [ebp + 0xe8], ecx
jmp 0x10032911
test esi, esi
je 0x10033127
lea ecx, [ebp + 0xe4]
mov dword [ebp + 0xe4], 9
mov dword [ebp + 0xe8], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x1003291a
cmp dword [ebp - 0x14], 0
je 0x10033127
push dword [ebp - 0x14]
add edi, 0x2000
push esi
push edi
jmp 0x100326dc
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x14]
movsx eax, word [ebp - 0x14]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x68], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x64], eax
call sym.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10033127
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x10033127
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xe4], 0xf
mov dword [ebp + 0xfc], esi
mov dword [ebp + 0x100], eax
jmp 0x100329cf
sub edi, 0x20a
je 0x10033058
sub edi, 0x97
je 0x10032ee4
dec edi
dec edi
je 0x10032ea9
sub edi, 0x75
je 0x10032dec
sub edi, 0x7ce9
jne 0x10033127
lea esi, [ebx + 0xf4]
mov ecx, esi
xor edi, edi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x10032de0
push edi
mov ecx, esi
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
test eax, eax
je 0x10032dd4
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, esi
inc edi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp edi, eax
jl 0x10032dc0
mov ecx, esi
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CStdPtrArray::Empty_void_
jmp 0x10033127
lea eax, [ebp + 0xf4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp + 0xf4]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x118]
test byte [ebp - 0x14], 0x10
je 0x10032e9a
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10032e9a
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x30], eax
and dword [ebp - 0x44], 0
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x40]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x44]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x30]
push esi
push 0x317
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x10032e38
push dword [ebp - 0x18]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x10033127
mov eax, dword [ebx + 0x1c]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x10032ec4
lea ecx, [ebx + 0x20]
push ecx
push 0
push 0x411
push eax
call esi
lea edi, [ebx + 0xb5]
cmp byte [edi], 0
je 0x10032edc
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [edi], 0
jmp 0x10033127
mov eax, dword [ebp - 0x14]
movsx esi, ax
shr eax, 0x10
movsx eax, ax
push eax
push esi
mov ecx, ebx
mov byte [ebx + 0xb5], 0
mov dword [ebp - 0x18], eax
call sym.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10033127
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x10032f5f
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xf0], esi
mov dword [ebp + 0xf4], eax
mov dword [ebp + 0xe4], 0xc
mov dword [ebp + 0xe8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
lea edx, [ebp]
push edx
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp]
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x10032f8f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call sym.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x10032058
push 0x2c
pop edi
push edi
lea esi, [ebx + 0x20]
push 0
push esi
call fcn.1003aea0
mov eax, dword [ebx]
mov dword [esi], edi
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [sym.DuiLib32.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
add esp, 0xc
lea ecx, [ebp]
mov dword [ebx + 0x40], eax
call sym.DuiLib32.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x44], eax
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp dword [ebx + 0x1c], 0
lea edi, [ebx + 0x30]
mov esi, 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 esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x1003301b
xor edi, edi
push edi
push dword [sym.DuiLib32.dll_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov eax, SysReAllocString
push edi
push dword [ebx]
push eax
push eax
push eax
push eax
push SysStringLen
push edi
push str.tooltips_class32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebx + 0x20]
push ecx
push edi
push 0x432
push eax
mov dword [ebx + 0x1c], eax
call esi
jmp 0x1003301d
xor edi, edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
push edi
push 0x418
push dword [ebx + 0x1c]
call esi
lea eax, [ebx + 0x20]
push eax
push edi
push 0x436
push dword [ebx + 0x1c]
call esi
lea eax, [ebx + 0x20]
push eax
push 1
push 0x411
push dword [ebx + 0x1c]
call esi
jmp 0x10032f7e
movsx eax, word [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push ecx
mov dword [ebx + 0x68], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x64], eax
call sym.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10033127
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x10033127
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xe8], eax
xor eax, eax
shr esi, 0x10
test si, si
setl al
mov dword [ebp + 0xe4], 0x12
mov dword [ebp + 0xfc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x100], eax
call fcn.1002f21d
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
movzx eax, word [ebx + 0x68]
movzx ecx, word [ebx + 0x64]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x2c]
push 0
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
je 0x100331b0
add ebx, 0xb8
mov ecx, dword [ebp - 0x2c]
push 0
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
lea esi, [edi + 0x108]
mov eax, dword [esi]
test eax, eax
je 0x1003316a
lea ecx, [eax + 0x34]
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CEventSource::operator_bool_void_
test al, al
je 0x1003316a
mov ecx, dword [esi]
push edi
add ecx, 0x34
call sym.DuiLib32.dll_public:_bool___thiscall_DuiLib::CEventSource::operator___void__
mov ecx, ebx
xor esi, esi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x10033192
push esi
mov ecx, ebx
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc esi
call sym.DuiLib32.dll_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp esi, eax
jl 0x10033177
mov ecx, edi
call fcn.1002f277
push edi
call fcn.1003a419
pop ecx
mov ecx, dword [ebp - 0x2c]
push 0
call sym.DuiLib32.dll_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
jne 0x1003313d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.1003a300
add ebp, 0x108
leave
ret 0x10