Function at 0x100017e0
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1003a180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
xor edi, edi
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceType_int_]
add esp, 4
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
add esp, 4
call dword [sym.imp.DuiLib.dll_public:_static_int___cdecl_DuiLib::CPaintManagerUI::GetResourceType_void_]
dec eax
cmp eax, 3
ja case.default.0x10001823
jmp dword [eax*4 + 0x100019fc]
push str.skin_
lea ecx, [ebp - 0x90]
call dword [0x10027050]
lea ecx, [ebp - 0x90]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
add esp, 4
push 0
push ecx
mov eax, esp
mov dword [eax], 0x1002d1c8
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CResourceManager____cdecl_DuiLib::CResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CResourceManager::LoadResource_class_DuiLib::STRINGorID__wchar_t_const__]
mov edi, eax
jmp case.default.0x10001823
push str.skin_
lea ecx, [ebp - 0x90]
call dword [0x10027050]
lea ecx, [ebp - 0x90]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
add esp, 4
push 0x1002d1e4
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x1000185c
push str.skin_
lea ecx, [ebp - 0x90]
call dword [0x10027050]
lea ecx, [ebp - 0x90]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
add esp, 4
push str.duilib_ultimate
push 1
push str.duidemo.zip
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool__wchar_t_const__]
add esp, 0xc
jmp 0x10001851
push str.skin_
lea ecx, [ebp - 0x90]
call dword [0x10027050]
lea ecx, [ebp - 0x90]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
mov ebx, dword [sym.imp.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_]
add esp, 4
push str.RES_SKIN
push 0x68
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je case.default.0x10001823
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x100019ca
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x100019c3
push ebx
push 0x1002d248
push 0x42
push str.InitResource
push str.dllmain.cpp
push 2
call fcn.100098c0
push ebx
push 0x1002d248
push 0x42
push str.InitResource
push str.dllmain.cpp
push 2
call fcn.10009560
add esp, 0x30
push 0
push ebx
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t_const__]
add esp, 0xc
push 0
push ecx
mov eax, esp
mov dword [eax], 0x1002d1c8
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CResourceManager____cdecl_DuiLib::CResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CResourceManager::LoadResource_class_DuiLib::STRINGorID__wchar_t_const__]
mov edi, eax
jmp 0x100019d5
push str.SizeofResource_is_less_or_equal_Zero
jmp 0x100019cf
push str.hGlobal_LoadResource_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x90]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011984
mov esp, ebp
pop ebp
ret