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

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x84
mov eax, 0x637ef8
call fcn.005bec7a
mov eax, dword [ebp + 0x11c]
mov esi, dword [ebp + 0x118]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x24], eax
je 0x586ed9
lea ecx, [ebx + 0x1f4]
mov dword [ebp - 0x20], ecx
jmp 0x585aa1
mov ecx, dword [ebp - 0x20]
push 0
call sym.demo.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
mov eax, dword [edi + 0x108]
test eax, eax
je 0x585a55
lea ecx, [eax + 0x34]
call sym.demo.exe_public:_bool___thiscall_DuiLib::CEventSource::operator_bool_void_
test al, al
je 0x585a55
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x34
call sym.demo.exe_public:_bool___thiscall_DuiLib::CEventSource::operator___void__
and dword [ebp - 0x10], 0
lea ecx, [ebx + 0x1ac]
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x585a90
push dword [ebp - 0x10]
lea ecx, [ebx + 0x1ac]
call sym.demo.exe_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 + 0x1ac]
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x10], eax
jl 0x585a68
mov ecx, edi
call fcn.00582931
push edi
call fcn.005b4622
pop ecx
mov ecx, dword [ebp - 0x20]
push 0
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
jne 0x585a26
and dword [ebp - 0x10], eax
lea edi, [ebx + 0x1d0]
mov ecx, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x585b04
push dword [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 0x19], 0
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 0x19]
push ecx
push esi
push dword [ebp + 0x114]
mov ecx, eax
push dword [ebp + 0x110]
call dword [edx]
cmp byte [ebp - 0x19], 0
jne 0x585b99
inc dword [ebp - 0x10]
mov ecx, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x10], eax
jl 0x585ac6
mov eax, dword [ebp + 0x110]
mov ecx, 0x112
cmp eax, ecx
ja 0x58658a
je 0x58656b
cmp eax, 0x4e
ja 0x58632c
je 0x58630b
sub eax, 5
je 0x5862a9
sub eax, 0xa
je 0x585d0d
dec eax
je 0x585c5c
sub eax, 4
je 0x585c4e
sub eax, 0xc
je 0x585ba5
sub eax, 4
jne 0x586e50
mov eax, dword [ebx + 0x160]
test eax, eax
jle 0x585b69
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x164]
test eax, eax
jle 0x585b76
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x168]
test eax, eax
jle 0x585b83
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x16c]
test eax, eax
jle 0x586e50
mov dword [esi + 0x24], eax
jmp 0x586e50
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov al, 1
jmp 0x586edb
cmp si, 1
jne 0x586e50
cmp byte [ebx + 0x1a8], 0
jne 0x585b9e
and dword [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x28]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x24]
mov ecx, ebx
push dword [ebp - 0x28]
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x10], eax
test eax, eax
je 0x586e50
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, 2
je 0x586e50
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x114]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x80], 0x17
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x70], eax
call fcn.005828e6
mov word [ebp - 0x6a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
jmp 0x585b9e
mov eax, dword [ebp - 0x24]
mov dword [eax], 1
jmp 0x585b9e
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 + 0x158]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x15c]
mov dword [ebp + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
mov dword [ebp + 0xec], eax
test ecx, ecx
je 0x585cbd
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 + 0x150]
test ecx, ecx
je 0x585ce6
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.demo.exe_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 0x586e50
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x586e50
xor eax, eax
xor esi, esi
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x38]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x585b9e
push 0x3c
push esi
cmp dword [ebx + 0x144], esi
jne 0x585d72
lea eax, [ebp + 0xc8]
push eax
mov dword [ebp + 0xc4], esi
call fcn.005b4de0
add esp, 0xc
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x585b9e
lea eax, [ebp + 0x88]
push eax
mov dword [ebp + 0x84], esi
call fcn.005b4de0
add esp, 0xc
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x1a5], 0
je 0x585eaf
and dword [ebp + 0xf4], esi
xor eax, eax
lea edi, [ebp + 0xf8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0xf4]
push eax
push dword [ebx]
mov byte [ebx + 0x1a5], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp + 0xf4]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x585eaf
mov ecx, dword [ebx + 0x144]
call sym.demo.exe_public:_bool___thiscall_DuiLib::CControlUI::IsUpdateNeeded_void_const
test al, al
je 0x585e5c
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x585e14
mov ecx, dword [ebx + 0x144]
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 0xf4]
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]
xor esi, esi
cmp eax, esi
je 0x585e24
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x585e32
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
jmp 0x585e7d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x20]
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 + 0x144]
mov eax, dword [ecx]
push reloc.WS2_32.dll_accept
push 0
push sym.demo.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromUpdate_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x585e3d
lea edi, [ebx + 0x1c]
lea esi, [ebp + 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x1a4]
cmp byte [eax], 0
movsd dword es:[edi], dword [esi]
je 0x585eaf
mov byte [eax], 0
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x144]
mov ecx, ebx
call sym.demo.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
cmp byte [ebx + 0x1a6], 0
je 0x585ec1
push 1
mov ecx, ebx
call sym.demo.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
cmp byte [ebx + 0x18], 0
je 0x586152
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, 0x80000
test ecx, eax
jne 0x585eeb
or eax, ecx
push eax
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
and dword [ebp - 0x50], 0
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebx + 0x3c], 0
je 0x585f19
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x38]
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 byte [ebx + 0x3c], 0
jmp 0x585f35
lea esi, [ebx + 0x1c]
push esi
lea eax, [ebp - 0x38]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
push 0x10
push 0
push esi
call fcn.005b4de0
add esp, 0xc
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x44]
sub esi, dword [ebp - 0x4c]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x24], eax
jne 0x585f6c
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
push eax
push esi
push dword [ebp - 0x24]
push dword [ebx + 8]
call sym.demo.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateBitmap_struct_HDC_____int__int__unsigned_char___
add esp, 0x10
mov dword [ebx + 0x10], eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
mov esi, eax
jge 0x585fbf
imul eax, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
shl ecx, 2
push ecx
mov ecx, dword [ebx + 0x14]
add eax, edi
lea eax, [ecx + eax*4]
push 0
push eax
call fcn.005b4de0
add edi, dword [ebp - 0x24]
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x585f97
mov ecx, dword [ebx + 0x144]
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push dword [ebx + 0xc]
call dword [eax + pe_nt_image_headers32]
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 0xc]
mov ecx, ebx
call sym.demo.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::DrawCaret_struct_HDC_____struct_tagRECT_const__
lea esi, [ebx + 0x1dc]
mov ecx, esi
xor edi, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x58601d
push edi
mov ecx, esi
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp + 0x8c]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
mov ecx, esi
inc edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x585ff5
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
cmp eax, ecx
jg 0x586035
cmp dword [ebx + 0x30], ecx
jg 0x586035
cmp dword [ebx + 0x34], ecx
jg 0x586035
cmp dword [ebx + 0x38], ecx
jle 0x5860a4
mov ecx, dword [ebp - 0x50]
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x30]
add dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x34]
sub dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x38]
sub dword [ebp - 0x64], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x70]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5860a4
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x64]
mov esi, eax
jge 0x5860a4
imul eax, dword [ebp - 0x24]
mov edx, eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x68]
jge 0x58609b
lea eax, [edx + ecx]
shl eax, 2
mov edi, dword [ebx + 0x14]
mov byte [eax + edi + 3], 0xff
inc ecx
add eax, 4
cmp ecx, dword [ebp - 0x68]
jl 0x58608a
add edx, dword [ebp - 0x24]
inc esi
cmp esi, dword [ebp - 0x64]
jl 0x58607c
push dword [ebp - 0x20]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
xor eax, eax
xor esi, esi
mov dword [ebp + 0xf4], esi
lea edi, [ebp + 0xf8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0xf4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0xf4]
mov edx, dword [ebp + 0xfc]
mov ecx, dword [ebp + 0xf8]
sub edx, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x100]
sub eax, ecx
push 2
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x90]
push eax
push dword [ebx + 0xc]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
push dword [ebx]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0xff
mov byte [ebp - 0xd], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x14]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x58627e
cmp dword [ebx + 0x10], 0
jne 0x5861ab
and dword [ebp + 0xf4], 0
xor eax, eax
lea edi, [ebp + 0xf8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0xf4]
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 + 0x100]
sub eax, dword [ebp + 0xf8]
push eax
mov eax, dword [ebp + 0xfc]
sub eax, dword [ebp + 0xf4]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x10], eax
push dword [ebx + 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call esi
push dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x144]
lea edx, [ebp + 0x8c]
push edx
push dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x1dc]
mov ecx, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x586222
push dword [ebp - 0x10]
mov ecx, edi
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp + 0x8c]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
inc dword [ebp - 0x10]
mov ecx, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x10], eax
jl 0x5861f5
push dword [ebp - 0x14]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp + 0x98]
sub eax, dword [ebp + 0x90]
push 0xcc0020
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp + 0x94]
sub eax, dword [ebp + 0x8c]
push eax
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebp + 0x84]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x20]
push dword [ebx + 0xc]
call esi
xor esi, esi
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x1a5], 0
je 0x585b9e
push esi
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x585b9e
mov edx, dword [ebx + 0x148]
test edx, edx
je 0x5862f1
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 + 0x148]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ebx, dword [ebx + 0x144]
test ebx, ebx
je 0x585b9e
mov ecx, ebx
call sym.demo.exe_public:_void___thiscall_DuiLib::CControlUI::NeedUpdate_void_
jmp 0x585b9e
test esi, esi
je 0x585b9e
push esi
push dword [ebp + 0x114]
push 0x204e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x585b99
sub eax, 0x7b
je 0x5864dc
sub eax, 0x85
je 0x586454
dec eax
je 0x5863d1
dec eax
je 0x58636a
sub eax, 0xf
jne 0x586e50
test esi, esi
je 0x586e50
push esi
push dword [ebp + 0x114]
push 0x2111
push esi
jmp 0x586321
cmp dword [ebx + 0x148], 0
je 0x586e50
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0x114]
mov word [ebp + 0xf8], ax
mov eax, dword [ebx + 0x158]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x15c]
mov dword [ebp + 0xe4], 5
mov dword [ebp + 0xf4], eax
call fcn.005828e6
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
jmp 0x58698c
cmp dword [ebx + 0x154], 0
je 0x586e50
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0x114]
mov word [ebp + 0xf8], ax
mov eax, dword [ebx + 0x158]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x15c]
mov dword [ebp + 0xe4], 4
mov dword [ebp + 0xf4], eax
call fcn.005828e6
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x154]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x154], 0
jmp 0x586e50
cmp dword [ebx + 0x148], 0
je 0x586e50
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0x114]
mov word [ebp + 0xf8], ax
mov eax, dword [ebx + 0x158]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebx + 0x15c]
mov dword [ebp + 0xe4], 3
mov dword [ebp + 0xf4], eax
call fcn.005828e6
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x148]
mov dword [ebx + 0x154], eax
jmp 0x586e50
movsx eax, si
mov dword [ebp - 0x18], eax
shr esi, 0x10
movsx eax, si
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x150], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x158], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x15c], eax
je 0x586e50
mov ecx, ebx
call sym.demo.exe_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 - 0x18]
mov eax, dword [ebx + 0x150]
mov dword [ebp + 0xf0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xf4], ecx
mov cx, word [ebp + 0x114]
mov dword [ebp + 0xe4], 0x11
mov dword [ebp + 0xe8], eax
mov word [ebp + 0xfa], cx
mov dword [ebp + 0x100], eax
jmp 0x586656
mov eax, dword [ebp + 0x114]
and eax, 0xfff0
cmp eax, 0xf120
jne 0x585b9e
mov byte [ebx + 0x3c], 1
jmp 0x585b9e
mov ecx, 0x203
cmp eax, ecx
ja 0x586a57
je 0x5869a6
mov ecx, eax
sub ecx, 0x113
je 0x5868db
sub ecx, 0x20
je 0x5868c1
sub ecx, 5
je 0x5868c1
sub ecx, 0xc8
je 0x58674a
dec ecx
je 0x586683
dec ecx
jne 0x586e50
mov ecx, esi
shr ecx, 0x10
cmp dword [ebx + 0x150], 0
movsx eax, si
movsx ecx, cx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], ecx
je 0x586e50
mov ecx, ebx
call sym.demo.exe_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 eax, dword [ebx + 0x150]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xe8], eax
mov eax, dword [ebp + 0x114]
mov dword [ebp + 0xf0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xe4], 0xe
mov dword [ebp + 0xfc], eax
mov dword [ebp + 0x100], esi
mov dword [ebp + 0xf4], ecx
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x150]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x150], 0
jmp 0x586e50
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
shr ecx, 0x10
movsx ecx, cx
movsx eax, si
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x15c], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x158], eax
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x10], eax
test eax, eax
je 0x586e50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x586e50
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x150], ecx
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call sym.demo.exe_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 ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x114]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xf0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xe4], 0xd
mov dword [ebp + 0xe8], edi
mov dword [ebp + 0xfc], eax
mov dword [ebp + 0x100], esi
mov dword [ebp + 0xf4], ecx
mov word [ebp + 0xfa], ax
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 0x58699b
cmp byte [ebx + 0x1a7], 0
jne 0x5867b8
xor eax, eax
lea edi, [ebp + 0xf8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp + 0xfc], eax
mov eax, dword [ebx + 0x110]
pop ecx
mov dword [ebp + 0xf4], 0x10
mov dword [ebp + 0xf8], ecx
test eax, eax
jne 0x58678f
mov dword [ebp + 0x100], 0x190
jmp 0x5867a4
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0x100], eax
lea eax, [ebp + 0xf4]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x1a7], 1
movsx eax, si
shr esi, 0x10
movsx esi, si
push esi
push eax
mov ecx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], esi
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5867ef
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x586e50
and dword [ebp - 0x60], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
cmp esi, ecx
je 0x58685c
test ecx, ecx
je 0x58685c
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0xa
mov dword [ebp - 0x5c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x110]
and dword [ebx + 0x14c], 0
test eax, eax
je 0x58685c
lea ecx, [ebx + 0x114]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x14c]
je 0x586886
test esi, esi
je 0x586886
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0xb
mov dword [ebp - 0x5c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x14c], esi
mov ecx, dword [ebx + 0x150]
test ecx, ecx
je 0x5868a2
mov dword [ebp - 0x60], 9
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x60]
jmp 0x586998
test esi, esi
je 0x586e50
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 9
mov dword [ebp - 0x5c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x58699b
test esi, esi
je 0x586e50
push esi
push dword [ebp + 0x114]
add eax, 0x2000
push eax
jmp 0x586367
mov eax, 0xf1
cmp ax, word [ebp + 0x114]
jne 0x58690a
lea eax, [ebx + 0xf8]
push eax
mov ecx, ebx
call sym.demo.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Invalidate_struct_tagRECT__
lea eax, [ebx + 0x108]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
jmp 0x586e50
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x1b8]
mov ecx, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x586e50
push dword [ebp - 0x10]
mov ecx, edi
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, dword [ebx]
jne 0x586948
movzx eax, word [ebp + 0x114]
cmp dword [esi + 0xc], eax
jne 0x586948
cmp byte [esi + 0x10], 0
je 0x58695c
inc dword [ebp - 0x10]
mov ecx, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x10], eax
jl 0x586923
jmp 0x586e50
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
lea edx, [ebp + 0xe4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
jmp 0x586e50
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
movsx eax, si
shr esi, 0x10
movsx ecx, si
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x15c], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x158], eax
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x586e50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x586e50
mov ecx, ebx
call sym.demo.exe_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 - 0x18]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xf4], eax
mov ax, word [ebp + 0x114]
mov dword [ebp + 0xe4], 0x10
mov dword [ebp + 0xe8], esi
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x150], esi
jmp 0x586e50
sub eax, 0x204
je 0x586d88
sub eax, 6
je 0x586ca9
sub eax, 0x97
je 0x586b05
dec eax
dec eax
je 0x586ac4
sub eax, 0x7d5e
jne 0x586e50
lea esi, [ebx + 0x1e8]
mov ecx, esi
xor edi, edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x586ab8
push edi
mov ecx, esi
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
test eax, eax
je 0x586aac
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, esi
inc edi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x586a98
mov ecx, esi
call sym.demo.exe_public:_void___thiscall_DuiLib::CStdPtrArray::Empty_void_
jmp 0x586e50
mov eax, dword [ebx + 0x110]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x586ae5
lea ecx, [ebx + 0x114]
push ecx
push 0
push 0x411
push eax
call esi
lea edi, [ebx + 0x1a7]
cmp byte [edi], 0
je 0x586afd
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [edi], 0
jmp 0x586e50
movsx eax, si
shr esi, 0x10
movsx esi, si
push esi
push eax
mov ecx, ebx
mov byte [ebx + 0x1a7], 0
mov dword [ebp - 0x40], eax
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x10], eax
test eax, eax
je 0x586e50
mov edx, dword [ebx + 0x14c]
test edx, edx
je 0x586b83
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp + 0xf0], eax
mov dword [ebp + 0xf4], esi
mov dword [ebp + 0xe4], 0xc
mov dword [ebp + 0xe8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
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.demo.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x586bb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call sym.demo.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x585b9e
push 0x30
pop edi
push edi
lea esi, [ebx + 0x114]
push 0
push esi
call fcn.005b4de0
mov eax, dword [ebx]
mov dword [esi], edi
mov dword [ebx + 0x118], 1
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x120], eax
mov eax, dword [sym.demo.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
add esp, 0xc
lea ecx, [ebp]
mov dword [ebx + 0x134], eax
call sym.demo.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x138], eax
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp dword [ebx + 0x110], 0
lea edi, [ebx + 0x124]
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 0x586c5d
xor edi, edi
push edi
push dword [sym.demo.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov eax, connect
push edi
push dword [ebx]
push eax
push eax
push eax
push eax
push reloc.WS2_32.dll_closesocket
push edi
push str.tooltips_class32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebx + 0x114]
push ecx
push edi
push 0x432
push eax
mov dword [ebx + 0x110], eax
call esi
jmp 0x586c5f
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 + 0x110]
call esi
lea eax, [ebx + 0x114]
push eax
push edi
push 0x436
push dword [ebx + 0x110]
call esi
lea eax, [ebx + 0x114]
push eax
push 1
push 0x411
push dword [ebx + 0x110]
call esi
jmp 0x586ba2
movsx eax, si
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, 0x10
cwde
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push ecx
mov dword [ebx + 0x15c], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x158], eax
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x10], eax
test eax, eax
je 0x586e50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x586e50
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
mov eax, dword [ebp + 0x114]
xor ecx, ecx
shr eax, 0x10
test ax, ax
setl cl
mov dword [ebp + 0xe4], 0x12
mov dword [ebp + 0x100], esi
mov dword [ebp + 0xfc], ecx
call fcn.005828e6
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 + 0x15c]
movzx ecx, word [ebx + 0x158]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x586e50
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
shr ecx, 0x10
movsx ecx, cx
movsx eax, si
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x15c], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x158], eax
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x10], eax
test eax, eax
je 0x586e50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x586e50
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call sym.demo.exe_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 ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x114]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 0xf0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xe4], 0xf
mov dword [ebp + 0xe8], edi
mov dword [ebp + 0xfc], eax
mov dword [ebp + 0x100], esi
mov dword [ebp + 0xf4], ecx
mov word [ebp + 0xfa], ax
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 + 0x150], edi
mov ecx, dword [ebp - 0x20]
push 0
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
je 0x586ed9
add ebx, 0x1ac
mov ecx, dword [ebp - 0x20]
push 0
call sym.demo.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
lea esi, [edi + 0x108]
mov eax, dword [esi]
test eax, eax
je 0x586e93
lea ecx, [eax + 0x34]
call sym.demo.exe_public:_bool___thiscall_DuiLib::CEventSource::operator_bool_void_
test al, al
je 0x586e93
mov ecx, dword [esi]
push edi
add ecx, 0x34
call sym.demo.exe_public:_bool___thiscall_DuiLib::CEventSource::operator___void__
mov ecx, ebx
xor esi, esi
call sym.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x586ebb
push esi
mov ecx, ebx
call sym.demo.exe_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.demo.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x586ea0
mov ecx, edi
call fcn.00582931
push edi
call fcn.005b4622
pop ecx
mov ecx, dword [ebp - 0x20]
push 0
call sym.demo.exe_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
jne 0x586e66
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.005b4b30
add ebp, 0x108
leave
ret 0x10