Function at 0x4cc530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x636578
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push 0xfffffffffffffff0
mov esi, ecx
mov dword [ebp - 0x1f0], eax
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push 0x20
sub edx, eax
push edx
mov edx, dword [ebp - 0x18]
sub edx, ecx
push edx
push eax
push ecx
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____]
lea eax, [esi + 0x24]
push eax
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__]
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0xa4]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
lea ebx, [esi + 0x28]
call edx
push 0
push edi
push ebx
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x1f4], esp
push eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::STRINGorID::constructor_wchar_t_const__]
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
lea ecx, [ebp - 0xa4]
mov ebx, eax
mov byte [ebp - 4], 0
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
test ebx, ebx
jne 0x4cc664
push 0x10
push str.Duilib
push 0x64f4d4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__]
lea eax, [esi + 0x20]
push eax
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1ec]
mov dword [eax], 1
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CMarkup::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 0x10