Function at 0x408ac0
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfbe7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
mov ecx, 0x513279
mov dword [ebp - 0x1c], 0
call fcn.004ba18d
push 0x208
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004bd210
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x408d86
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00404870
test al, al
jne 0x408b7e
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408b60
sub ecx, edx
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00406920
push 1
push 0x4e7874
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 2
call fcn.00404630
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x408d75
lea eax, [ebp - 0x14]
push eax
call fcn.00408460
push 0x208
lea eax, [ebp - 0x468]
mov dword [ebp - 4], 3
push 0
push eax
call fcn.004bd210
add esp, 0x10
mov dword [ebp - 0x44], 0x104
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x408d90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00404870
test al, al
jne 0x408c4f
lea eax, [ebp - 0x468]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408c30
sub eax, edx
lea ecx, [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00406920
push esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 5
cmp dword [eax - 0xc], 0
je 0x408d3a
cmp dword [esi - 0xc], 0
je 0x408d3a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404240
add esp, 8
test al, al
je 0x408d3a
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00408fd0
add esp, 4
lea eax, [ebp - 0x15]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], 0x41005c
push ecx
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x700070
push edx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], 0x610044
mov dword [ebp - 0x34], 0x610074
mov dword [ebp - 0x30], 0x4c005c
mov dword [ebp - 0x2c], 0x63006f
mov dword [ebp - 0x28], 0x6c0061
mov dword [ebp - 0x24], 0x5c
call fcn.00403eb0
mov edi, eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004042b0
push dword [edi]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404360
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.00404120
lea ecx, [ebp - 0x48]
call fcn.00403f90
lea ecx, [ebp - 0x4c]
call fcn.00403f90
lea ecx, [ebp - 0x58]
call fcn.0040b7b0
lea ecx, [ebp - 0x20]
call fcn.00403f90
pop edi
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 0x408d58
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 0x408d75
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 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.00404840
push 0x80004005
call fcn.00404840
int3