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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
mov ebx, ecx
mov ecx, 0x518caa
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 0
call fcn.004dd464
push 0x208
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004b3b60
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.004062e0
push 1
push 0x505a64
mov ecx, ebx
mov dword [ebp - 0x10], 2
call fcn.004068d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x404de4
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00403f30
push 0x208
lea eax, [ebp - 0x43c]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.004b3b60
add esp, 0xc
mov dword [ebp - 0x24], 0x104
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004062e0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x404db0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
je 0x404db3
mov byte [ebp - 4], 4
test ecx, ecx
je 0x404df5
mov edx, ecx
mov si, word [eax]
cmp si, word [edx]
jne 0x404cb9
test si, si
je 0x404cb5
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x404cb9
add eax, 4
add edx, 4
test si, si
jne 0x404c93
xor eax, eax
jmp 0x404cbe
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 3
test eax, eax
je 0x404db3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004049d0
push 7
push str.Users_
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 9
call fcn.004068d0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.004058f0
push str.AppDataLocal_
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00405760
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [eax]
mov esi, dword [ebx]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x404d62
cmp dword [esi + 0xc], 0
jl 0x404d57
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x404d57
call fcn.00406660
mov dword [ebp - 0x20], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404d50
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebx], eax
jmp 0x404d62
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.00406740
mov edx, dword [ebp - 0x28]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404d7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404d96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404db0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404dca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
pop edi
pop esi
jg 0x404de4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004027e0
int3