Function at 0x110618a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118e060
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x3c], eax
cmp byte [ebp + 0x24], 1
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
jne 0x110619d4
cmp ecx, 8
lea eax, [ebp + 8]
cmovae eax, edx
cmp word [eax], 0x3c
je 0x110619d4
call sym.DuiLib.dll_public:_static_class_DuiLib::CResourceManager____cdecl_DuiLib::CResourceManager::GetInstance_void_
cmp byte [ebp + 0x24], 1
mov edx, eax
jne 0x11061ba4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, edx
push eax
lea eax, [ebp - 0x48]
push eax
call sym.DuiLib.dll_public:_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____thiscall_DuiLib::CResourceManager::GetXmlPath_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x110619ce
xor ecx, ecx
mov dword [ebp - 0x1c], 0
push eax
push dword [ebp - 0x48]
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.1100f550
mov dword [ebp - 0x14], 0
mov al, byte [ebp + 0x24]
movsx ecx, al
mov byte [ebp - 4], 1
cmp ecx, 1
jne 0x1106198a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp + 8]
push eax
call fcn.1100f550
jmp 0x110619c2
mov byte [ebp - 4], 2
test al, al
js 0x110619aa
mov eax, dword [ecx*4 + 0x1119c628]
lea ecx, [ebp - 0x2d]
push ecx
lea ecx, [ebp + 8]
mov byte [ebp - 0x2d], 0
push ecx
call eax
add esp, 8
lea eax, [ebp - 0x2c]
mov byte [ebp + 0x24], 0xff
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1100e160
mov byte [ebp + 0x24], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.1100e280
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
movsx esi, byte [ebp + 0x24]
cmp esi, 1
jne 0x11061a87
cmp ecx, 8
lea eax, [ebp + 8]
cmovae eax, edx
cmp word [eax], 0x3c
jne 0x11061a5e
cmp esi, esi
jne 0x11061ba4
push dword [ebp + 0x18]
cmp ecx, 8
lea eax, [ebp + 8]
mov ecx, edi
cmovae eax, edx
push eax
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CMarkup::Load_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___
test al, al
jne 0x11061b8d
xor esi, esi
mov al, byte [ebp + 0x24]
mov dword [ebp - 4], 3
test al, al
js 0x11061a3f
movsx eax, al
lea ecx, [ebp - 0x2d]
push ecx
lea ecx, [ebp + 8]
mov byte [ebp - 0x2d], 0
push ecx
mov eax, dword [eax*4 + 0x1119c628]
call eax
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 0x34
cmp esi, 1
jne 0x11061ba4
cmp ecx, 8
lea eax, [ebp + 8]
push 0
push dword [ebp + 0x18]
cmovae eax, edx
mov ecx, edi
push eax
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CMarkup::LoadFromFile_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t____int_
test al, al
jne 0x11061b8d
jmp 0x11061a14
mov esi, dword [edi + 0x88]
test esi, esi
jne 0x11061a98
call sym.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
mov esi, eax
movsx ecx, byte [ebp + 0x24]
test ecx, ecx
jne 0x11061ba4
push dword [ebp + 0x28]
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x11061a14
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x38], eax
push edi
test eax, eax
jne 0x11061ad8
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x11061a14
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x30]
push esi
mov dword [eax + 0x68], ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x38]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x34]
push 0
push esi
push eax
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
test al, al
je 0x11061a14
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp + 0x2c]
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push dword [ebp + 0x28]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [edi + 0x6c]
mov word [ebp - 0x28], ax
call fcn.1100f550
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x11061b57
mov ecx, esi
call fcn.11012f80
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
jmp 0x11061b8d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x11061b8d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x11061b83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11061bc9
push edx
push ecx
call fcn.110d0a5e
add esp, 8
push dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp - 0x40]
push dword [ebp + 0x30]
call sym.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__
mov esi, eax
jmp 0x11061a16
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.1102c620
push 0x111d2250
lea eax, [ebp - 0x1c]
push eax
call fcn.111220fa
call fcn.1112ace2
int3