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

Disassembly:
push 0x188
mov eax, 0x451289
call fcn.0044e619
mov dword [ebp - 0x194], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x188], ebx
call sym.BearSCInstall.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor edi, edi
mov dword [ebp - 4], edi
call sym.BearSCInstall.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x447508
push ebx
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_char_const__
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4474a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x4475dd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x4474bc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447494
push esi
mov dword [ebp - 0x184], edi
call fcn.0044e68a
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x184]
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 - 0x184], esi
je 0x4475cb
push edi
call fcn.0044e693
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x4475db
call sym.BearSCInstall.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.BearSCInstall.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x447526
call sym.BearSCInstall.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x44753a
push 2
push edi
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const
push eax
call fcn.004293ba
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x447494
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x190]
push eax
push 1
push dword [ebp - 0x188]
push ebx
call fcn.00428efe
add esp, 0x14
test eax, eax
jne 0x447494
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x447494
push esi
call fcn.0044e68a
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x190]
push ebx
call fcn.00429731
add esp, 0x18
test eax, eax
je 0x4475bb
cmp eax, 0x600
je 0x4475bb
push edi
call fcn.0044e693
pop ecx
call sym.BearSCInstall.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x4474f7
push ebx
call fcn.00428d71
jmp 0x4474f6
call sym.BearSCInstall.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x4475cb
push ebx
call fcn.00428d71
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sym.BearSCInstall.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test edi, edi
jne 0x447658
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x447654
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x447617
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447654
push esi
mov dword [ebp - 0x18c], edi
call fcn.0044e68a
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x18c]
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 - 0x18c], esi
je 0x447650
push edi
call fcn.0044e693
pop ecx
xor edi, edi
test edi, edi
jne 0x447658
xor eax, eax
jmp 0x447670
mov ecx, dword [ebp - 0x194]
push esi
push edi
call sym.BearSCInstall.exe_private:_class_Gdiplus::Image____thiscall_DuiLib::CGifAnimUI::LoadGifFromMemory_void___unsigned_int_
push edi
mov esi, eax
call fcn.0044e693
pop ecx
mov eax, esi
call fcn.0044e5c3
ret 4