Function at 0x491d00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f349
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x59c388]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2cc], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c8], esi
call sym.uninstaller.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
mov dword [ebp - 4], 0
call sym.uninstaller.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.uninstaller.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
je 0x491e3f
push esi
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push 0
push 0x80
push 3
push 0
push 1
push accept
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x491dbf
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x491f6c
push 0
push esi
call ebx
mov ebx, eax
test ebx, ebx
jne 0x491de4
push esi
call edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x491f66
push ebx
mov dword [ebp - 0x2d0], 0
call fcn.004f3ae2
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2d0]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
cmp dword [ebp - 0x2d0], ebx
je 0x491f46
push edi
call fcn.004f3d9c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x491f60
call sym.uninstaller.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__
call sym.uninstaller.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x491e60
call sym.uninstaller.exe_public:_static_void____cdecl_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
jmp 0x491e7a
call sym.uninstaller.exe_public:_static_char_const____cdecl_DuiLib::CPaintManagerUI::GetResourceZipPassword_void_
push eax
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.00475660
add esp, 8
mov esi, eax
test esi, esi
jne 0x491e97
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x491f6c
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2c8]
push esi
call fcn.00474d90
add esp, 0x14
test eax, eax
je 0x491ed1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x491f6c
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x491eef
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x491f66
push ebx
call fcn.004f3ae2
push ebx
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push esi
call fcn.00475c90
add esp, 0x14
test eax, eax
je 0x491f34
cmp eax, 0x600
je 0x491f34
push edi
call fcn.004f3d9c
add esp, 4
call sym.uninstaller.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x491e28
push esi
call fcn.00474630
jmp 0x491e25
call sym.uninstaller.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x491f46
push esi
call fcn.00474630
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.uninstaller.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test edi, edi
jne 0x491feb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x80
push 3
push 0
push 1
push accept
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4920aa
push 0
push esi
call ebx
mov ebx, eax
test ebx, ebx
jne 0x491fa8
push esi
call edi
jmp 0x4920aa
push ebx
mov dword [ebp - 0x2c8], 0
call fcn.004f3ae2
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
cmp dword [ebp - 0x2c8], ebx
jne 0x4920a1
test edi, edi
je 0x4920aa
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push edi
push eax
call fcn.0050b2a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [ebp - 0x2cc]
add ebx, 0x670
push ebx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebx]
push 0x10
mov dword [ebp - 0x2cc], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x492067
lea eax, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
push eax
push dword [ebp - 0x2cc]
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x492069
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x49208f
mov ecx, dword [esi + 8]
mov dword [esi + 8], 0
test ecx, ecx
jne 0x49208f
push edi
call fcn.004f3d9c
add esp, 4
mov eax, esi
jmp 0x4920ac
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebx], 0
test edi, edi
je 0x4920aa
push edi
call fcn.004f3d9c
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 - 0x10]
xor ecx, ebp
call fcn.004f3d68
mov esp, ebp
pop ebp
ret 4