Function at 0x4f4760
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x746cb0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x8312b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
push 0x7fb570
mov ecx, edi
call fcn.00460420
test al, al
je 0x4f4832
mov eax, dword [ebp - 0x20]
cmp eax, 8
jne 0x4f47ef
mov ecx, dword [ebp - 0x24]
mov edx, 0x7fb5a0
push eax
call fcn.00460840
add esp, 4
test eax, eax
jne 0x4f49cb
mov eax, dword [esi - 0x24]
lea ecx, [esi - 0x24]
push 1
push 0
call dword [eax + 4]
jmp 0x4f49cb
cmp eax, 9
jne 0x4f49cb
mov ecx, dword [ebp - 0x24]
mov edx, 0x7fb58c
push eax
call fcn.00460840
add esp, 4
test eax, eax
jne 0x4f49cb
call fcn.0045bc30
push ecx
push 0
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x7556
push ecx
mov ecx, eax
call fcn.004be440
jmp 0x4f49cb
push str.itemclick
mov ecx, edi
call fcn.00460420
test al, al
je 0x4f4986
push str.DUI_MSGTYPE_ITEMCLICK_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
call eax
mov dword [esi + 0x658], eax
test eax, eax
js 0x4f4912
mov ecx, dword [esi + 0x524]
add ecx, 0x288
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp dword [esi + 0x658], eax
jge 0x4f4912
mov ecx, dword [esi + 0x524]
xor edi, edi
add ecx, 0x288
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jle 0x4f4912
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esi + 0x524]
add ecx, 0x288
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], str.ctl_icon
mov dword [ecx + 4], 8
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CContainerUI::FindSubControl_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___]
mov ecx, eax
test ecx, ecx
je 0x4f48fa
mov eax, dword [ecx]
cmp dword [esi + 0x658], edi
mov edx, dword [eax + 0x138]
sete al
movzx eax, al
push eax
call edx
mov ecx, dword [esi + 0x524]
inc edi
add ecx, 0x288
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp edi, eax
jl 0x4f48b0
lea ecx, [ebp - 0x2c]
call fcn.0045d210
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x4f494e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4f494e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4f494e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0x528]
push dword [esi + 0x658]
mov dword [ebp - 0x14], 0x7575
sub esp, 0xa4
mov ecx, esp
push eax
call fcn.0045f920
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.004f49f0
jmp 0x4f49cb
push str.dbclick
mov ecx, edi
call fcn.00460420
test al, al
je 0x4f49c2
push str.DUI_MSGTYPE_DBCLICK_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
call eax
lea ecx, [esi - 0x24]
mov dword [esi + 0x658], eax
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 4]
jmp 0x4f49cb
push edi
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4