Function at 0x442230
Capabilities:
Extract resource via kernel32 functions
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2582
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x484], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x484]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x490]
and eax, 0xff3fffff
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x490]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x484]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x484]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x20
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp - 0x484]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
cmp dword [ebp - 0x484], 0
je 0x442327
mov eax, dword [ebp - 0x484]
add eax, 0x24
mov dword [ebp - 0x49c], eax
jmp 0x442331
mov dword [ebp - 0x49c], 0
mov ecx, dword [ebp - 0x49c]
push ecx
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x1ec]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
movzx edx, al
test edx, edx
je 0x4423ce
lea eax, [ebp - 0x378]
push eax
call sym.Setup.exe_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_
add esp, 4
mov dword [ebp - 0x4b0], eax
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4b4]
push edx
lea ecx, [ebp - 0xa4]
call fcn.0043e130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x378]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea eax, [ebp - 0x2f4]
push eax
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0xa0]
call eax
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x4f4], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4f4]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x484]
mov edx, dword [eax + 0xac]
call edx
mov dword [ebp - 0x494], eax
cmp dword [ebp - 0x494], 1
je 0x442481
cmp dword [ebp - 0x494], 2
je 0x4424a0
cmp dword [ebp - 0x494], 4
je 0x442503
jmp 0x44266c
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
jmp 0x44266c
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4ec], ecx
mov byte [ebp - 4], 4
push 1
mov ecx, dword [ebp - 0x4ec]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x44266c
push 0x4c6ccc
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x484]
mov edx, dword [eax + 0xb4]
call edx
push eax
call sym.Setup.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x442570
mov dword [ebp - 0x4e8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4e8]
jmp 0x442911
mov dword [ebp - 0x498], 0
mov eax, dword [ebp - 0x488]
push eax
call sym.Setup.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
jne 0x4425df
mov ecx, dword [ebp - 0x488]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x4e4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4e4]
jmp 0x442911
mov edx, dword [ebp - 0x488]
push edx
call sym.Setup.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x442637
mov dword [ebp - 0x4e0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4e0]
jmp 0x442911
push str.membuffer
mov eax, dword [ebp - 0x498]
push eax
mov ecx, dword [ebp - 0x4a0]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t__
mov edx, dword [ebp - 0x488]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x484]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0xac]
call eax
cmp eax, 3
jne 0x442757
lea ecx, [ebp - 0x480]
push ecx
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x484]
mov edx, dword [eax + 0xa4]
call edx
mov dword [ebp - 0x4fc], eax
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x4b8], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4b8]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004ab3a4
add esp, 4
mov dword [ebp - 0x4bc], eax
movzx ecx, word [ebp - 0x4bc]
mov dword [ebp - 0x4c0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x480]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x484], 0
je 0x442718
mov edx, dword [ebp - 0x484]
add edx, 0x28
mov dword [ebp - 0x4a4], edx
jmp 0x442722
mov dword [ebp - 0x4a4], 0
push 0
mov eax, dword [ebp - 0x484]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x4a4]
push ecx
push 0x4c6cf0
mov edx, dword [ebp - 0x4c0]
push edx
lea ecx, [ebp - 0x1ec]
call sym.Setup.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__
mov dword [ebp - 0x48c], eax
jmp 0x44281d
cmp dword [ebp - 0x484], 0
je 0x442771
mov eax, dword [ebp - 0x484]
add eax, 0x28
mov dword [ebp - 0x4a8], eax
jmp 0x44277b
mov dword [ebp - 0x4a8], 0
lea ecx, [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x484]
mov edx, dword [eax + 0xa4]
call edx
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], eax
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x4a8]
push edx
push 0
mov ecx, dword [ebp - 0x4c8]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov dword [ebp - 0x4d0], eax
push ecx
mov eax, esp
mov dword [ebp - 0x500], esp
mov dword [ebp - 0x4cc], eax
mov ecx, dword [ebp - 0x4cc]
mov edx, dword [ebp - 0x4d0]
mov dword [ecx], edx
lea ecx, [ebp - 0x1ec]
call sym.Setup.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x48c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3fc]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x48c], 0
jne 0x44286f
push 0x4c6cf8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x48c]
push ecx
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
cmp dword [ebp - 0x484], 0
je 0x44289e
mov edx, dword [ebp - 0x484]
add edx, 0x20
mov dword [ebp - 0x4ac], edx
jmp 0x4428a8
mov dword [ebp - 0x4ac], 0
mov eax, dword [ebp - 0x4ac]
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
push 1
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetBackgroundTransparent_bool_
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x4dc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 0x10