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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b635d
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4e0], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x4e0]
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 - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
and eax, 0xff3fffff
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x4e0]
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 - 0x4a4]
push edx
mov ecx, dword [ebp - 0x4e0]
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 - 0x498]
sub eax, dword [ebp - 0x4a0]
push eax
mov ecx, dword [ebp - 0x49c]
sub ecx, dword [ebp - 0x4a4]
push ecx
mov edx, dword [ebp - 0x4a0]
push edx
mov eax, dword [ebp - 0x4a4]
push eax
push 0
mov ecx, dword [ebp - 0x4e0]
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 - 0x4e0]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
cmp dword [ebp - 0x4e0], 0
je 0x46378c
mov eax, dword [ebp - 0x4e0]
add eax, 0x24
mov dword [ebp - 0x4e4], eax
jmp 0x463796
mov dword [ebp - 0x4e4], 0
mov ecx, dword [ebp - 0x4e4]
push ecx
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x40c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
movzx edx, al
test edx, edx
je 0x463833
lea eax, [ebp - 0x9c]
push eax
call sym.Setup.exe_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_
add esp, 4
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4ec]
push edx
lea ecx, [ebp - 0x494]
call fcn.00451ad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4e0]
mov eax, dword [edx + 0xa0]
call eax
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4f0]
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 - 0x494]
call sym.Setup.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
mov edx, dword [ebp - 0x4e0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [eax + 0xac]
call edx
mov dword [ebp - 0x4f8], eax
cmp dword [ebp - 0x4f8], 1
je 0x4638e6
cmp dword [ebp - 0x4f8], 2
je 0x463905
cmp dword [ebp - 0x4f8], 4
je 0x463968
jmp 0x463ad1
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
jmp 0x463ad1
lea eax, [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4e0]
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov byte [ebp - 4], 4
push 1
mov ecx, dword [ebp - 0x500]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0x4e0]
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 - 0x1ac]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x463ad1
push 0x4c0104
mov edx, dword [ebp - 0x4e0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4e0]
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 - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0
jne 0x4639d5
mov dword [ebp - 0x4bc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4bc]
jmp 0x463d76
mov dword [ebp - 0x4ac], 0
mov eax, dword [ebp - 0x4b4]
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 - 0x4b0], eax
cmp dword [ebp - 0x4b0], 0
jne 0x463a44
mov ecx, dword [ebp - 0x4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x4c0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4c0]
jmp 0x463d76
mov edx, dword [ebp - 0x4b4]
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 - 0x4ac], eax
cmp dword [ebp - 0x4ac], 0
jne 0x463a9c
mov dword [ebp - 0x4c4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4c4]
jmp 0x463d76
push str.membuffer
mov eax, dword [ebp - 0x4ac]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t__
mov edx, dword [ebp - 0x4b4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x4a8], 0
mov eax, dword [ebp - 0x4e0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4e0]
mov eax, dword [edx + 0xac]
call eax
cmp eax, 3
jne 0x463bbc
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x4e0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [eax + 0xa4]
call edx
mov dword [ebp - 0x504], eax
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x508], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x508]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004b14a4
add esp, 4
mov dword [ebp - 0x4d4], eax
movzx ecx, word [ebp - 0x4d4]
mov dword [ebp - 0x4b8], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x4e0], 0
je 0x463b7d
mov edx, dword [ebp - 0x4e0]
add edx, 0x28
mov dword [ebp - 0x50c], edx
jmp 0x463b87
mov dword [ebp - 0x50c], 0
push 0
mov eax, dword [ebp - 0x4e0]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x50c]
push ecx
push 0x4c00e8
mov edx, dword [ebp - 0x4b8]
push edx
lea ecx, [ebp - 0x40c]
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 - 0x4a8], eax
jmp 0x463c82
cmp dword [ebp - 0x4e0], 0
je 0x463bd6
mov eax, dword [ebp - 0x4e0]
add eax, 0x28
mov dword [ebp - 0x510], eax
jmp 0x463be0
mov dword [ebp - 0x510], 0
lea ecx, [ebp - 0x2bc]
push ecx
mov edx, dword [ebp - 0x4e0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [eax + 0xa4]
call edx
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x514]
mov dword [ebp - 0x518], eax
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x510]
push edx
push 0
mov ecx, dword [ebp - 0x518]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov dword [ebp - 0x4dc], eax
push ecx
mov eax, esp
mov dword [ebp - 0x4c8], esp
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ebp - 0x4dc]
mov dword [ecx], edx
lea ecx, [ebp - 0x40c]
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 - 0x51c], eax
mov eax, dword [ebp - 0x51c]
mov dword [ebp - 0x4a8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2bc]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x4a8], 0
jne 0x463cd4
push 0x4c0088
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x4a8]
push ecx
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
cmp dword [ebp - 0x4e0], 0
je 0x463d03
mov edx, dword [ebp - 0x4e0]
add edx, 0x20
mov dword [ebp - 0x520], edx
jmp 0x463d0d
mov dword [ebp - 0x520], 0
mov eax, dword [ebp - 0x520]
push eax
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
push 1
mov ecx, dword [ebp - 0x4e0]
add ecx, 0x2c
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetBackgroundTransparent_bool_
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4e0]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x4d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x494]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042292e
mov esp, ebp
pop ebp
ret 0x10