Function at 0x4525f8
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x6c421a
call fcn.006b9c3c
sub esp, 0x3f0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov byte [ebp - 4], 3
push 0x2b4
push ebx
lea eax, [ebp - 0x3fc]
push eax
call fcn.005077d5
add esp, 0xc
cmp dword [ebp + 0x18], ebx
jne 0x452675
push 0x73a9e8
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.004ab703
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov byte [ebp - 4], 4
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x45268d
lea eax, [ebp + 8]
push 0x101
push 0x2b4
lea ecx, [ebp - 0x3fc]
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 4], 3
cmp dword [ebp - 0x3fc], 0
jne 0x4526c5
push 0x73a9e8
mov ecx, esi
call fcn.00411aae
jmp 0x452652
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x3fc]
call dword [sym.imp.USER32.dll_GetIconInfo]
push ecx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x38]
call fcn.00423056
mov byte [ebp - 4], 6
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, dword [ebp - 0x30]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, dword [ebp - 0x30]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp - 0x30]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x28]
push edi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
mov ecx, dword [ebp - 0x30]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0x60], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 7
mov dword [ebp - 0x60], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x28]
push edi
push eax
push 0x26200a
push ecx
push edx
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
mov ecx, dword [ebp - 0x30]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], 0x64
xor eax, eax
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xbc], eax
mov esi, 0x6e6a1c
lea edi, [ebp - 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb8], 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xb4], eax
xor eax, eax
lea edi, [ebp - 0x100]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
movaps xmm0, xmmword [0x745860]
movups xmmword [ebp - 0xf4], xmm0
movaps xmm0, xmmword [0x7471c0]
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xd4], 0x13
mov ecx, ebx
push 0x7f
pop esi
mov dword [ebp - 0x50], ecx
cmp ecx, 9
jae 0x452870
push 0x3c
pop eax
sub eax, dword [ebp + ecx*4 - 0xf4]
imul eax, eax, 0x12
cdq
idiv esi
lea eax, [esi + edx]
cdq
idiv esi
mov byte [ebp + ecx - 0x100], dl
inc ecx
jmp 0x452848
mov byte [ebp - 0xf7], bl
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x128]
call fcn.00411aae
mov byte [ebp - 4], 9
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x140]
call fcn.00461060
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x4528a9
mov eax, dword [eax]
lea edx, [ebp - 0x110]
mov ecx, eax
call fcn.0044d51b
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.004ab703
mov byte [ebp - 4], 8
push ebx
push 1
lea ecx, [ebp - 0x128]
call fcn.00411bc8
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
push edi
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
mov ecx, dword [ebp - 0x58]
cmovne ecx, eax
mov dword [ebp - 0x58], ecx
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_IStream_Size]
mov esi, dword [ebp - 0x84]
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
push esi
lea ecx, [ebp - 0x48]
call fcn.004a537b
push esi
push dword [ebp - 0x48]
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x3fc]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0xa0]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0xa4]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
push eax
push dword [ebp - 0x48]
mov esi, dword [ebp - 0x20]
mov ecx, esi
call fcn.004a67f2
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.00411b0e
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 6
mov dword [ebp - 0x60], vtable.Gdiplus::Image.0
push edi
mov edi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call edi
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], vtable.Gdiplus::Image.0
push dword [ebp - 0x34]
call edi
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4529e5
mov ecx, ebx
call fcn.0040f5b8
mov byte [ebp - 4], bl
push ebx
push 1
jmp 0x45265a