Function at 0x100254c0
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.1001b690
mov ebx, dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 8
xor edi, edi
mov dword [0x1012c80c], 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 0x10025524
cmp ebp, 0xea
jne 0x10025563
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x10025579
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x10025567
mov eax, dword [0x1012c80c]
push 0x50
lea ecx, [eax + eax*4]
inc eax
mov dword [0x1012c80c], eax
mov edx, dword [esi]
lea ecx, [ecx + ecx*4]
push edx
lea ecx, [ecx*2 + 0x1012c810]
push ecx
call ebx
mov eax, dword [esp + 0x20]
add esp, 0xc
add esi, 4
inc edi
cmp edi, eax
jb 0x10025534
mov esi, dword [esp + 0x10]
xor edi, edi
cmp esi, edi
je 0x10025579
push esi
call sub.NETAPI32.dll_NetApiBufferFree
xor esi, esi
mov dword [esp + 0x10], esi
cmp ebp, 0xea
je 0x100254f7
cmp esi, edi
je 0x1002558f
push esi
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [0x1012c80c], edi
jne 0x100255a4
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], 0xa5
mov ecx, dword [0x1012c80c]
cmp ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], edi
jle 0x100256ce
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 0x1012c810
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.100252e0
push ebx
mov dword [esp + 0x24], str.Active
call fcn.10025440
add esp, 0xc
test eax, eax
je 0x1002561a
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 [0x1012c80c]
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 0x100255dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0x42
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.1001b690
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret