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

Disassembly:
push 0x450
mov eax, 0x101262e4
call fcn.100e44b3
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 0x1008c35a
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 0x1008c2b6
push str.Error_opening_file
jmp 0x1008c3e6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x1008c2ce
push ebx
push str.File_is_empty
jmp 0x1008c3e6
cmp edi, 0x400000
jbe 0x1008c2e1
push ebx
push str.File_too_large
jmp 0x1008c3e6
push edi
mov dword [ebp - 0x458], ebx
call fcn.100e385a
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 0x1008c33b
push ebx
call fcn.100e3863
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 0x1008c3e6
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.100e3863
pop ecx
jmp 0x1008c504
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 0x1008c37d
call sym.UserAndPayClient.dll_public:_static_void____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
mov ebx, eax
jmp 0x1008c3dc
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.1008ce2e
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.100a94f1
mov ebx, eax
pop ecx
pop ecx
test edi, edi
je 0x1008c3c7
push edi
call fcn.100e3863
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 0x1008c3f4
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 0x1008c504
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 0x1012ed78
push 0x1012ed7c
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.100a8ec8
add esp, 0x14
test eax, eax
je 0x1008c454
push 0
push str.Could_not_find_ziped_file
jmp 0x1008c4c3
mov edi, dword [ebp - 0x224]
test edi, edi
jne 0x1008c466
push edi
push str.File_is_empty
jmp 0x1008c4c3
cmp edi, 0x400000
jbe 0x1008c477
push 0
push str.File_too_large
jmp 0x1008c4c3
push edi
call fcn.100e385a
push edi
push eax
push dword [ebp - 0x458]
mov dword [ebp - 0x454], eax
push ebx
call fcn.100a992b
add esp, 0x14
test eax, eax
je 0x1008c4ce
cmp eax, 0x600
je 0x1008c4ce
mov edi, dword [ebp - 0x454]
push edi
call fcn.100e3863
pop ecx
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1008c4bc
push ebx
call fcn.100a8ca7
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 0x1008c4f9
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1008c4de
push ebx
call fcn.100a8ca7
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.100e3863
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.100e446e
ret 8