Function at 0x5955180
Capabilities:
Acquire debug privileges
List user accounts

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
push 1
push str.SeDebugPrivilege
call fcn.05958ca0
mov ebx, dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 8
xor edi, edi
mov dword [0x596ad78], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 2
push edi
push edi
call sub.NETAPI32.dll_NetUserEnum
mov ebp, eax
cmp ebp, edi
je 0x59551e4
cmp ebp, 0xea
jne 0x5955225
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x595523d
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x595522b
mov eax, dword [0x596ad78]
push 0x50
lea ecx, [eax + eax*4]
inc eax
mov dword [0x596ad78], eax
mov edx, dword [esi]
lea ecx, [ecx + ecx*4]
push edx
lea ecx, [ecx*2 + 0x596ad7c]
push ecx
call ebx
mov eax, dword [esp + 0x20]
add esp, 0xc
add esi, 4
inc edi
cmp edi, eax
jb 0x59551f4
xor edi, edi
mov esi, dword [esp + 0x10]
jmp 0x595522d
xor edi, edi
cmp esi, edi
je 0x595523d
push esi
call sub.NETAPI32.dll_NetApiBufferFree
xor esi, esi
mov dword [esp + 0x10], esi
cmp ebp, 0xea
je 0x59551b7
cmp esi, edi
je 0x5955253
push esi
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [0x596ad78], edi
jne 0x5955268
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov byte [eax], 0x86
mov ecx, dword [0x596ad78]
cmp ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], edi
jle 0x5955392
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 0x596ad7c
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.05954fa0
push ebx
mov dword [esp + 0x24], str.Active
call fcn.05955100
add esp, 0xc
test eax, eax
je 0x59552de
mov dword [esp + 0x18], str.Disable
push ebx
call ebp
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x14]
inc ecx
mov esi, ebx
push ebx
lea edi, [edx + eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
mov eax, dword [esp + 0x14]
inc ecx
lea esi, [esp + 0x20]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push esi
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call ebp
mov edx, dword [esp + 0x14]
mov ecx, eax
inc ecx
add edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ecx
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [0x596ad78]
add ebx, 0x32
lea eax, [edx + eax + 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x59552a1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0x42
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret