Function at 0x48b7d0
Capabilities:
Get session information
Get session user name
Get user security identifier
List groups for user account

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edfcb
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x41c], ebx
call fcn.0049f407
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48b834
push 0x80004005
call fcn.00407a60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x43c], esi
xor eax, eax
push 0x1fe
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call fcn.005bb1c0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x428], 0
call fcn.005bb1c0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x420], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x48b9fa
mov edi, dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x430]
push eax
push 5
push dword [ebp - 0x414]
push 0
call edi
test eax, eax
je 0x48b9fa
cmp dword [ebp - 0x430], 0
je 0x48b9fa
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x434]
push eax
push 7
push dword [ebp - 0x414]
push 0
call edi
test eax, eax
je 0x48b9fa
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x48ba0b
push dword [ebp - 0x430]
push eax
lea eax, [ebp - 0x43c]
push 0x624274
push eax
call fcn.00407b30
mov esi, dword [ebp - 0x43c]
add esp, 0x10
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x418]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x438]
push eax
push 0
push 0
push esi
push 0
call dword [sym.imp.NETAPI32.dll_NetUserGetLocalGroups]
test eax, eax
jne 0x48b9fa
xor edi, edi
cmp dword [ebp - 0x418], edi
jbe 0x48b9fa
mov ebx, dword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
mov edi, edi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x420], 0x200
mov dword [ebp - 0x424], pe_nt_image_headers32
push dword [eax + edi*4]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x48b9f8
push 0x1a
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
jne 0x48ba6c
inc edi
cmp edi, dword [ebp - 0x418]
jb 0x48b990
xor ebx, ebx
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x48ba0b
push eax
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x48ba1c
push eax
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x48ba2d
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ba4e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret
mov ebx, 1
jmp 0x48b9fa