Function at 0x413320
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd8c
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0xd84], eax
mov eax, dword [0x560178]
push ebx
push ebp
mov ebp, dword [esp + 0xda0]
mov ebx, edx
push esi
push edi
mov edi, dword [esp + 0xda4]
mov esi, ecx
push 0x2b4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x684]
push 0
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], 0
call fcn.00425950
add esp, 0xc
push str.DirListData
push esi
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4011
push 0x2b4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x688]
push eax
push 0x10
push str.Icon
call esi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x684]
push 0x4011
push 0x2b4
mov dword [ecx + 0x218], eax
lea eax, [esp + 0x688]
push eax
push pe_nt_image_headers32
push str.Icon
call esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x684]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x21c], eax
call fcn.00413280
test ebx, ebx
je 0x41383d
cmp word [ebx], 0
je 0x41383d
push ebx
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x2c]
push 0
push 0
push 0xb
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x604
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.00425950
add esp, 0xc
test edi, edi
je 0x41352c
lea ecx, [esp + 0x7c]
mov esi, edi
mov eax, ecx
mov edx, 0x100
sub esi, eax
nop dword [eax]
lea eax, [edx - 1]
test eax, eax
je 0x4134ab
movzx eax, word [esi + ecx]
test ax, ax
je 0x4134ab
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x413490
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x67c], ebp
cmp word [edi], cx
je 0x413533
push 0x48d9fc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x413533
mov esi, dword [sym.imp.SHLWAPI.dll_StrChrW]
lea eax, [esp + 0x7c]
push 0x3b
push eax
mov dword [esp + 0x80], 1
mov dword [esp + 0x284], eax
call esi
test eax, eax
je 0x413533
nop dword [eax]
xor ecx, ecx
mov word [eax], cx
lea ecx, [eax + 2]
mov eax, dword [esp + 0x78]
push 0x3b
mov dword [esp + eax*4 + 0x280], ecx
mov eax, dword [esp + 0x7c]
push dword [esp + eax*4 + 0x280]
call esi
inc dword [esp + 0x78]
test eax, eax
jne 0x413500
jmp 0x413533
mov dword [esp + 0x67c], ebp
push ebx
lea eax, [esp + 0xb8c]
mov dword [esp + 0x40], 7
push eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0x104
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov ebp, dword [esp + 0x2c]
test eax, eax
jne 0x413786
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x34]
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0xb94]
push edx
push 0
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x41377a
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push 0x47f4fc
push 0
mov ecx, dword [eax]
push dword [esp + 0x3c]
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne 0x41377a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push dword [esp + 0xda4]
mov ecx, dword [eax]
push ebp
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x41377a
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x41376e
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x60000000
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0x24]
call eax
test dword [esp + 0x18], 0x40000000
je 0x413751
cmp dword [esp + 0x78], 0
jne 0x413668
cmp dword [esp + 0x67c], 0
je 0x4136e7
push 0x250
lea eax, [esp + 0x93c]
push eax
push 1
push dword [esp + 0x28]
push dword [esp + 0x24]
call dword [sym.imp.SHELL32.dll_SHGetDataFromIDListW]
test byte [esp + 0x938], 0x10
jne 0x4136e7
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x67c]
test ecx, ecx
jne 0x4136a6
test edx, edx
jne 0x413751
xor esi, esi
test ecx, ecx
jle 0x4136dc
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x27c]
cmp word [eax], 0
je 0x4136d0
push eax
lea eax, [esp + 0x968]
push eax
call edi
test eax, eax
jne 0x413724
mov ecx, dword [esp + 0x78]
inc esi
cmp esi, ecx
jl 0x4136b0
mov edx, dword [esp + 0x67c]
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x413751
push 8
call ebx
mov esi, eax
test esi, esi
je 0x413751
mov ecx, dword [esp + 0x1c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x14]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test dword [esp + 0x18], 0x20000000
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], esi
je 0x413730
mov eax, dword [eax + 0x218]
jmp 0x413736
cmp dword [esp + 0x67c], 0
jne 0x413751
jmp 0x4136e7
mov eax, dword [eax + 0x21c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0x104d
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [esp + 0x40]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x413625
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
test eax, eax
je 0x413798
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4137ab
mov ecx, dword [eax]
test ecx, ecx
je 0x4137ab
push eax
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [esp + 0x30]
xor edx, edx
test ecx, ecx
je 0x4137d1
movzx eax, word [ecx]
test ax, ax
je 0x4137d1
mov esi, eax
nop
movzx eax, si
add ecx, eax
add edx, eax
movzx eax, word [ecx]
mov esi, eax
test ax, ax
jne 0x4137c0
mov dword [ebx + 4], edx
mov eax, dword [esp + 0x30]
push 0xfffe
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x40]
push 0x101e
mov dword [ebx + 0x220], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
call ebx
cmp dword [esp + 0xdb4], 0
je 0x413812
push 0x413c70
jmp 0x413817
push 0x413c30
push dword [esp + 0xdb4]
push 0x1030
push ebp
call ebx
push 0
push 1
push 0xb
push ebp
call ebx
push 0
push 0
push 0x1004
push ebp
call ebx
jmp 0x413840
or eax, 0xffffffff
mov ecx, dword [esp + 0xd94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422d0c
add esp, 0xd8c
ret