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

Disassembly:
push 0x180
mov eax, 0x47449a
call fcn.0046d551
mov edi, dword [ebp + 8]
mov ebx, ecx
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CMarkup::Release_void_
call sym.PB20Configurator.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x54]
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor esi, esi
mov dword [ebp - 4], esi
call sym.PB20Configurator.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.PB20Configurator.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x458d80
push edi
lea ecx, [ebp - 0x54]
call sym.PB20Configurator.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_char_const__
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x54]
call sym.PB20Configurator.exe_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18c], eax
push esi
cmp eax, 0xffffffff
jne 0x458cdc
push str.Error_opening_file
mov ecx, ebx
call sym.PB20Configurator.exe_private:_bool___thiscall_DuiLib::CMarkup::_Failed_char_const___char_const__
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov al, bl
call fcn.0046d59b
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x458cf1
push esi
push str.File_is_empty
jmp 0x458cbd
cmp edi, 0x400000
jbe 0x458d01
push esi
push str.File_too_large
jmp 0x458cbd
push edi
mov dword [ebp - 0x188], esi
call fcn.00421181
pop ecx
push esi
lea ecx, [ebp - 0x188]
push ecx
push edi
push eax
push dword [ebp - 0x18c]
mov dword [ebp - 0x184], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x188], edi
je 0x458d5c
push dword [ebp - 0x184]
call fcn.00421a19
pop ecx
mov ecx, ebx
call sym.PB20Configurator.exe_public:_void___thiscall_DuiLib::CMarkup::Release_void_
push esi
push str.Could_not_read_file
jmp 0x458cbd
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x184]
call sym.PB20Configurator.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push dword [ebp - 0x184]
mov bl, al
call fcn.00421a19
pop ecx
jmp 0x458cc6
call sym.PB20Configurator.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x54]
call sym.PB20Configurator.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.PB20Configurator.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x458d9e
call sym.PB20Configurator.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x458db2
push 2
push esi
lea ecx, [ebp - 0x54]
call sym.PB20Configurator.exe_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const
push eax
call fcn.00457bb9
add esp, 0xc
mov dword [ebp - 0x184], eax
cmp eax, esi
jne 0x458dc7
push esi
push str.Error_opening_zip_file
jmp 0x458cbd
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x18c]
push eax
push 1
push edi
push dword [ebp - 0x184]
call fcn.004563a1
add esp, 0x14
test eax, eax
je 0x458df5
push esi
push str.Could_not_find_ziped_file
jmp 0x458cbd
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x188], eax
cmp eax, esi
je 0x458ce9
cmp eax, 0x400000
ja 0x458cf9
push eax
call fcn.00421181
push 3
push dword [ebp - 0x188]
mov edi, eax
push edi
push dword [ebp - 0x18c]
push dword [ebp - 0x184]
call fcn.00457c17
add esp, 0x18
cmp eax, esi
je 0x458e68
cmp eax, 0x600
je 0x458e68
push edi
call fcn.00421a19
pop ecx
call sym.PB20Configurator.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x458e5d
push dword [ebp - 0x184]
call fcn.00457c4f
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x458cbd
call sym.PB20Configurator.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x458e7d
push dword [ebp - 0x184]
call fcn.00457c4f
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x188]
push edi
call sym.PB20Configurator.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push edi
jmp 0x458d73