Function at 0x10038ecf
Capabilities:
Set file attributes

Disassembly:
push 0x4c
mov eax, 0x100886a6
call fcn.100853c9
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], ebx
push ebx
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
mov edi, eax
test edi, edi
js 0x100390cc
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x44], ebx
push eax
push 0x1000b798
push dword [ebp - 0x40]
call dword [sym.imp.SHELL32.dll_SHBindToParent]
mov edi, eax
test edi, edi
js 0x100390c4
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
push eax
push 0x1000c29c
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateItemWithParent]
mov edi, eax
test edi, edi
js 0x100390a9
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x38]
push ecx
push 0x1000c24c
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
call dword [0x100a0bc0]
call dword [esi]
mov edi, eax
test edi, edi
js 0x1003908e
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x34]
push ecx
push 0x1000c23c
push 2
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x20]
call dword [0x100a0bc0]
call dword [esi + 0x20]
mov edi, eax
test edi, edi
js 0x10039086
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov dword [ebp - 0x30], ebx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100a0bc0]
call esi
mov edi, eax
test edi, edi
js 0x10039086
cmp dword [ebp - 0x30], ebx
jbe 0x1003905f
test edi, edi
js 0x10039086
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
push ecx
push ebx
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x10]
call dword [0x100a0bc0]
call dword [esi + 0x10]
mov edi, eax
test edi, edi
js 0x10039055
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
push ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
push ecx
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x14]
call dword [0x100a0bc0]
call dword [esi + 0x14]
mov edi, eax
test edi, edi
js 0x10039047
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x18]
call dword [0x100a0bc0]
call dword [esi + 0x18]
mov edi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x10038fd9
test edi, edi
js 0x10039086
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x100a0bc0]
call esi
push 0x2002
push dword [ebp - 0x48]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x28]
call fcn.100155c9
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100390a9
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100390c4
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
lea ecx, [ebp - 0x3c]
call fcn.100155c9
push dword [ebp - 0x40]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
call fcn.10085378
ret 8