Function at 0x1001cf00
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 0x10043489
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x338
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x38], 1
push esi
push edi
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
jbe 0x1001cf4d
add eax, dword [ecx]
mov ecx, dword [ecx]
jmp 0x1001cf4f
add eax, ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10011280
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], 5
push eax
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov edi, dword [ebx + 8]
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 - 0x38], 1
call fcn.100268f0
add esp, 0xc
lea ecx, [ebp - 0x348]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push 0x102
push 0x2b4
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1001d0c7
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1001d0c7
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x1001d03d
lea eax, [ebp - 0x14]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHICON]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
jmp 0x1001d03f
xor esi, esi
test esi, esi
je 0x1001d1a0
lea eax, [ebp - 0x90]
push eax
push str.image_png
call fcn.1001c150
movups xmm0, xmmword [0x100464ac]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x6c], 1
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1001d1a0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x1001d10d
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
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 - 0x20]
cmp ecx, 7
jbe 0x1001d1eb
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d1e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d202
jmp 0x1001d1e1
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x50]
push edx
push 2
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x1001d0b2
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x48], xmm0
push dword [ebp - 0x44]
mov ecx, dword [eax]
push dword [ebp - 0x48]
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 - 0x50]
mov dword [ebp - 0x1c], eax
cmp esi, ecx
jae 0x1001d157
lea eax, [esi + edx]
jmp 0x1001d188
jbe 0x1001d18b
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x1001d170
push ecx
push esi
mov ecx, edi
call fcn.1001d780
mov esi, dword [ebp - 0x50]
jmp 0x1001d18b
sub esi, ecx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.100268f0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x50]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
push edx
push esi
push dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
jmp 0x1001d0b2
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 - 0x20]
cmp ecx, 7
jbe 0x1001d1eb
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d1e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d202
push ecx
push edx
call fcn.10024bea
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1002b8d6
int3