Function at 0x42e580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5817
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x639210]
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 edi, ecx
mov ebx, dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push 0xfffffffffffffff0
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
mov esi, dword [ebp - 0x24]
mov ebx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
test eax, eax
je 0x42e61c
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 0x20
sub eax, esi
push eax
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov ecx, edi
push eax
push ebx
push edx
push 0
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND_____wchar_t_const__]
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__]
lea ecx, [ebp - 0x1d0]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2e8]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x20]
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 eax
lea ecx, [ebp - 0x88]
call fcn.004022c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e8]
mov esi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
call esi
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push 0
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00569510
add esp, 8
cmp eax, 0xffffffff
je 0x42e6e2
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
add esp, 4
jmp 0x42e717
mov eax, dword [edi]
lea ecx, [ebp - 0x260]
push ecx
mov ecx, edi
call dword [eax + 0x8c]
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_]
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x260]
cmp eax, 3
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x42e782
call dword [eax + 0x24]
mov byte [ebp - 4], 5
mov ecx, eax
mov eax, dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
call eax
push eax
call fcn.00569c8a
add esp, 4
lea ecx, [ebp - 0x1d4]
push eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::STRINGorID::constructor_unsigned_int_]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call esi
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x60b2f4
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1d0]
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__]
mov esi, eax
jmp 0x42e7c3
lea esi, [edi + 0x28]
call dword [eax + 0x24]
push 0
push ebx
push esi
mov byte [ebp - 4], 6
mov ecx, eax
mov eax, dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push 0
call eax
push ecx
mov ecx, esp
push eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::STRINGorID::constructor_wchar_t_const__]
lea ecx, [ebp - 0x1d0]
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 - 0x260]
mov byte [ebp - 4], 3
mov esi, eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
test esi, esi
jne 0x42e7e2
push 0x10
push str.Duilib
push 0x60b30c
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__]
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0x88]
call fcn.00402220
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
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.00567455
mov esp, ebp
pop ebp
ret