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

Disassembly:
push ebp
lea ebp, [esp - 0x2b8]
sub esp, 0x2b8
push 0xffffffffffffffff
push 0x4eb6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x537700]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 0x2c0]
mov dword [ebp - 0x1c], esi
call sym.ClientofCSP.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp + 0x230]
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
mov dword [ebp - 4], 0
call sym.ClientofCSP.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.ClientofCSP.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x48ef15
push esi
lea ecx, [ebp + 0x230]
call sym.ClientofCSP.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp + 0x230]
call sym.ClientofCSP.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48ee71
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x48ee71
push esi
mov dword [ebp - 0x10], 0
call fcn.004b8967
add esp, 4
mov edi, eax
lea eax, [ebp - 0x10]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], esi
je 0x48efd8
push edi
call fcn.004a2dd0
add esp, 4
lea ecx, [ebp + 0x230]
mov dword [ebp - 4], 0xffffffff
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48eeee
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x48eeee
push esi
mov dword [ebp - 0x14], 0
call fcn.004b8967
add esp, 4
mov edi, eax
lea eax, [ebp - 0x14]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x48eff3
push edi
call fcn.004a2dd0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.004b847a
lea esp, [ebp + 0x2b8]
pop ebp
ret 4
call sym.ClientofCSP.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp + 0x230]
call sym.ClientofCSP.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.ClientofCSP.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x48ef36
call sym.ClientofCSP.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x48ef4e
push 2
push 0
lea ecx, [ebp + 0x230]
call sym.ClientofCSP.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004a6320
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x48ee71
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push esi
push ebx
call fcn.004a5b00
add esp, 0x14
test eax, eax
jne 0x48ee71
mov esi, dword [ebp + 0x22c]
test esi, esi
je 0x48ee71
push esi
call fcn.004b8967
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x18]
push ebx
call fcn.004a6800
add esp, 0x18
test eax, eax
je 0x48efc6
cmp eax, 0x600
je 0x48efc6
push edi
call fcn.004a2dd0
add esp, 4
call sym.ClientofCSP.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x48ee71
push ebx
call fcn.004a5920
jmp 0x48ee6e
call sym.ClientofCSP.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x48efd8
push ebx
call fcn.004a5920
add esp, 4
lea ecx, [ebp + 0x230]
mov dword [ebp - 4], 0xffffffff
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test edi, edi
jne 0x48effb
jmp 0x48ee83
test edi, edi
je 0x48eeee
mov ecx, dword [ebp - 0x20]
push esi
push edi
call sym.ClientofCSP.exe_private:_class_Gdiplus::Image____thiscall_DuiLib::CGifAnimUI::LoadGifFromMemory_void___unsigned_int_
push 1
push edi
mov esi, eax
call fcn.004b812d
add esp, 8
mov eax, esi
jmp 0x48eef0