Function at 0x10013970
Capabilities:
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x100309d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.10004a50
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0
call fcn.10004730
mov eax, dword [0x1004415c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x400
call fcn.10013cd0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 3
call fcn.10026e89
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call fcn.10026d9c
mov edi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x68]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.10013cf0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x64]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10013cb0
mov eax, dword [eax]
push eax
call fcn.1001901f
add esp, 4
lea ecx, [esp + 0x68]
mov dword [ebp + 0x78], eax
call fcn.10026d9c
lea edx, [esp + 0x68]
lea ecx, [esp + 0x18]
push edx
call fcn.10013d10
mov eax, dword [eax]
lea edx, [ebp + 0x7c]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
lea ecx, [esp + 0x14]
lea edx, [ebp + 0x90]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp + 0xf4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp + 0x1f8]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x38]
mov dword [ebp + 0x2fc], edx
call fcn.10013d50
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x300]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x68]
mov dword [ebp + 0x31e], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10013cb0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x322]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10013d10
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x340]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10013d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x35e]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10013cf0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x37c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10013d70
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x39a]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
call fcn.10026d9c
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 1
call fcn.10026d9c
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 0
call fcn.100047d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.10004b30
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x58
ret 4