Function at 0x1102cef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118ad08
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x234], ebx
movsx ecx, byte [ebp + 0x24]
mov dword [ebp - 4], 0
cmp ecx, 1
jne 0x1102cfd7
mov edx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov esi, dword [ebp + 8]
cmp edx, 8
cmovae eax, esi
add ebx, 0x4c
cmp word [eax], 0x3c
jne 0x1102cf96
cmp ecx, ecx
jne 0x1102d0ca
cmp edx, 8
lea ecx, [ebp + 8]
cmovae ecx, esi
sub esp, 8
mov edx, esp
lea esi, [ecx + 2]
mov dword [edx], ecx
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1102cf70
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, ebx
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
je 0x1102d079
jmp 0x1102d045
cmp ecx, 1
jne 0x1102d0ca
cmp edx, 8
lea ecx, [ebp + 8]
push 0
cmovae ecx, esi
sub esp, 8
mov edx, esp
lea esi, [ecx + 2]
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1102cfb4
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, ebx
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
je 0x1102d079
jmp 0x1102d045
mov edi, dword [ebp + 0x28]
test ecx, ecx
jne 0x1102d0ca
movzx esi, word [ebp + 8]
call sym.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1102d079
push edi
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 - 0x224], eax
push edi
test eax, eax
je 0x1102d073
add ebx, 0x4c
call sym.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x224]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push esi
push eax
mov ecx, ebx
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push edi
test al, al
je 0x1102d073
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call sym.DuiLib.dll_public:_class_DuiLib::CMarkupNode___thiscall_DuiLib::CMarkup::GetRoot_void_
sub esp, 0x20c
mov esi, eax
mov edi, esp
mov ecx, 0x83
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x234]
call sym.DuiLib.dll_public:_int___thiscall_DuiLib::CResourceManager::LoadResource_class_DuiLib::CMarkupNode_
mov esi, eax
jmp 0x1102d07b
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor esi, esi
mov al, byte [ebp + 0x24]
mov dword [ebp - 4], 1
test al, al
js 0x1102d0aa
movsx eax, al
lea ecx, [ebp - 0x21d]
push ecx
lea ecx, [ebp + 8]
mov byte [ebp - 0x21d], 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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x230]
movq qword [ebp - 0x230], xmm0
call fcn.1102c620
push 0x111d2250
lea eax, [ebp - 0x230]
push eax
call fcn.111220fa
int3