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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7552
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x1013a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x400], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x400]
call sym.DTLUI.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
and eax, 0xff3fffff
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
or ecx, 0x4000000
or ecx, 0x2000000
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x400]
call sym.DTLUI.dll_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 - 0x400]
call sym.DTLUI.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 - 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 - 0x400]
call sym.DTLUI.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 - 0x400]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
cmp dword [ebp - 0x400], 0
je 0x100bd6e7
mov eax, dword [ebp - 0x400]
add eax, 0x24
mov dword [ebp - 0x414], eax
jmp 0x100bd6f1
mov dword [ebp - 0x414], 0
mov ecx, dword [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.DTLUI.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x1ec]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
mov dword [ebp - 4], 0
call sym.DTLUI.dll_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
mov ecx, eax
call sym.DTLUI.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
movzx edx, al
test edx, edx
je 0x100bd7bb
lea eax, [ebp - 0xa4]
push eax
call sym.DTLUI.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
push ecx
mov edx, dword [ebp - 0x400]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x400]
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x45c]
call sym.DTLUI.dll_public:_struct_HBITMAP______thiscall_DuiLib::CBitmapT_1_::operator_struct_HBITMAP____void_const
push eax
lea ecx, [ebp - 0xa4]
call sym.DTLUI.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0xa4]
call sym.DTLUI.dll_public:_struct_HBITMAP______thiscall_DuiLib::CBitmapT_1_::operator_struct_HBITMAP____void_const
push eax
call sym.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov ecx, dword [ebp - 0x400]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 2
je 0x100bd7eb
cmp dword [ebp - 0x418], 4
je 0x100bd845
jmp 0x100bd9ba
lea ecx, [ebp - 0x270]
push ecx
mov edx, dword [ebp - 0x400]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x400]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 3
push 1
mov ecx, dword [ebp - 0x454]
call sym.DTLUI.dll_public:_struct_HBITMAP______thiscall_DuiLib::CBitmapT_1_::operator_struct_HBITMAP____void_const
push eax
call sym.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x100bd9ba
push str.ZIPRES
mov ecx, dword [ebp - 0x400]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x34]
call eax
push eax
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x100bd8a0
mov dword [ebp - 0x450], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x450]
jmp 0x100bdc0a
mov dword [ebp - 0x408], 0
mov ecx, dword [ebp - 0x404]
push ecx
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x100bd900
mov edx, dword [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x44c]
jmp 0x100bdc0a
mov eax, dword [ebp - 0x404]
push eax
call sym.DTLUI.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jne 0x100bd949
mov dword [ebp - 0x464], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x464]
jmp 0x100bdc0a
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.100c985a
add esp, 4
mov dword [ebp - 0x42c], eax
mov edx, dword [ebp - 0x42c]
mov dword [sym.DTLUI.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], edx
cmp dword [sym.DTLUI.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], 0
je 0x100bd997
mov eax, dword [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [sym.DTLUI.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
push edx
call fcn.100cce00
add esp, 0xc
mov eax, dword [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x408]
push ecx
mov edx, dword [sym.DTLUI.dll_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
push edx
call sym.DTLUI.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetBaseResourceZip_void___unsigned_int_
add esp, 8
mov dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0x400]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x2c]
call eax
cmp eax, 3
jne 0x100bda98
lea ecx, [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x400]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x400]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x434]
call sym.DTLUI.dll_public:_struct_HBITMAP______thiscall_DuiLib::CBitmapT_1_::operator_struct_HBITMAP____void_const
push eax
call fcn.100d26ff
add esp, 4
push eax
lea ecx, [ebp - 0x438]
call fcn.10087a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3fc]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x400], 0
je 0x100bda59
mov ecx, dword [ebp - 0x400]
add ecx, 0x28
mov dword [ebp - 0x420], ecx
jmp 0x100bda63
mov dword [ebp - 0x420], 0
push 0
mov edx, dword [ebp - 0x400]
add edx, 0x2c
push edx
mov eax, dword [ebp - 0x420]
push eax
push 0x100fb7d4
mov ecx, dword [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x1ec]
call sym.DTLUI.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 - 0x40c], eax
jmp 0x100bdb3b
cmp dword [ebp - 0x400], 0
je 0x100bdab2
mov edx, dword [ebp - 0x400]
add edx, 0x28
mov dword [ebp - 0x424], edx
jmp 0x100bdabc
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x400]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 5
push 0
mov edx, dword [ebp - 0x400]
add edx, 0x2c
push edx
mov eax, dword [ebp - 0x424]
push eax
push 0
mov ecx, dword [ebp - 0x440]
call sym.DTLUI.dll_public:_struct_HBITMAP______thiscall_DuiLib::CBitmapT_1_::operator_struct_HBITMAP____void_const
push ecx
mov ecx, esp
mov dword [ebp - 0x468], esp
push eax
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CBitmapT_1_::constructor_struct_HBITMAP____
lea ecx, [ebp - 0x1ec]
call sym.DTLUI.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 - 0x40c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x378]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x40c], 0
jne 0x100bdb87
push 0x10
push str.Duilib
push 0x100fb7ec
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x40c]
push ecx
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.DTLUI.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
cmp dword [ebp - 0x400], 0
je 0x100bdbb6
mov edx, dword [ebp - 0x400]
add edx, 0x20
mov dword [ebp - 0x428], edx
jmp 0x100bdbc0
mov dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.DTLUI.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
mov ecx, dword [ebp - 0x400]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x400]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.DTLUI.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x448]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c928c
mov esp, ebp
pop ebp
ret 0x10