Function at 0x418f50
Capabilities:
Get session user name
List user accounts for group
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46fb4c
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4aaeb0]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0xaa]
push ebx
push eax
mov dword [esp + 0x38], 0x104
mov word [esp + 0xb0], bx
call fcn.0045a220
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xa8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x419277
mov ebp, 7
lea eax, [esp + 0xa4]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418ff3
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x90]
call fcn.00401540
push ebx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
push 1
mov dword [esp + 0x2d0], ebx
push str.Administrators
push ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
call sub.NETAPI32.dll_NetLocalGroupGetMembers
test eax, eax
je 0x419068
cmp dword [esp + 0xa0], 8
jb 0x419277
mov ecx, dword [esp + 0x8c]
push ecx
jmp 0x41926f
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jbe 0x419253
mov dword [esp + 0x18], ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov edx, dword [ecx + eax]
push edx
call sub.ADVAPI32.dll_ConvertSidToStringSidW
cmp eax, 1
jne 0x419239
push 4
push str._500
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.00401540
mov byte [esp + 0x2b8], 1
mov edx, dword [esp + 0x20]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4190d7
sub eax, esi
sar eax, 1
lea ecx, [edx + eax*2 - 8]
mov eax, ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x419100
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00401540
mov byte [esp + 0x2b8], 2
mov eax, dword [esp + 0x54]
mov esi, 8
cmp dword [esp + 0x68], esi
jae 0x419135
lea eax, [esp + 0x54]
mov edi, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x70]
call fcn.0040e360
test eax, eax
jne 0x4191e9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax + 8]
mov eax, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x419170
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.00401540
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x38]
mov esi, 8
cmp dword [esp + 0x4c], esi
jae 0x4191a5
lea eax, [esp + 0x38]
mov edi, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x8c]
call fcn.0040e360
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x2b8], 2
cmp dword [esp + 0x4c], esi
jb 0x4191df
mov edx, dword [esp + 0x38]
push edx
call fcn.00452ad1
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x4192a4
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4191fc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x68], esi
jb 0x41920f
mov eax, dword [esp + 0x54]
push eax
call fcn.00452ad1
add esp, 4
mov byte [esp + 0x2b8], bl
cmp dword [esp + 0x84], esi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x419239
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00452ad1
add esp, 4
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], 0xc
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jb 0x419080
mov edx, dword [esp + 0x1c]
push edx
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [esp + 0xa0], 8
jb 0x419277
mov eax, dword [esp + 0x8c]
push eax
call fcn.00452ad1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00452816
add esp, 0x2a8
ret
cmp dword [esp + 0x68], esi
jb 0x4192b7
mov edx, dword [esp + 0x54]
push edx
call fcn.00452ad1
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x4192da
mov eax, dword [esp + 0x70]
push eax
call fcn.00452ad1
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jb 0x419306
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00452ad1
add esp, 4
xor eax, eax
jmp 0x41927c