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

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x54e038]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0x18
mov eax, 0x4d3ac8
call fcn.004acddb
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp + 0x2c0]
mov dword [ebp - 0x20], esi
call sym.mininewsgouwu.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp + 0x230]
call sym.mininewsgouwu.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor edi, edi
mov dword [ebp - 4], edi
call sym.mininewsgouwu.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.mininewsgouwu.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x43f519
push esi
lea ecx, [ebp + 0x230]
call sym.mininewsgouwu.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp + 0x230]
call sym.mininewsgouwu.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 - 0x10], eax
cmp eax, 0xffffffff
jne 0x43f4d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call sym.mininewsgouwu.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x43f5f3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
je 0x43f4c0
push esi
mov dword [ebp - 0x18], edi
call fcn.00415dd6
pop ecx
push edi
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x43f5e0
push ebx
call fcn.004a9f8f
pop ecx
jmp 0x43f4c0
call sym.mininewsgouwu.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp + 0x230]
call sym.mininewsgouwu.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.mininewsgouwu.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x43f53a
call sym.mininewsgouwu.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x43f551
push 2
push edi
lea ecx, [ebp + 0x230]
call sym.mininewsgouwu.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.0045a94a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x43f4c0
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push esi
push dword [ebp - 0x10]
call fcn.00459048
add esp, 0x14
test eax, eax
jne 0x43f4c0
mov esi, dword [ebp + 0x22c]
cmp esi, edi
je 0x43f4c0
push esi
call fcn.00415dd6
push 3
push esi
mov ebx, eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.0045a9a7
add esp, 0x18
cmp eax, edi
je 0x43f5ce
cmp eax, 0x600
je 0x43f5ce
push ebx
call fcn.004a9f8f
pop ecx
call sym.mininewsgouwu.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x43f4c0
push dword [ebp - 0x10]
call fcn.0045a9e1
jmp 0x43f516
call sym.mininewsgouwu.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x43f5e0
push dword [ebp - 0x10]
call fcn.0045a9e1
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call sym.mininewsgouwu.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp ebx, edi
jne 0x43f65d
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x43f659
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
je 0x43f659
push esi
mov dword [ebp - 0x14], edi
call fcn.00415dd6
pop ecx
push edi
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x43f655
push ebx
call fcn.004a9f8f
pop ecx
xor ebx, ebx
cmp ebx, edi
jne 0x43f65d
xor eax, eax
jmp 0x43f672
mov ecx, dword [ebp - 0x24]
push esi
push ebx
call sym.mininewsgouwu.exe_private:_class_Gdiplus::Image____thiscall_DuiLib::CGifAnimUI::LoadGifFromMemory_void___unsigned_int_
push ebx
mov esi, eax
call fcn.004a8d90
pop ecx
mov eax, esi
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.004a9181
add ebp, 0x2b8
leave
ret 4