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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118a598
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
lea eax, [ebp - 0x29c]
push eax
call sym.DuiLib.dll_public:_static_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_const
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.11017680
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x294]
mov dword [ebp - 4], 0
push eax
call sym.DuiLib.dll_public:_static_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_const
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
add esp, 0x14
cmp dword [eax + 4], 0
jne 0x11028260
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push dword [ebp + 8]
push eax
call fcn.11017680
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 1
jb 0x1102816b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.110170b0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x110281af
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x110281a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11028574
push edx
push ecx
call fcn.110d0a5e
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
jne 0x110281eb
lea ecx, [ebp - 0x2c]
call fcn.1100e280
jmp 0x1102841e
push 0
push eax
call esi
mov esi, eax
test esi, esi
jne 0x11028203
lea ecx, [ebp - 0x2c]
call fcn.1100e280
jmp 0x11028418
lea eax, [esi + 1]
mov dword [ebp - 0x280], 0
push eax
call fcn.110d2b40
add esp, 4
mov edi, eax
lea eax, [ebp - 0x280]
push 0
push eax
push esi
push edi
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x280], esi
je 0x110283bf
push edi
call fcn.110d29d0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.1100e280
jmp 0x11028418
lea eax, [ebp - 0x284]
push eax
call sym.DuiLib.dll_public:_static_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t_____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_const
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.11017680
add esp, 0x10
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x1102828c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.110170b0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x110282d4
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x110282ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x11028579
push edx
push ecx
call fcn.110d0a5e
add esp, 8
call sym.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x110282e4
call sym.DuiLib.dll_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x110282fa
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.1104b660
add esp, 8
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x11028311
lea ecx, [ebp - 0x2c]
call fcn.1100e280
jmp 0x1102841e
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x290]
push ecx
push 1
push dword [ebp + 8]
push eax
call fcn.1104ab00
add esp, 0x14
test eax, eax
je 0x1102833e
lea ecx, [ebp - 0x2c]
call fcn.1100e280
jmp 0x1102841e
mov esi, dword [ebp - 0x48]
test esi, esi
jne 0x11028352
lea ecx, [ebp - 0x2c]
call fcn.1100e280
jmp 0x11028418
lea eax, [esi + 1]
push eax
call fcn.110d2b40
push esi
mov edi, eax
push edi
push dword [ebp - 0x290]
push dword [ebp - 0x278]
call fcn.1104bdb0
add esp, 0x14
test eax, eax
je 0x110283a8
cmp eax, 0x600
je 0x110283a8
push edi
call fcn.110d29d0
add esp, 4
call sym.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1102839e
push dword [ebp - 0x278]
call fcn.1104a660
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.1100e280
jmp 0x11028418
call sym.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x110283bf
push dword [ebp - 0x278]
call fcn.1104a660
add esp, 4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x11028410
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x11028406
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1102857e
push edx
push ecx
call fcn.110d0a5e
add esp, 8
test edi, edi
jne 0x110284ad
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x280], eax
cmp eax, 0xffffffff
je 0x110284a6
push 0
push eax
call esi
mov esi, eax
test esi, esi
je 0x110284a6
lea eax, [esi + 1]
mov dword [ebp - 0x278], 0
push eax
call fcn.110d2b40
add esp, 4
mov edi, eax
lea eax, [ebp - 0x278]
push 0
push eax
push esi
push edi
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x278], esi
je 0x110284a2
push edi
call fcn.110d29d0
add esp, 4
xor eax, eax
jmp 0x11028557
test edi, edi
jne 0x110284ad
xor eax, eax
jmp 0x11028557
mov eax, dword [ebp - 0x27c]
xorps xmm0, xmm0
push 0
mov byte [esi + edi], 0
push 0
push esi
movups xmmword [eax + 0x294], xmm0
push edi
movups xmmword [eax + 0x2a4], xmm0
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x288], esi
call fcn.110d3e90
add esp, 0x10
test eax, eax
je 0x11028503
mov ecx, dword [ebp - 0x27c]
lea eax, [ecx + 0x294]
push eax
lea eax, [ebp - 0x28c]
push eax
call sym.DuiLib.dll_private:_int___thiscall_DuiLib::CWebpAnimUI::ReadAnimatedWebP_struct_WebPData_const__const__struct_DuiLib::AnimatedImage__const_
mov edi, eax
jmp 0x11028547
push str.Unknown_file_type._Supported_file_types_are_WebP_and_GIF_n
push 2
call fcn.1113e71c
add esp, 4
push eax
call fcn.11028b20
mov esi, dword [ebp - 0x27c]
add esp, 8
xor edi, edi
add esi, 0x294
je 0x11028547
push dword [esi + 0x1c]
call fcn.110d29d0
push dword [esi + 0x14]
call fcn.110d29d0
add esp, 8
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
push dword [ebp - 0x28c]
call fcn.110d29d0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.110d0a88
mov esp, ebp
pop ebp
ret 8
call fcn.1112ace2
call fcn.1112ace2
call fcn.1112ace2
int3