Function at 0x4043e8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x5b41f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [0x55f0f0]
mov dword [ebp - 0x7e4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7e8], eax
xor eax, eax
push ebx
mov dword [ebp - 0x7dc], eax
mov dword [ebp - 0x7cc], eax
mov dword [ebp - 0x7e0], eax
mov dword [ebp - 0x7d4], eax
mov dword [ebp - 0x7d8], eax
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 0x7d0], eax
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, eax
push 0x4011
push 0x2b4
lea eax, [ebp - 0x4c0]
push eax
push 0x10
push 0x55f0f4
call esi
mov eax, dword [ebp - 0x4bc]
push 0x4011
push 0x2b4
mov dword [edi + 0x218], eax
lea eax, [ebp - 0x4c0]
push eax
push 0x80
push str.Icon
call esi
mov eax, dword [ebp - 0x4bc]
mov dword [edi + 0x21c], eax
mov eax, dword [ebp - 0x7e4]
test eax, eax
je 0x40474a
xor ecx, ecx
cmp word [eax], cx
je 0x40474a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [edi + 0x10]
push eax
call esi
xor eax, eax
push eax
push eax
push 0xb
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push eax
push 0x1009
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x18]
lea eax, [ebp - 0x7c8]
push dword [ebp - 0x7e8]
push eax
call fcn.00404c70
or dword [ebp - 0x814], 0xffffffff
xor eax, eax
or dword [ebp - 0x80c], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov eax, dword [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x828], 7
push eax
mov dword [ebp - 0x810], 0x104
call esi
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
xor esi, esi
test eax, eax
jne 0x4046c6
mov eax, dword [ebp - 0x7dc]
lea edx, [ebp - 0x7d0]
push edx
lea edx, [ebp - 0x7e0]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x7ec]
push edx
lea edx, [ebp - 0x20c]
push edx
push esi
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4046ba
mov eax, dword [ebp - 0x7dc]
lea edx, [ebp - 0x7cc]
push edx
push 0x53ff74
push esi
push dword [ebp - 0x7e0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x4046ba
mov eax, dword [ebp - 0x7cc]
lea edx, [ebp - 0x7d8]
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4046ba
jmp 0x404690
mov eax, dword [ebp - 0x7cc]
lea edx, [ebp - 0x7d0]
push edx
lea edx, [ebp - 0x7d4]
mov dword [ebp - 0x7d0], 0x60000000
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x24]
test dword [ebp - 0x7d0], 0x40000000
je 0x404690
lea eax, [ebp - 0x7c8]
push eax
push dword [ebp - 0x7d4]
push dword [ebp - 0x7cc]
call fcn.00404cfe
add esp, 0xc
test eax, eax
je 0x404690
push 8
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp - 0x7d4]
mov esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x7cc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x7cc]
push ecx
mov edx, dword [ecx]
call dword [edx + 4]
test dword [ebp - 0x7d0], 0x20000000
mov dword [ebp - 0x808], esi
je 0x404668
mov eax, dword [edi + 0x218]
jmp 0x40466e
mov eax, dword [edi + 0x21c]
mov dword [ebp - 0x80c], eax
xor esi, esi
lea eax, [ebp - 0x828]
push eax
push esi
push 0x104d
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [ebp - 0x824]
mov eax, dword [ebp - 0x7d8]
lea edx, [ebp - 0x7d4]
push esi
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x4045d2
mov eax, dword [ebp - 0x7d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x7dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [edi + 8], 0
je 0x4046d5
push dword [edi + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4046e6
mov ecx, dword [eax]
test ecx, ecx
je 0x4046e6
push eax
call dword [ecx + 8]
push dword [ebp - 0x7e0]
call fcn.004050e0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x7e0]
mov dword [esp], 0xfffe
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x7cc]
push 0x101e
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [edi + 0x220], eax
call esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push ebx
call fcn.00404a27
add esp, 0xc
xor edi, edi
push edi
push 1
push 0xb
push ebx
call esi
push edi
push edi
push 0x1004
push ebx
call esi
jmp 0x40474d
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004afcaa
leave
ret