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

Disassembly:
push 0x3d4
mov eax, 0x4ea1cf
call fcn.004bf4a7
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 0x48a961
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 0x48a8c2
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.004bf52a
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x48a8d7
push ebx
push str.File_is_empty
jmp 0x48a8a0
cmp esi, 0x400000
jbe 0x48a8e7
push ebx
push 0x501c7c
jmp 0x48a8a0
push esi
mov dword [ebp - 0x3dc], ebx
call fcn.00473ed3
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 0x48a943
push edi
call fcn.004bba63
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 0x48a8a2
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.004bba63
pop ecx
jmp 0x48a8a9
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 0x48a982
call sym.Update.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x48a999
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.00487b8f
add esp, 0xc
mov dword [ebp - 0x3d4], eax
cmp eax, ebx
jne 0x48a9ae
push ebx
push str.Error_opening_zip_file
jmp 0x48a8a0
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 0x48aa03
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.0047e545
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.0048628f
add esp, 0x14
test eax, eax
je 0x48aa5d
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 0x48a8a9
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x48aa77
push ebx
push str.File_is_empty
mov ecx, dword [ebp - 0x3d8]
jmp 0x48aa39
cmp eax, 0x400000
jbe 0x48aa86
push ebx
push 0x501c7c
jmp 0x48aa6f
push eax
call fcn.00473ed3
push 3
push edi
mov esi, eax
push esi
push dword [ebp - 0x3e0]
push dword [ebp - 0x3d4]
call fcn.00487bed
add esp, 0x18
cmp eax, ebx
je 0x48aad5
cmp eax, 0x600
je 0x48aad5
push esi
call fcn.004bba63
pop ecx
call sym.Update.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x48aacd
push dword [ebp - 0x3d4]
call fcn.00487c25
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x48aa6f
call sym.Update.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x48aaea
push dword [ebp - 0x3d4]
call fcn.00487c25
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.004bba63
pop ecx
jmp 0x48aa44