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

Disassembly:
push 0xffffffffffffffff
push 0x10117320
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.100d8e40
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0
call fcn.100dd020
mov eax, dword [0x10247d70]
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.100d8d80
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 3
call fcn.101098d9
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call fcn.101097ec
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.100d8da0
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.101097ec
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100d8d60
mov eax, dword [eax]
push eax
call fcn.100f6494
add esp, 4
lea ecx, [esp + 0x68]
mov dword [ebp + 0x78], eax
call fcn.101097ec
lea edx, [esp + 0x68]
lea ecx, [esp + 0x18]
push edx
call fcn.100d8dc0
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.101097ec
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.100d8e00
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.101097ec
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x68]
mov dword [ebp + 0x31e], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100d8d60
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.101097ec
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.100d8dc0
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.101097ec
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.100d8de0
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.101097ec
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.100d8da0
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.101097ec
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.100d8e20
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.101097ec
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 1
call fcn.101097ec
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 0
call fcn.100dd0c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.100d8f20
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x58
ret 4