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

Disassembly:
push 0x450
mov eax, 0x101056e3
call fcn.100c2a72
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 0x1006a9cc
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 0x1006a928
push str.Error_opening_file
jmp 0x1006aa58
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x1006a940
push ebx
push str.File_is_empty
jmp 0x1006aa58
cmp edi, 0x400000
jbe 0x1006a953
push ebx
push str.File_too_large
jmp 0x1006aa58
push edi
mov dword [ebp - 0x458], ebx
call fcn.100c1dfa
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 0x1006a9ad
push ebx
call fcn.100c1e03
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 0x1006aa58
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.100c1e03
pop ecx
jmp 0x1006ab76
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 0x1006a9ef
call sym.UserAndPayClient.dll_public:_static_void____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
mov ebx, eax
jmp 0x1006aa4e
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.10084ce3
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.10087aff
mov ebx, eax
pop ecx
pop ecx
test edi, edi
je 0x1006aa39
push edi
call fcn.100c1e03
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 0x1006aa66
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 0x1006ab76
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 0x1012bcc0
push 0x1012be54
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.100874d6
add esp, 0x14
test eax, eax
je 0x1006aac6
push 0
push str.Could_not_find_ziped_file
jmp 0x1006ab35
mov edi, dword [ebp - 0x224]
test edi, edi
jne 0x1006aad8
push edi
push str.File_is_empty
jmp 0x1006ab35
cmp edi, 0x400000
jbe 0x1006aae9
push 0
push str.File_too_large
jmp 0x1006ab35
push edi
call fcn.100c1dfa
push edi
push eax
push dword [ebp - 0x458]
mov dword [ebp - 0x454], eax
push ebx
call fcn.10087f39
add esp, 0x14
test eax, eax
je 0x1006ab40
cmp eax, 0x600
je 0x1006ab40
mov edi, dword [ebp - 0x454]
push edi
call fcn.100c1e03
pop ecx
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1006ab2e
push ebx
call fcn.100872b5
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 0x1006ab6b
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1006ab50
push ebx
call fcn.100872b5
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.100c1e03
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.100c2a2d
ret 8