Function at 0x4727f0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a39c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x50c0b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x50a898]
mov ecx, 0x50a898
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x472855
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00435960
mov esi, dword [ebp - 0x18]
push esi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [esi - 8]
push esi
call dword [sym.imp.MSVCR110.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x472a1d
cmp eax, dword [esi - 8]
jg 0x472a1d
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
push esi
lea ecx, [ebp - 0x10]
call fcn.00421e50
push str.SoftActivity
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004347d0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, 0xffffffff
je 0x47291e
test al, 0x10
je 0x47291e
push 0
lea ecx, [ebp - 0x10]
call fcn.00470100
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x30], eax
movq qword [ebp - 0x2c], xmm0
mov eax, 0x414
mov word [ebp - 0x28], ax
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x38]
mov word [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x26], 0
mov dword [ebp - 0x22], 0
mov dword [ebp - 0x1e], 0
call edi
push esi
lea ecx, [ebp - 0x14]
call fcn.00421e50
push str.CompanyName
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004347d0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4729ab
test al, 0x10
je 0x4729ab
push 0
lea ecx, [ebp - 0x14]
call fcn.00470100
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x30], eax
movq qword [ebp - 0x2c], xmm0
mov eax, 0x414
mov word [ebp - 0x28], ax
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x38]
mov word [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x26], 0
mov dword [ebp - 0x22], 0
mov dword [ebp - 0x1e], 0
call edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4729ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4729ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x472a0c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00434a20
int3