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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111284
mov eax, dword fs:[0]
push eax
sub esp, 0xcd4
mov eax, dword [0x10152034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xca0], 0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0xc20], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xc1e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xcac], 0x400
lea edx, [ebp - 0xcac]
push edx
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0xc50]
call fcn.10002370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc38]
call fcn.10002370
mov byte [ebp - 4], 2
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.MSVCR120.dll__wsplitpath_s]
add esp, 0x24
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0xc38]
call fcn.10003960
lea ecx, [ebp - 0xc38]
call fcn.10002c30
movzx eax, al
test eax, eax
jne 0x100c023b
push 0
push 0x1012c324
lea ecx, [ebp - 0xc38]
call fcn.10006da0
cmp eax, 0xffffffff
jne 0x100c024b
push 0x1012c328
lea ecx, [ebp - 0xc38]
call fcn.10003960
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xcd8], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcd4], esp
lea edx, [ebp - 0xc20]
push edx
call fcn.10002200
mov dword [ebp - 0xcb4], eax
push esi
call fcn.100bfdc0
add esp, 0x1c
mov dword [ebp - 0xca4], eax
mov eax, dword [ebp - 0xca4]
mov dword [ebp - 0xcb8], eax
lea ecx, [ebp - 0xc80]
call fcn.10040910
add esp, 0x18
mov dword [ebp - 0xcc0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc80]
call fcn.10001710
push eax
lea ecx, [ebp - 0xc38]
call fcn.10001710
push eax
push str._sProgramDataMicrosoft_Host_s
lea ecx, [ebp - 0xc68]
push ecx
call fcn.10040660
add esp, 0x10
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc8], esp
lea edx, [ebp - 0xc68]
push edx
call fcn.10002390
mov dword [ebp - 0xcd0], eax
call fcn.10041490
add esp, 0x18
mov byte [ebp - 0xc99], al
movzx eax, byte [ebp - 0xc99]
test eax, eax
jne 0x100c0331
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcb0], esp
lea edx, [ebp - 0xc68]
push edx
call fcn.10002390
mov dword [ebp - 0xce0], eax
call fcn.100bcfe0
add esp, 0x18
lea ecx, [ebp + 0xc]
call fcn.10001710
push eax
lea ecx, [ebp - 0xc80]
call fcn.10001710
push eax
lea ecx, [ebp - 0xc38]
call fcn.10001710
push eax
push str._sProgramDataMicrosoft_Host_s_s
lea eax, [ebp - 0xc98]
push eax
call fcn.10040660
add esp, 0x14
mov dword [ebp - 0xca8], eax
mov ecx, dword [ebp - 0xca8]
push ecx
lea ecx, [ebp - 0xc50]
call fcn.10001c40
lea ecx, [ebp - 0xc98]
call fcn.10002300
lea ecx, [ebp - 0xc50]
call fcn.10041500
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xccc], esp
lea edx, [ebp - 0xc50]
push edx
call fcn.10002390
mov dword [ebp - 0xcbc], eax
call fcn.10041490
add esp, 0x18
mov byte [ebp - 0xc9a], al
movzx eax, byte [ebp - 0xc9a]
test eax, eax
jne 0x100c0403
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcdc], esp
lea edx, [ebp - 0xc50]
push edx
call fcn.10002390
mov dword [ebp - 0xcc4], eax
call fcn.100bcfe0
add esp, 0x18
push 2
lea ecx, [ebp - 0xc68]
call fcn.10001710
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0xc50]
push eax
mov ecx, dword [ebp + 8]
call fcn.10008650
mov ecx, dword [ebp - 0xca0]
or ecx, 1
mov dword [ebp - 0xca0], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc68]
call fcn.10002300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc80]
call fcn.10002300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc38]
call fcn.10002300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc50]
call fcn.10002300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10002300
mov eax, dword [ebp + 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.1010a06b
mov esp, ebp
pop ebp
ret