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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10180fcd
push eax
mov dword fs:[0], esp
lea eax, [ebp - 0x180]
push ebx
sub esp, 0x174
push esi
push eax
push 0
push 0
push 0x10
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x10012ce6
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012a88
sub ecx, edx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10005380
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 1
jb 0x10012ad2
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
mov word [eax + ecx], 0x5c
lea eax, [ebp - 0x44]
jmp 0x10012aea
push 1
push 0x101c6d30
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x14]
push 1
call fcn.100059b0
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.10003800
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 4
jb 0x10012b99
lea eax, [ecx + 4]
cmp edx, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov dword [eax + ecx], 0x6b6e6c2e
mov byte [eax + ecx + 4], 0
lea eax, [ebp - 0x2c]
jmp 0x10012bb1
push 4
push str..lnk
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x14]
push 4
call fcn.100059b0
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10012c1c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012cf8
push ecx
push edx
call fcn.10154c15
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x10012c62
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012cf8
push ecx
push edx
call fcn.10154c15
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x10012ca4
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012cf8
push ecx
push edx
call fcn.10154c15
add esp, 8
cmp dword [ebp - 0x60], 0xf
lea eax, [ebp - 0x74]
cmova eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10012ce6
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012cdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012cfd
push ecx
push edx
call fcn.10154c15
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1015ff88
call fcn.1015ff88
int3