Function at 0x407760
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b61fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4f44d0]
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.Unstall_App.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x494]
and eax, 0xff3fffff
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x494]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x484]
call sym.Unstall_App.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.Unstall_App.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.Unstall_App.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND_____wchar_t_const__
cmp dword [ebp - 0x484], 0
je 0x407859
mov eax, dword [ebp - 0x484]
add eax, 0x24
mov dword [ebp - 0x4a0], eax
jmp 0x407863
mov dword [ebp - 0x4a0], 0
mov ecx, dword [ebp - 0x4a0]
push ecx
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Unstall_App.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x1ec]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
mov dword [ebp - 4], 0
call sym.Unstall_App.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
movzx edx, al
test edx, edx
je 0x407951
lea eax, [ebp - 0x270]
push eax
call sym.Unstall_App.exe_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_
add esp, 4
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4c0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c0]
push edx
lea ecx, [ebp - 0xa4]
call fcn.004129f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea eax, [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d0], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4d0]
call sym.Unstall_App.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x378]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call sym.Unstall_App.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
add esp, 4
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x484]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 2
je 0x407995
cmp dword [ebp - 0x49c], 4
je 0x4079ef
jmp 0x407b91
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x4e0], ecx
mov byte [ebp - 4], 4
push 1
mov ecx, dword [ebp - 0x4e0]
call sym.Unstall_App.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call sym.Unstall_App.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x480]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x407b91
push 0x4bb0a8
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x484]
mov edx, dword [eax + 0x34]
call edx
push eax
call sym.Unstall_App.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0
jne 0x407a59
mov dword [ebp - 0x4e8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4e8]
jmp 0x407dff
mov dword [ebp - 0x488], 0
mov eax, dword [ebp - 0x48c]
push eax
call sym.Unstall_App.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x4a4], eax
cmp dword [ebp - 0x4a4], 0
jne 0x407ac8
mov ecx, dword [ebp - 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x4b0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4b0]
jmp 0x407dff
mov edx, dword [ebp - 0x48c]
push edx
call sym.Unstall_App.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x407b20
mov dword [ebp - 0x4d4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4d4]
jmp 0x407dff
mov eax, dword [ebp - 0x488]
push eax
call fcn.00485d4e
add esp, 4
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
mov dword [sym.Unstall_App.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], ecx
cmp dword [sym.Unstall_App.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], 0
je 0x407b6e
mov edx, dword [ebp - 0x488]
push edx
mov eax, dword [ebp - 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [sym.Unstall_App.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
push ecx
call fcn.004872b0
add esp, 0xc
mov edx, dword [ebp - 0x48c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [sym.Unstall_App.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
push ecx
call sym.Unstall_App.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int_
add esp, 8
mov dword [ebp - 0x490], 0
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x484]
mov edx, dword [eax + 0x2c]
call edx
cmp eax, 3
jne 0x407c6f
lea eax, [ebp - 0x2f4]
push eax
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x4bc], eax
mov ecx, dword [ebp - 0x4bc]
mov dword [ebp - 0x4e4], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4e4]
call sym.Unstall_App.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.00489154
add esp, 4
push eax
lea ecx, [ebp - 0x4c4]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::STRINGorID::constructor_unsigned_int_
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x484], 0
je 0x407c30
mov edx, dword [ebp - 0x484]
add edx, 0x28
mov dword [ebp - 0x4ac], edx
jmp 0x407c3a
mov dword [ebp - 0x4ac], 0
push 0
mov eax, dword [ebp - 0x484]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x4ac]
push ecx
push 0x4bb0b8
mov edx, dword [ebp - 0x4c4]
push edx
lea ecx, [ebp - 0x1ec]
call sym.Unstall_App.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 - 0x490], eax
jmp 0x407d12
cmp dword [ebp - 0x484], 0
je 0x407c89
mov eax, dword [ebp - 0x484]
add eax, 0x28
mov dword [ebp - 0x498], eax
jmp 0x407c93
mov dword [ebp - 0x498], 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 + 0x24]
call edx
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4cc], eax
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x498]
push edx
push 0
mov ecx, dword [ebp - 0x4cc]
call sym.Unstall_App.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push ecx
mov ecx, esp
mov dword [ebp - 0x4f4], esp
push eax
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::STRINGorID::constructor_wchar_t_const__
lea ecx, [ebp - 0x1ec]
call sym.Unstall_App.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 - 0x490], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3fc]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x490], 0
jne 0x407d6d
push 0x10
push str.Duilib
push 0x4bb0d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x490]
push eax
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Unstall_App.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
cmp dword [ebp - 0x484], 0
je 0x407d9c
mov ecx, dword [ebp - 0x484]
add ecx, 0x20
mov dword [ebp - 0x4a8], ecx
jmp 0x407da6
mov dword [ebp - 0x4a8], 0
mov edx, dword [ebp - 0x4a8]
push edx
mov ecx, dword [ebp - 0x484]
add ecx, 0x2c
call sym.Unstall_App.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
mov eax, dword [ebp - 0x484]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x484]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x4b4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.Unstall_App.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487ff2
mov esp, ebp
pop ebp
ret 0x10