Function at 0x1102d1a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1105f03b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x1108a2ec]
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 esi, ecx
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1102d1e2
push eax
call fcn.11051022
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1102d1f2
push eax
call fcn.11051022
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
call sym.duilib.dll_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.duilib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
mov dword [ebp - 4], 0
call sym.duilib.dll_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.duilib.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x1102d2f2
push ebx
lea ecx, [ebp - 0x94]
call sym.duilib.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call sym.duilib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1102d26e
push 0x63
push 0x11066d5c
jmp 0x1102d3d9
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x1102d36e
cmp edi, 0x400000
ja 0x1102d37f
push edi
mov dword [ebp - 0x2cc], 0
call fcn.1104c481
add esp, 4
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2cc]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x1102d2e9
mov edi, dword [ebp - 0x2c8]
push edi
call fcn.1104c48a
add esp, 4
mov ecx, esi
call sym.duilib.dll_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
push 0x63
push str.Could_not_read_file
jmp 0x1102d3d9
push dword [ebp + 0xc]
push edi
jmp 0x1102d412
call sym.duilib.dll_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x94]
call sym.duilib.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.duilib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x1102d313
call sym.duilib.dll_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x1102d32b
push 2
push 0
lea ecx, [ebp - 0x94]
call sym.duilib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.110481d0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x1102d33d
push 0x63
push str.Error_opening_zip_file
jmp 0x1102d3d9
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.11047ae0
add esp, 0x14
test eax, eax
je 0x1102d364
push 0x63
push str.Could_not_find_ziped_file
jmp 0x1102d3d9
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x1102d377
push 0x63
push str.File_is_empty
jmp 0x1102d3d9
cmp ebx, 0x400000
jbe 0x1102d388
push 0x63
push str.File_too_large
jmp 0x1102d3d9
push ebx
call fcn.1104c481
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.11048660
add esp, 0x18
test eax, eax
je 0x1102d3fc
cmp eax, 0x600
je 0x1102d3fc
push dword [ebp - 0x2c8]
call fcn.1104c48a
add esp, 4
call sym.duilib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1102d3d2
push edi
call fcn.110478c0
add esp, 4
push 0x63
push str.Could_not_unzip_file
lea eax, [esi + 0x10]
push eax
call fcn.1104fc77
push 0x31
lea eax, [esi + 0xd8]
push 0x11061324
push eax
call fcn.1104fc77
add esp, 0x18
xor bl, bl
jmp 0x1102d42b
call sym.duilib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1102d40e
push edi
call fcn.110478c0
add esp, 4
push dword [ebp + 0xc]
push ebx
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push edi
call sym.duilib.dll_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push edi
mov bl, al
call fcn.1104c48a
add esp, 4
lea ecx, [ebp - 0x94]
call sym.duilib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov al, bl
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.1104c36e
mov esp, ebp
pop ebp
ret 8