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

Disassembly:
push 0x450
mov eax, 0x10125bca
call fcn.100e3cf0
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x45c], edi
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CMarkup::Release_void_
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_class_xx_DuiLib::CDuiString_const__
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x220]
push edi
mov dword [ebp - 4], ebx
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov byte [ebp - 4], 1
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x1008b971
push edi
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CDuiString_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x454], eax
push ebx
cmp eax, 0xffffffff
jne 0x1008b8cd
push str.Error_opening_file
jmp 0x1008b9fd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x1008b8e5
push ebx
push str.File_is_empty
jmp 0x1008b9fd
cmp edi, 0x400000
jbe 0x1008b8f8
push ebx
push str.File_too_large
jmp 0x1008b9fd
push edi
mov dword [ebp - 0x458], ebx
call fcn.100e307a
pop ecx
mov ebx, eax
lea eax, [ebp - 0x458]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x454]
mov dword [ebp - 0x45c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x454]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x458], edi
je 0x1008b952
push ebx
call fcn.100e3083
pop ecx
mov ecx, esi
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CMarkup::Release_void_
push 0
push str.Could_not_read_file
jmp 0x1008b9fd
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push dword [ebp - 0x45c]
mov bl, al
call fcn.100e3083
pop ecx
jmp 0x1008bb1b
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CDuiString_const____thiscall_xx_DuiLib::CDuiString::operator_class_xx_DuiLib::CDuiString_const__
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x1008b994
call sym.UserAndPayClient.dll_public:_static_void____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
mov ebx, eax
jmp 0x1008b9f3
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZipPwd_void_
push eax
lea ecx, [ebp - 0x19c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_class_xx_DuiLib::CDuiString_const__
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.1008c440
pop ecx
mov edi, eax
lea ecx, [ebp - 0x94]
push edi
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.100a8b46
mov ebx, eax
pop ecx
pop ecx
test edi, edi
je 0x1008b9de
push edi
call fcn.100e3083
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov edi, dword [ebp - 0x45c]
test ebx, ebx
jne 0x1008ba0b
push ebx
push str.Error_opening_zip_file
mov ecx, esi
call sym.UserAndPayClient.dll_private:_bool___thiscall_xx_DuiLib::CMarkup::_Failed_wchar_t_const___wchar_t_const__
mov bl, al
jmp 0x1008bb1b
and dword [ebp - 0x458], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push edi
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
push 0x1012dd78
push 0x1012dd7c
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call sym.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CDuiString::Replace_wchar_t_const___wchar_t_const__
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x458]
push eax
push 1
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push ebx
call fcn.100a851d
add esp, 0x14
test eax, eax
je 0x1008ba6b
push 0
push str.Could_not_find_ziped_file
jmp 0x1008bada
mov edi, dword [ebp - 0x224]
test edi, edi
jne 0x1008ba7d
push edi
push str.File_is_empty
jmp 0x1008bada
cmp edi, 0x400000
jbe 0x1008ba8e
push 0
push str.File_too_large
jmp 0x1008bada
push edi
call fcn.100e307a
push edi
push eax
push dword [ebp - 0x458]
mov dword [ebp - 0x454], eax
push ebx
call fcn.100a8f80
add esp, 0x14
test eax, eax
je 0x1008bae5
cmp eax, 0x600
je 0x1008bae5
mov edi, dword [ebp - 0x454]
push edi
call fcn.100e3083
pop ecx
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1008bad3
push ebx
call fcn.100a82fc
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call sym.UserAndPayClient.dll_private:_bool___thiscall_xx_DuiLib::CMarkup::_Failed_wchar_t_const___wchar_t_const__
mov bl, al
jmp 0x1008bb10
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1008baf5
push ebx
call fcn.100a82fc
pop ecx
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x454]
push edi
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push edi
mov bl, al
call fcn.100e3083
pop ecx
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x220]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov al, bl
call fcn.100e3cab
ret 8