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

Disassembly:
push 0x2c8
mov eax, 0x5c7468
call fcn.004b8fda
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2cc], eax
call sym.setup_SmartCloudPYInput.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.setup_SmartCloudPYInput.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor edi, edi
mov dword [ebp - 4], edi
call sym.setup_SmartCloudPYInput.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.setup_SmartCloudPYInput.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x4a33b2
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x94]
call sym.setup_SmartCloudPYInput.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call sym.setup_SmartCloudPYInput.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c8], eax
cmp eax, 0xffffffff
jne 0x4a335e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.setup_SmartCloudPYInput.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x4a34a4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x4a334a
push ebx
mov dword [ebp - 0x2d0], edi
call fcn.004b8b32
pop ecx
push edi
mov esi, eax
lea eax, [ebp - 0x2d0]
push eax
push ebx
push esi
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], ebx
je 0x4a3491
push esi
call fcn.004b8b3b
pop ecx
jmp 0x4a334a
call sym.setup_SmartCloudPYInput.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x94]
call sym.setup_SmartCloudPYInput.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.setup_SmartCloudPYInput.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x4a33d3
call sym.setup_SmartCloudPYInput.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x4a33ea
push 2
push edi
lea ecx, [ebp - 0x94]
call sym.setup_SmartCloudPYInput.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004ac5fd
add esp, 0xc
mov dword [ebp - 0x2c8], eax
test eax, eax
je 0x4a334a
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x2d4]
push ecx
push 1
push dword [ebp - 0x2cc]
push eax
call fcn.004ac03e
add esp, 0x14
test eax, eax
jne 0x4a334a
mov ebx, dword [ebp - 0x98]
test ebx, ebx
je 0x4a334a
push ebx
call fcn.004b8b32
push 3
push ebx
mov esi, eax
push esi
push dword [ebp - 0x2d4]
push dword [ebp - 0x2c8]
call fcn.004ac9bd
add esp, 0x18
test eax, eax
je 0x4a347c
cmp eax, 0x600
je 0x4a347c
push esi
call fcn.004b8b3b
pop ecx
call sym.setup_SmartCloudPYInput.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x4a334a
push dword [ebp - 0x2c8]
call fcn.004abe98
jmp 0x4a33af
call sym.setup_SmartCloudPYInput.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x4a3491
push dword [ebp - 0x2c8]
call fcn.004abe98
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.setup_SmartCloudPYInput.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x4a3523
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
je 0x4a351f
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x4a351f
push ebx
mov dword [ebp - 0x2c8], edi
call fcn.004b8b32
pop ecx
push edi
mov esi, eax
lea eax, [ebp - 0x2c8]
push eax
push ebx
push esi
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], ebx
je 0x4a351b
push esi
call fcn.004b8b3b
pop ecx
mov esi, edi
test esi, esi
jne 0x4a3523
xor eax, eax
jmp 0x4a355e
push 0x10
call fcn.004b8af1
pop ecx
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4a3545
mov ecx, eax
call fcn.00424150
mov edi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
push ebx
push esi
call fcn.00424200
push 1
push esi
call fcn.004b8b24
pop ecx
pop ecx
mov eax, edi
call fcn.004b8f84
ret 4