Function at 0x1006c10f
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x100dc8b3
call fcn.100ac440
sub esp, 0x160
mov eax, dword [0x1011c710]
push ebx
push esi
push edi
xor eax, ebp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
xor ebx, ebx
push 0x40
pop ecx
xor eax, eax
mov word [ebp - 0x118], bx
lea edi, [ebp - 0x116]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, ebx
jl 0x1006c1bc
lea eax, [ebp - 0x120]
push eax
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
je 0x1006c17f
xor esi, esi
jmp 0x1006c194
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x120]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov esi, eax
mov eax, dword [ebp - 0x11c]
push dword [ebp - 0x120]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov dword [ebp - 0x11c], ebx
je 0x1006c1d9
lea eax, [ebp - 0x118]
push str.MicrosoftWindows_Media
push eax
call fcn.100ac910
pop ecx
pop ecx
jmp 0x1006c1d9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x118]
push eax
call fcn.100ab7d0
test eax, eax
pop ecx
je 0x1006c488
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x118]
push eax
mov esi, str._s.
lea eax, [ebp - 0x11c]
push esi
push eax
mov dword [ebp - 4], 2
call fcn.10001d75
add esp, 0xc
lea ecx, [ebp - 0x154]
call fcn.100958db
push ebx
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 3
call fcn.1009596e
cmp eax, ebx
je 0x1006c460
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x154]
call fcn.100957d2
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x154]
push 0x10
lea ecx, [ebp - 0x154]
call dword [eax + 0x38]
test eax, eax
je 0x1006c3d9
lea ecx, [ebp - 0x16c]
call fcn.100958db
mov byte [ebp - 4], 4
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 5
call fcn.10095af4
push dword [eax]
lea eax, [ebp - 0x128]
push esi
push eax
mov byte [ebp - 4], 6
call fcn.10001d75
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001199
push ebx
mov ebx, dword [ebp - 0x128]
push ebx
lea ecx, [ebp - 0x16c]
call fcn.1009596e
test eax, eax
je 0x1006c3b3
lea ecx, [ebp - 0x16c]
call fcn.100957d2
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x134], eax
call fcn.100958a2
test eax, eax
jne 0x1006c3a6
mov eax, dword [ebp - 0x16c]
push 0x10
lea ecx, [ebp - 0x16c]
call dword [eax + 0x38]
test eax, eax
jne 0x1006c3a6
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10095af4
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 7
call fcn.10008cce
push 0
push 0x100ed2bc
lea ecx, [ebp - 0x120]
call fcn.10003f61
test eax, eax
jle 0x1006c394
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10095af4
push dword [eax]
call edi
mov ecx, dword [ebp - 0x12c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x120]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001199
cmp dword [ebp - 0x134], 0
jne 0x1006c300
lea ecx, [ebp - 0x16c]
call fcn.10095702
lea ecx, [ebx - 0x10]
call fcn.10001199
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 3
call fcn.100958ff
xor ebx, ebx
jmp 0x1006c454
lea ecx, [ebp - 0x154]
call fcn.100958a2
test eax, eax
jne 0x1006c454
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x154]
call fcn.10095af4
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.10008cce
push ebx
push 0x100ed2bc
lea ecx, [ebp - 0x124]
call fcn.10003f61
test eax, eax
jle 0x1006c442
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x154]
call fcn.10095af4
push dword [eax]
call edi
mov ecx, dword [ebp - 0x13c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001199
cmp dword [ebp - 0x130], ebx
jne 0x1006c259
lea ecx, [ebp - 0x154]
call fcn.10095702
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.100958ff
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret