Function at 0x10007a70
Capabilities:
Delete file
Get common file path
Get session user name
Set file attributes

Disassembly:
sub esp, 0x33c
mov eax, dword [0x10033a60]
xor eax, esp
mov dword [esp + 0x338], eax
push 0x1002a7b3
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0
call fcn.10007760
push 0x1002a7b3
lea ecx, [esp + 8]
call fcn.10007760
push 0x1002a7b3
lea ecx, [esp + 4]
call fcn.10007760
push 0x1002a7b3
lea ecx, [esp + 0x10]
call fcn.10007760
lea ecx, [esp + 0x14]
call fcn.1000ca41
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x238]
push 0x104
push eax
call fcn.10015639
lea ecx, [esp + 0x38]
push 0x20
push ecx
call fcn.10014ae0
add esp, 0x14
test eax, eax
je 0x10007c52
lea edx, [esp + 0x2c]
sub eax, edx
test eax, eax
jle 0x10007c52
mov byte [esp + eax + 0x2c], 0
push 0x104
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x10007b57
push str.C:Windows
lea ecx, [esp + 0x134]
push 0x104
push ecx
call fcn.10015639
add esp, 0xc
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007b61
sub eax, edx
push eax
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0xc]
call fcn.10006230
push str.Users
push str.Windows
lea ecx, [esp + 0xc]
call fcn.10006340
mov ecx, dword [esp + 4]
lea eax, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 8]
push str._s_s
push edx
call fcn.10006880
lea eax, [esp + 0x244]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007bb7
push esi
sub eax, edx
push eax
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x14]
call fcn.10006230
push 0x1002a99c
push 0x1002a998
lea ecx, [esp + 0x14]
call fcn.10006340
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
call fcn.10006880
mov ecx, dword [esp + 0x14]
add esp, 0x10
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.1000cacd
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.1000c68a
test esi, esi
pop esi
je 0x10007c52
mov edx, dword [esp]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
push eax
push ecx
call fcn.1001673a
add esp, 8
test eax, eax
je 0x10007c52
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
call fcn.1000ca65
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007c7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007c9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007cba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007cda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1001524a
add esp, 0x33c
ret