Function at 0x1001ed00
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 0x1002a82f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
mov eax, dword [0x10037040]
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 0x1001ed66
add eax, dword [ecx]
mov ecx, dword [ecx]
jmp 0x1001ed68
add eax, ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.10011810
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 sub.VCRUNTIME140.dll_memset
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 0x1001ef0c
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
test eax, eax
je 0x1001ef0c
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x1001ee79
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 0x1001ee7b
xor esi, esi
test esi, esi
je 0x1001eff8
lea eax, [ebp - 0x88]
push eax
push str.image_png
call fcn.1001e120
movups xmm0, xmmword [0x1002c9ac]
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 0x1001eff8
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 0x1001ef53
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 0x1001f047
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f03d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f03d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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 0x1001eef4
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 0x1001efa6
lea eax, [esi + edx]
jmp 0x1001efdd
jbe 0x1001efe0
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x1001efbf
push ecx
push esi
mov ecx, edi
call fcn.1001f690
mov esi, dword [ebp - 0x48]
jmp 0x1001efe0
sub esi, ecx
push esi
push 0
push dword [ebp - 0x34c]
call sub.VCRUNTIME140.dll_memset
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 0x1001eef4
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 0x1001f047
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f03d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ef4d
push ecx
push edx
call fcn.10026cc1
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.10026c90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8