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

Disassembly:
push 0x2c4
mov eax, 0x4aded7
call fcn.00491aef
mov edi, dword [ebp + 8]
mov ebx, ecx
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CMarkup::Release_void_
call sym.SMAllSetup.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor esi, esi
mov dword [ebp - 4], esi
call sym.SMAllSetup.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.SMAllSetup.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x435976
push edi
lea ecx, [ebp - 0x94]
call sym.SMAllSetup.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push esi
push 0x80
push 3
push esi
push 1
push accept
lea ecx, [ebp - 0x94]
call sym.SMAllSetup.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 - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x4358d2
push str.Error_opening_file
mov ecx, ebx
call sym.SMAllSetup.exe_private:_bool___thiscall_DuiLib::CMarkup::_Failed_wchar_t_const___wchar_t_const__
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov al, bl
call fcn.00491b39
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x4358e7
push esi
push str.File_is_empty
jmp 0x4358b0
cmp edi, 0x400000
jbe 0x4358f7
push esi
push 0x4b98b4
jmp 0x4358b0
push edi
mov dword [ebp - 0x2cc], esi
call fcn.00425b55
pop ecx
push esi
lea ecx, [ebp - 0x2cc]
push ecx
push edi
push eax
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x435952
push dword [ebp - 0x2c8]
call fcn.0048e22f
pop ecx
mov ecx, ebx
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CMarkup::Release_void_
push esi
push str.Could_not_read_file
jmp 0x4358b0
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call sym.SMAllSetup.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push dword [ebp - 0x2c8]
mov bl, al
call fcn.0048e22f
pop ecx
jmp 0x4358b9
call sym.SMAllSetup.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x94]
call sym.SMAllSetup.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.SMAllSetup.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x435997
call sym.SMAllSetup.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x4359ae
push 2
push esi
lea ecx, [ebp - 0x94]
call sym.SMAllSetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.0043ac47
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x4359c3
push esi
push str.Error_opening_zip_file
jmp 0x4358b0
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.0043935f
add esp, 0x14
test eax, eax
je 0x4359f1
push esi
push str.Could_not_find_ziped_file
jmp 0x4358b0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x4358df
cmp eax, 0x400000
ja 0x4358ef
push eax
call fcn.00425b55
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.0043aca5
add esp, 0x18
cmp eax, esi
je 0x435a67
cmp eax, 0x600
je 0x435a67
push edi
call fcn.0048e22f
pop ecx
call sym.SMAllSetup.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x435a5c
push dword [ebp - 0x2c8]
call fcn.0043acdd
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x4358b0
call sym.SMAllSetup.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x435a7c
push dword [ebp - 0x2c8]
call fcn.0043acdd
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call sym.SMAllSetup.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push edi
jmp 0x435969