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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11078012
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x110a4e1c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x448]
call sym.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0xff3fffff
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x448]
call sym.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edx, [ebp - 0x16c]
push edx
mov ecx, dword [ebp - 0x448]
call sym.DuiLib.dll_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 - 0x160]
sub eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x16c]
push eax
push 0
mov ecx, dword [ebp - 0x448]
call sym.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x448]
add ecx, 0x2c
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
cmp dword [ebp - 0x448], 0
je 0x11009120
mov eax, dword [ebp - 0x448]
add eax, 0x24
mov dword [ebp - 0x44c], eax
jmp 0x1100912a
mov dword [ebp - 0x44c], 0
mov ecx, dword [ebp - 0x44c]
push ecx
mov ecx, dword [ebp - 0x448]
add ecx, 0x2c
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x15c]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
mov dword [ebp - 4], 0
call sym.DuiLib.dll_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
mov ecx, eax
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
movzx edx, al
test edx, edx
je 0x110091f4
lea eax, [ebp - 0x1fc]
push eax
call sym.DuiLib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x448]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x448]
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x454]
call sym.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x1fc]
call sym.DuiLib.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x1fc]
call sym.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call sym.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1fc]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 2
je 0x11009224
cmp dword [ebp - 0x458], 4
je 0x1100927e
jmp 0x110093f3
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x448]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x448]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 3
push 1
mov ecx, dword [ebp - 0x460]
call sym.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call sym.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x314]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x110093f3
push str.ZIPRES
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx + 0x34]
call eax
push eax
call sym.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x110092d9
mov dword [ebp - 0x318], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x318]
jmp 0x1100967a
mov dword [ebp - 0x200], 0
mov ecx, dword [ebp - 0x208]
push ecx
call sym.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
jne 0x11009339
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x31c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x31c]
jmp 0x1100967a
mov eax, dword [ebp - 0x208]
push eax
call sym.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x11009382
mov dword [ebp - 0x320], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x320]
jmp 0x1100967a
mov ecx, dword [ebp - 0x200]
push ecx
call fcn.11066ce9
add esp, 4
mov dword [ebp - 0x324], eax
mov edx, dword [ebp - 0x324]
mov dword [sym.DuiLib.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], edx
cmp dword [sym.DuiLib.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], 0
je 0x110093d0
mov eax, dword [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [sym.DuiLib.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
push edx
call fcn.110676b0
add esp, 0xc
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x200]
push ecx
mov edx, dword [sym.DuiLib.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
push edx
call sym.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int_
add esp, 8
mov dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x448]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx + 0x2c]
call eax
cmp eax, 3
jne 0x110094d8
lea ecx, [ebp - 0x3a8]
push ecx
mov edx, dword [ebp - 0x448]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x448]
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x468]
call sym.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.110676a1
add esp, 4
mov dword [ebp - 0x43c], eax
movzx ecx, word [ebp - 0x43c]
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a8]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x448], 0
je 0x11009499
mov edx, dword [ebp - 0x448]
add edx, 0x28
mov dword [ebp - 0x46c], edx
jmp 0x110094a3
mov dword [ebp - 0x46c], 0
push 0
mov eax, dword [ebp - 0x448]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x46c]
push ecx
push 0x1107ec70
mov edx, dword [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x15c]
call sym.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 dword [ebp - 0x170], eax
jmp 0x1100959b
cmp dword [ebp - 0x448], 0
je 0x110094f2
mov eax, dword [ebp - 0x448]
add eax, 0x28
mov dword [ebp - 0x470], eax
jmp 0x110094fc
mov dword [ebp - 0x470], 0
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x448]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x448]
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x478], eax
mov byte [ebp - 4], 5
push 0
mov ecx, dword [ebp - 0x448]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x470]
push edx
push 0
mov ecx, dword [ebp - 0x478]
call sym.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov dword [ebp - 0x444], eax
push ecx
mov eax, esp
mov dword [ebp - 0x3ac], esp
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x440]
mov edx, dword [ebp - 0x444]
mov dword [ecx], edx
lea ecx, [ebp - 0x15c]
call sym.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 dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x170], 0
jne 0x110095e7
push 0x10
push str.Duilib
push 0x1107ec4c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x448]
add ecx, 0x2c
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
cmp dword [ebp - 0x448], 0
je 0x11009616
mov edx, dword [ebp - 0x448]
add edx, 0x20
mov dword [ebp - 0x480], edx
jmp 0x11009620
mov dword [ebp - 0x480], 0
mov eax, dword [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x448]
add ecx, 0x2c
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
push 1
mov ecx, dword [ebp - 0x448]
add ecx, 0x2c
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SetBackgroundTransparent_bool_
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
mov eax, dword [ebp - 0x438]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.11067296
mov esp, ebp
pop ebp
ret 0x10