Function at 0x4c1a01
Capabilities:
List user accounts

Disassembly:
push 0x7c
mov eax, 0x696f58
call fcn.0056e23b
mov ebx, ecx
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 4]
mov ecx, edi
mov dword [ebp - 0x80], eax
call fcn.004c1040
lea ecx, [ebp - 0x2c]
call fcn.004173bc
and dword [ebp - 4], 0
call fcn.005657fe
push eax
lea ecx, [ebp - 0x48]
call fcn.0041d41a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004d2485
cmp dword [0x7960fc], 0
pop ecx
pop ecx
jle 0x4c1a8a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
push str.__CurrentUser___Name___s__SID___s
push 0x77b084
call fcn.0042e634
add esp, 0x10
xor esi, esi
push esi
call fcn.005650c3
pop ecx
test eax, eax
je 0x4c1c27
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ebx
push 2
push ecx
push eax
mov ecx, edi
call fcn.004c0f8b
lea ecx, [ebp - 0x88]
call fcn.004c321d
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], ebx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
push eax
push 0x3b
push 1
push ebx
call sub.NETAPI32.dll_NetUserEnum
mov esi, eax
mov dword [ebp - 0x7c], esi
test esi, esi
je 0x4c1b0b
cmp esi, 0xea
jne 0x4c1c13
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x4c1c07
cmp dword [ebp - 0x6c], 0
jbe 0x4c1bfc
lea esi, [ecx + 0x18]
cmp dword [0x7960fc], 0
jle 0x4c1b54
push dword [esi - 0x18]
push str.__UserInfo___Name____s
push 0x77b084
call fcn.0042e634
push dword [esi]
push dword [esi]
push str.__UserInfo___Flags___u__0x_X__
push 0x77b084
call fcn.0042e634
add esp, 0x1c
test byte [esi], 2
jne 0x4c1be9
test dword [esi], 0x200
je 0x4c1be9
lea ecx, [ebp - 0x64]
call fcn.004173bc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x64]
push eax
push dword [esi - 0x18]
call fcn.004d2485
pop ecx
pop ecx
test eax, eax
je 0x4c1bdd
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
je 0x4c1bdd
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x70]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.004c212c
test eax, eax
je 0x4c1bdd
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push 0
push dword [esi - 0xc]
cmovae eax, dword [ebp - 0x60]
mov ecx, edi
push dword [esi - 0x18]
push eax
call fcn.004c0f8b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0041786a
add esi, 0x20
inc ebx
cmp ebx, dword [ebp - 0x6c]
jb 0x4c1b23
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x7c]
push ecx
call sub.NETAPI32.dll_NetApiBufferFree
xor ebx, ebx
mov dword [ebp - 0x68], ebx
cmp esi, 0xea
je 0x4c1ada
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004a487d
mov ebx, dword [ebp - 0x70]
jmp 0x4c1c58
push esi
call fcn.005651cb
pop ecx
test eax, eax
lea ecx, [ebp - 0x44]
push 1
lea eax, [ebp - 0x28]
je 0x4c1c3d
push esi
jmp 0x4c1c3f
push 1
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004c0f8b
push dword [ebp - 0x80]
mov ecx, ebx
call fcn.004c1774
push 1
mov ecx, edi
call fcn.004c1258
test eax, eax
jne 0x4c1c8e
mov ecx, edi
call fcn.004c1317
test eax, eax
jne 0x4c1c87
push 1
mov ecx, edi
call fcn.004c1217
test eax, eax
je 0x4c1c8e
mov dword [eax + 0x40], 1
mov esi, dword [ebx + 0x1c]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov eax, esi
call fcn.0056e1e5
ret 4