Function at 0x4dba70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637608
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
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 - 0x1f4], 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
mov dword [ebp - 0x1f0], 0x651764
call edx
push 0
push edi
lea ecx, [ebp - 0x1f0]
push ecx
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 - 0x1f8], 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 0x4dbbb1
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 edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx], 1
lea ecx, [ebp - 0x1ec]
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