Function at 0x40d2a0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4566b8
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov dword [ebp - 0x164], eax
cmp eax, edi
jl 0x40d66c
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx]
lea eax, [ebp - 0x1b4]
push eax
push 0x20
push esi
push ebx
call dword [edx + 0x10]
mov dword [ebp - 0x164], eax
cmp eax, edi
jl 0x40d617
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1ac]
push edx
lea edx, [ebp - 0x158]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x40d617
mov dword [ebp - 0x160], 0xb0020000
mov eax, dword [ebx]
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x158]
push edx
push 1
push ebx
call dword [eax + 0x24]
mov eax, dword [ebp - 0x160]
test eax, 0xa0000000
je 0x40d5fc
test eax, 0x50000000
je 0x40d5fc
test eax, 0x20000000
je 0x40d5ec
mov dword [ebp - 0x50], 0x2f
test eax, 0x80000000
je 0x40d3b5
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x50], 0x6f
mov dword [ebp - 0x48], 0x1000
mov dword [ebp - 0x44], 0xf000
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push 0xc
push eax
call dword [ecx + 0xc]
mov esi, eax
mov dword [ebp - 0x15c], esi
cmp esi, edi
je 0x40d617
cmp dword [ebp + 0x14], 0xffff0000
je 0x40d422
test dword [ebp - 0x160], 0x40000000
jne 0x40d42a
mov byte [ebp - 0x154], 0
push 0x104
lea edx, [ebp - 0x154]
push edx
push 0x8000
mov eax, dword [ebp - 0x158]
push eax
push ebx
call fcn.0043b370
mov al, byte [ebp - 0x154]
test al, al
jne 0x40d42a
mov eax, dword [ebp - 0x50]
and al, 0xf7
mov dword [ebp - 0x50], eax
push 0x104
push 0x46498c
push edi
mov ecx, dword [ebp - 0x158]
push ecx
push ebx
call fcn.0043b370
test eax, eax
je 0x40d617
mov dword [ebp - 0x40], 0x46498c
mov dword [ebp - 0x3c], 0x104
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043b6c0
mov edi, eax
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0043b800
mov dword [esi + 4], eax
push 0x4009
push 0x160
lea eax, [ebp - 0x314]
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x38], ecx
push 0x400b
push 0x160
lea edx, [ebp - 0x474]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x34], eax
mov dword [esi], ebx
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043b6c0
mov dword [esi + 8], eax
mov dword [ebp - 0x2c], esi
mov ecx, 0xa
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x19c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1a4], edx
mov eax, dword [0x477300]
test eax, eax
je 0x40d5ca
lea eax, [ebp - 0x154]
push eax
call fcn.00448b20
cmp eax, 3
jne 0x40d5ca
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jne 0x40d5ca
lea edx, [ebp - 0x154]
push edx
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x154]
push eax
push 0xffffffffffffffff
push 0x1a2
push 0x403
mov ecx, dword [ebp - 0x1c]
push ecx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
push eax
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
call esi
mov dword [ebp - 0x168], eax
test eax, eax
jl 0x40d5a2
push 0
push eax
push 0x182
push 0x403
mov edx, dword [ebp - 0x1c]
push edx
call edi
push eax
call esi
mov dword [ebp - 0x194], 0x2000
jmp 0x40d5d0
lea eax, [ebp - 0x154]
push eax
push 0
push 0x180
push 0x403
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
push eax
call esi
mov dword [ebp - 0x194], 0x2000
jmp 0x40d5d0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x1a4]
push edx
push 0
push 0x1100
mov eax, dword [ebp + 8]
push eax
call esi
mov dword [ebp - 0x16c], eax
xor edi, edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x158]
push edx
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x158], edi
jmp 0x40d32e
mov eax, dword [ebp - 0x1b4]
cmp eax, edi
je 0x40d627
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x158]
cmp ecx, edi
mov eax, dword [ebp - 0x28]
je 0x40d642
cmp eax, edi
je 0x40d642
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
cmp ecx, edi
je 0x40d657
cmp eax, edi
je 0x40d66c
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x40d66c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40d66c
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10