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

Disassembly:
push 0x3d4
mov eax, 0x4eb2ff
call fcn.004c05d7
mov esi, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x3d8], edi
call sym.Update.exe_public:_void___thiscall_DuiLib::CMarkup::Release_void_
call sym.Update.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x118]
call sym.Update.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor ebx, ebx
mov dword [ebp - 4], ebx
call sym.Update.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.Update.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x48ba94
push esi
lea ecx, [ebp - 0x118]
call sym.Update.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call sym.Update.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d4], eax
push ebx
cmp eax, 0xffffffff
jne 0x48b9f5
push str.Error_opening_file
mov ecx, edi
call sym.Update.exe_private:_bool___thiscall_DuiLib::CMarkup::_Failed_wchar_t_const___wchar_t_const__
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call sym.Update.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov al, bl
call fcn.004c065a
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x48ba0a
push ebx
push str.File_is_empty
jmp 0x48b9d3
cmp esi, 0x400000
jbe 0x48ba1a
push ebx
push 0x502c8c
jmp 0x48b9d3
push esi
mov dword [ebp - 0x3dc], ebx
call fcn.00475003
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x3dc]
push eax
push esi
push edi
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3dc], esi
je 0x48ba76
push edi
call fcn.004bcb93
pop ecx
mov ecx, dword [ebp - 0x3d8]
call sym.Update.exe_public:_void___thiscall_DuiLib::CMarkup::Release_void_
mov ecx, dword [ebp - 0x3d8]
push ebx
push str.Could_not_read_file
jmp 0x48b9d5
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d8]
push esi
push edi
call sym.Update.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push edi
mov bl, al
call fcn.004bcb93
pop ecx
jmp 0x48b9dc
call sym.Update.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x118]
call sym.Update.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.Update.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x48bab5
call sym.Update.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x48bacc
push 2
push ebx
lea ecx, [ebp - 0x118]
call sym.Update.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const
push eax
call fcn.00488cc2
add esp, 0xc
mov dword [ebp - 0x3d4], eax
cmp eax, ebx
jne 0x48bae1
push ebx
push str.Error_opening_zip_file
jmp 0x48b9d3
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x94]
call sym.Update.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov byte [ebp - 4], 1
call sym.Update.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZipBaseDepth_void_
mov ecx, eax
call sym.Update.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
jne 0x48bb36
lea eax, [ebp - 0x19c]
push esi
push eax
call sym.Update.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZipBaseDepth_void_
mov ecx, eax
call sym.Update.exe_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0047f675
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call sym.Update.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3e0]
push eax
push 1
lea ecx, [ebp - 0x94]
call sym.Update.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const
push eax
push dword [ebp - 0x3d4]
call fcn.004873c2
add esp, 0x14
test eax, eax
je 0x48bb90
push ebx
push str.Could_not_find_ziped_file
mov ecx, edi
call sym.Update.exe_private:_bool___thiscall_DuiLib::CMarkup::_Failed_wchar_t_const___wchar_t_const__
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call sym.Update.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov bl, byte [ebp - 0x3cd]
jmp 0x48b9dc
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x48bbaa
push ebx
push str.File_is_empty
mov ecx, dword [ebp - 0x3d8]
jmp 0x48bb6c
cmp eax, 0x400000
jbe 0x48bbb9
push ebx
push 0x502c8c
jmp 0x48bba2
push eax
call fcn.00475003
push 3
push edi
mov esi, eax
push esi
push dword [ebp - 0x3e0]
push dword [ebp - 0x3d4]
call fcn.00488d20
add esp, 0x18
cmp eax, ebx
je 0x48bc08
cmp eax, 0x600
je 0x48bc08
push esi
call fcn.004bcb93
pop ecx
call sym.Update.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x48bc00
push dword [ebp - 0x3d4]
call fcn.00488d58
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x48bba2
call sym.Update.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x48bc1d
push dword [ebp - 0x3d4]
call fcn.00488d58
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d8]
push edi
push esi
call sym.Update.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push esi
mov byte [ebp - 0x3cd], al
call fcn.004bcb93
pop ecx
jmp 0x48bb77