Function at 0x10024e60
Capabilities:
Get file system object information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019397f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
mov eax, dword [0x101fd000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x354], edi
mov dword [ebp - 0x350], 1
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
jbe 0x10024ec6
add eax, dword [ecx]
mov ecx, dword [ecx]
jmp 0x10024ec8
add eax, ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.10015e10
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 5
push eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x2b4
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x350], 1
call fcn.101695f0
add esp, 0xc
lea ecx, [ebp - 0x348]
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push 0x102
push 0x2b4
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1002506c
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
test eax, eax
je 0x1002506c
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x10024fd9
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push dword [ebp - 0x34c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHICON]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esi + 4], eax
jmp 0x10024fdb
xor esi, esi
test esi, esi
je 0x10025157
lea eax, [ebp - 0x88]
push eax
push str.image_png
call fcn.10024290
movups xmm0, xmmword [0x101d2cd0]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x8c]
push eax
push 1
push 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x64], 1
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10025157
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x8c]
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x100250b2
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x348]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x18]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100251a2
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10025198
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100251c4
jmp 0x10025198
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x48]
push edx
push 2
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x10025054
mov eax, dword [ebp - 0x8c]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x40], xmm0
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push dword [ebp - 0x40]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x34c], eax
cmp esi, ecx
jae 0x10025105
lea eax, [esi + edx]
jmp 0x1002513c
jbe 0x1002513f
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x1002511e
push ecx
push esi
mov ecx, edi
call fcn.100257f0
mov esi, dword [ebp - 0x48]
jmp 0x1002513f
sub esi, ecx
push esi
push 0
push dword [ebp - 0x34c]
call fcn.101695f0
mov eax, dword [ebp - 0x34c]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x48]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x3c]
push edx
push esi
push dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
jmp 0x10025054
push dword [ebp - 0x348]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x18]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100251a2
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10025198
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100251c4
push ecx
push edx
call fcn.10165540
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016550f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1016cb5f
int3