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

Disassembly:
push 0xffffffffffffffff
push 0x101d3cb0
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.10168890
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0
call fcn.1016cd10
mov eax, dword [0x10371d10]
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.10167ff0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 3
call fcn.101c4d0f
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call fcn.101c4c22
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.10168010
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.101c4c22
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10167fd0
mov eax, dword [eax]
push eax
call fcn.1019c3e4
add esp, 4
lea ecx, [esp + 0x68]
mov dword [ebp + 0x78], eax
call fcn.101c4c22
lea edx, [esp + 0x68]
lea ecx, [esp + 0x18]
push edx
call fcn.10168030
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.101c4c22
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.10168070
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.101c4c22
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x68]
mov dword [ebp + 0x31e], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10167fd0
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.101c4c22
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10168030
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.101c4c22
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10168050
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.101c4c22
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10168010
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.101c4c22
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.10168090
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.101c4c22
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 1
call fcn.101c4c22
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 0
call fcn.1016cdb0
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.10168970
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x58
ret 4