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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d842f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
mov ecx, 0x5100a3
mov dword [ebp - 0x18], 0
call fcn.004b532d
push 0x208
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004b8400
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x407afe
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00404300
test al, al
jne 0x40795e
lea ecx, [ebp - 0x230]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407940
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00406280
push 0x3e
push 0x4e00f8
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 2
call fcn.004040d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x407aed
lea eax, [ebp - 0x14]
push eax
call fcn.00407b20
push 0x208
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 3
push 0
push eax
call fcn.004b8400
add esp, 0x10
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x407b08
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00404300
test al, al
jne 0x407a2f
lea ecx, [ebp - 0x438]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407a10
sub ecx, edx
lea eax, [ebp - 0x438]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406280
push esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 5
cmp dword [eax - 0xc], 0
je 0x407ab2
cmp dword [esi - 0xc], 0
je 0x407ab2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403ce0
add esp, 8
test al, al
je 0x407ab2
lea eax, [ebp - 0x1c]
push eax
call fcn.004085a0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403d50
push str.AppDataRoamingMicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
call fcn.00403e00
add esp, 0x1c
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00403b80
lea ecx, [ebp - 0x24]
call fcn.00403a30
lea ecx, [ebp - 0x28]
call fcn.00403a30
lea ecx, [ebp - 0x1c]
call fcn.00403a30
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407ad0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
pop esi
jg 0x407aed
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004042d0
push 0x80004005
call fcn.004042d0
int3