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

Disassembly:
push 0x2c4
mov eax, 0x1027f9c6
call fcn.100e6a39
mov esi, ecx
mov ebx, dword [ebp + 8]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CMarkup::Release_void_
push sym.nsDui.dll_class_DuiLib::CDuiString_DuiLib::CPaintManagerUI::m_pStrResourcePath
lea ecx, [ebp - 0x98]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [sym.nsDui.dll_class_DuiLib::CDuiString_DuiLib::CPaintManagerUI::m_pStrResourceZip]
cmp word [eax], di
jne 0x100c95ae
test ebx, ebx
je 0x100c9505
push ebx
lea ecx, [ebp - 0x98]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::Append_wchar_t_const__
push edi
push 0x80
push 3
push edi
push 1
push accept
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push edi
cmp ebx, 0xffffffff
jne 0x100c9533
push str.Error_opening_file
jmp 0x100c9684
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x100c961e
cmp edi, 0x400000
ja 0x100c962f
and dword [ebp - 0x2d0], 0
push edi
call fcn.100e641b
pop ecx
push 0
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2cc], eax
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], edi
je 0x100c95a5
mov edi, dword [ebp - 0x2cc]
push edi
call fcn.100e63c6
pop ecx
mov ecx, esi
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CMarkup::Release_void_
push 0
push str.Could_not_read_file
jmp 0x100c9684
push dword [ebp + 0xc]
push edi
jmp 0x100c96a3
push eax
lea ecx, [ebp - 0x98]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::Append_wchar_t_const__
cmp byte [sym.nsDui.dll_bool_DuiLib::CPaintManagerUI::m_bCachedResourceZip], 0
je 0x100c95cb
mov edi, dword [sym.nsDui.dll_void__DuiLib::CPaintManagerUI::m_hResourceZip]
jmp 0x100c95dd
mov ecx, dword [ebp - 0x98]
xor edx, edx
push 2
call fcn.100a5e80
pop ecx
mov edi, eax
test edi, edi
jne 0x100c95ec
push edi
push str.Error_opening_zip_file
jmp 0x100c9684
lea eax, [ebp - 0x2c8]
mov edx, ebx
push eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
mov ecx, edi
call fcn.100a5ee5
add esp, 0xc
test eax, eax
je 0x100c9614
push 0
push str.Could_not_find_ziped_file
jmp 0x100c9684
mov ebx, dword [ebp - 0x9c]
test ebx, ebx
jne 0x100c9627
push 0
push str.File_is_empty
jmp 0x100c9684
cmp ebx, 0x400000
jbe 0x100c9638
push 0
push str.File_too_large
jmp 0x100c9684
push ebx
call fcn.100e641b
mov edx, dword [ebp - 0x2d0]
mov ecx, edi
push ebx
push eax
mov dword [ebp - 0x2cc], eax
call fcn.100a5fe5
add esp, 0xc
test eax, eax
je 0x100c968f
cmp eax, 0x600
je 0x100c968f
push dword [ebp - 0x2cc]
call fcn.100e63c6
cmp byte [sym.nsDui.dll_bool_DuiLib::CPaintManagerUI::m_bCachedResourceZip], 0
pop ecx
jne 0x100c967d
mov ecx, edi
call fcn.100a6018
push 0
push str.Could_not_unzip_file
mov ecx, esi
call sym.nsDui.dll_private:_bool___thiscall_DuiLib::CMarkup::_Failed_wchar_t_const___wchar_t_const__
mov bl, al
jmp 0x100c96ba
cmp byte [sym.nsDui.dll_bool_DuiLib::CPaintManagerUI::m_bCachedResourceZip], 0
jne 0x100c969f
mov ecx, edi
call fcn.100a6018
push dword [ebp + 0xc]
push ebx
mov edi, dword [ebp - 0x2cc]
mov ecx, esi
push edi
call sym.nsDui.dll_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
push edi
mov bl, al
call fcn.100e63c6
pop ecx
lea ecx, [ebp - 0x98]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov al, bl
call fcn.100e69f4
ret 8