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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3a26
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], ecx
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x458], 0
push str._f__im
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x454], 0
movups xmmword [ebp - 0x468], xmm0
call fcn.00409f50
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x438], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
push 0x4c68b0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.004022f0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x438]
cmp eax, esi
je 0x40c958
mov ecx, eax
call fcn.00402c10
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x438], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x428], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x470]
cmp ecx, 0xf
jbe 0x40c992
mov edx, dword [ebp - 0x484]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb73
push ecx
push edx
call fcn.0049ce1b
add esp, 8
cmp dword [ebp - 0x424], 0xf
lea eax, [ebp - 0x438]
push 0
cmova eax, dword [ebp - 0x438]
push eax
push str.taskkill.exe
push 0
call fcn.00401830
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049e980
add esp, 0x1c
lea eax, [ebp - 0x420]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push 0x4c7344
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049e980
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0xb
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c6c50
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00401530
add esp, 8
cmp dword [ebp - 0x43c], 0xf
lea eax, [ebp - 0x450]
mov ecx, dword [ebp - 0x46c]
cmova eax, dword [ebp - 0x450]
push eax
mov byte [ebp - 4], 2
call fcn.0040d840
mov ecx, dword [ebp - 0x43c]
cmp ecx, 0xf
jbe 0x40cab7
mov edx, dword [ebp - 0x450]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40caad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb78
push ecx
push edx
call fcn.0049ce1b
add esp, 8
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
cmp ecx, 0xf
jbe 0x40cb08
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cafe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb78
push ecx
push edx
call fcn.0049ce1b
add esp, 8
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp ecx, 0xf
jbe 0x40cb59
mov edx, dword [ebp - 0x468]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb78
push ecx
push edx
call fcn.0049ce1b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049cd8d
mov esp, ebp
pop ebp
ret
call fcn.004a746a
call fcn.004a746a
int3