Function at 0x1001ce40
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 0x10042ab9
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 0x1001ce8d
add eax, dword [ecx]
mov ecx, dword [ecx]
jmp 0x1001ce8f
add eax, ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10010d30
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.10025e00
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 0x1001d007
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1001d007
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x1001cf7d
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 0x1001cf7f
xor esi, esi
test esi, esi
je 0x1001d0e0
lea eax, [ebp - 0x90]
push eax
push str.image_png
call fcn.1001c330
movups xmm0, xmmword [0x100454ec]
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 0x1001d0e0
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 0x1001d04d
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 0x1001d12b
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d142
jmp 0x1001d121
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 0x1001cff2
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 0x1001d097
lea eax, [esi + edx]
jmp 0x1001d0c8
jbe 0x1001d0cb
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x1001d0b0
push ecx
push esi
mov ecx, edi
call fcn.1001d6c0
mov esi, dword [ebp - 0x50]
jmp 0x1001d0cb
sub esi, ecx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.10025e00
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 0x1001cff2
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 0x1001d12b
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d142
push ecx
push edx
call fcn.100240fa
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.1002ade6
int3