Function at 0x10046ec0
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10147598
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1018d0d0]
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
mov esi, dword [ebp + 8]
mov byte [ebp - 0x29], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov edi, edi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
push 2
push 0
push 0
call sub.NETAPI32.dll_NetUserEnum
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
je 0x10046f47
cmp edi, 0xea
je 0x10046f47
mov byte [ebp - 0x29], 0
jmp 0x100470fe
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x10047110
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
jbe 0x10047101
test ebx, ebx
je 0x100470fb
mov edx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
je 0x10046f9f
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10046f90
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.1000c2b0
mov edi, dword [esi + 4]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp eax, edi
jae 0x10047057
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
cmp eax, ecx
ja 0x10047057
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [esi + 8]
jne 0x10046fec
push 1
mov ecx, esi
call fcn.1000e9b0
mov eax, dword [esi]
lea ecx, [ebx + ebx*2]
mov ebx, dword [esi + 4]
lea edi, [eax + ecx*8]
test ebx, ebx
je 0x10047052
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [edi + 0x14], 8
jae 0x10047029
mov eax, dword [edi + 0x10]
inc eax
je 0x10047033
add eax, eax
push eax
push edi
push ebx
call fcn.1011a7e0
add esp, 0xc
jmp 0x10047033
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov ebx, dword [ebp - 0x3c]
jmp 0x100470c9
cmp edi, dword [esi + 8]
jne 0x10047065
push 1
mov ecx, esi
call fcn.1000e9b0
mov edi, dword [esi + 4]
test edi, edi
je 0x100470c9
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x14], 8
jae 0x1004709d
mov eax, dword [ebp - 0x18]
inc eax
je 0x100470a9
add eax, eax
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.1011a7e0
add esp, 0xc
jmp 0x100470a9
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
add dword [esi + 4], 0x18
cmp dword [ebp - 0x14], 8
mov dword [ebp - 4], 0xffffffff
jb 0x100470e5
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
mov eax, dword [ebp - 0x38]
add ebx, 4
inc eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x34]
jb 0x10046f66
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10047110
push ebx
call sub.NETAPI32.dll_NetApiBufferFree
xor ebx, ebx
mov dword [ebp - 0x30], ebx
cmp edi, 0xea
je 0x10046f10
test ebx, ebx
je 0x10047126
push ebx
call sub.NETAPI32.dll_NetApiBufferFree
mov al, byte [ebp - 0x29]
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.1011a3e5
mov esp, ebp
pop ebp
ret 4