Function at 0x408910
Capabilities:
Contain obfuscated stackstrings
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd055
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
push ebx
mov ecx, 0x510279
mov dword [ebp - 4], 0
mov dword [ebp - 0xc0], 0
call fcn.004b782d
mov ebx, dword [ebp + 8]
push ebx
call fcn.004095c0
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0xc0], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x408c59
lea eax, [ebp - 0x14]
push eax
call fcn.00408c80
push 0x208
lea eax, [ebp - 0x2e0]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004ba890
add esp, 0x10
mov dword [ebp - 0xc4], 0x104
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00405900
mov ecx, eax
test ecx, ecx
je 0x408c6a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.004048a0
test al, al
jne 0x408a12
lea eax, [ebp - 0x2e0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4089f3
sub eax, edx
lea ecx, [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.00406c80
push esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x408c1e
cmp dword [esi - 0xc], 0
je 0x408c1e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404270
add esp, 8
test al, al
je 0x408c1e
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004097f0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x1e]
lea eax, [ebp - 0x15]
mov dword [ebp - 0xbc], 0x41005c
push eax
push ecx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xb8], 0x700070
push edx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xb4], 0x610044
mov dword [ebp - 0xb0], 0x610074
mov dword [ebp - 0xac], 0x52005c
mov dword [ebp - 0xa8], 0x61006f
mov dword [ebp - 0xa4], 0x69006d
mov dword [ebp - 0xa0], 0x67006e
mov dword [ebp - 0x9c], 0x4d005c
mov dword [ebp - 0x98], 0x630069
mov dword [ebp - 0x94], 0x6f0072
mov dword [ebp - 0x90], 0x6f0073
mov dword [ebp - 0x8c], 0x740066
mov dword [ebp - 0x88], 0x49005c
mov dword [ebp - 0x84], 0x74006e
mov dword [ebp - 0x80], 0x720065
mov dword [ebp - 0x7c], 0x65006e
mov dword [ebp - 0x78], 0x200074
mov dword [ebp - 0x74], 0x780045
mov dword [ebp - 0x70], 0x6c0070
mov dword [ebp - 0x6c], 0x72006f
mov dword [ebp - 0x68], 0x720065
mov dword [ebp - 0x64], 0x51005c
mov dword [ebp - 0x60], 0x690075
mov dword [ebp - 0x5c], 0x6b0063
mov dword [ebp - 0x58], 0x4c0020
mov dword [ebp - 0x54], 0x750061
mov dword [ebp - 0x50], 0x63006e
mov dword [ebp - 0x4c], 0x5c0068
mov dword [ebp - 0x48], 0x730055
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x500020
mov dword [ebp - 0x3c], 0x6e0069
mov dword [ebp - 0x38], 0x65006e
mov dword [ebp - 0x34], 0x5c0064
mov dword [ebp - 0x30], 0x610054
mov dword [ebp - 0x2c], 0x6b0073
mov dword [ebp - 0x28], 0x610042
mov dword [ebp - 0x24], 0x5c0072
call fcn.00403ee0
mov edi, eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004042e0
push dword [edi]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00404390
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00404150
lea ecx, [ebp - 0xc8]
call fcn.00403fc0
lea ecx, [ebp - 0xcc]
call fcn.00403fc0
lea ecx, [ebp - 0xd8]
call fcn.0040c340
lea ecx, [ebp - 0x1c]
call fcn.00403fc0
pop edi
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408c3c
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 0x408c59
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.00404870
int3