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

Disassembly:
push ebp
lea ebp, [esp - 0x2b8]
sub esp, 0x2b8
push 0xffffffffffffffff
push 0x717990
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x7f9c40]
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 0x4e3315
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 bind
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 0x4e3271
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4e3271
push esi
mov dword [ebp - 0x10], 0
call fcn.006df164
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 0x4e33d8
push edi
call fcn.004f6d20
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 bind
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4e32ee
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4e32ee
push esi
mov dword [ebp - 0x14], 0
call fcn.006df164
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 0x4e33f3
push edi
call fcn.004f6d20
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.006def69
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 0x4e3336
call sym.ClientofCSP.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x4e334e
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.004f7af0
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x4e3271
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push esi
push ebx
call fcn.004f72b0
add esp, 0x14
test eax, eax
jne 0x4e3271
mov esi, dword [ebp + 0x22c]
test esi, esi
je 0x4e3271
push esi
call fcn.006df164
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x18]
push ebx
call fcn.004f7fd0
add esp, 0x18
test eax, eax
je 0x4e33c6
cmp eax, 0x600
je 0x4e33c6
push edi
call fcn.004f6d20
add esp, 4
call sym.ClientofCSP.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x4e3271
push ebx
call fcn.004f70d0
jmp 0x4e326e
call sym.ClientofCSP.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x4e33d8
push ebx
call fcn.004f70d0
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 0x4e33fb
jmp 0x4e3283
test edi, edi
je 0x4e32ee
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.006dec1c
add esp, 8
mov eax, esi
jmp 0x4e32f0