Function at 0x4010af
Capabilities:
Add user account

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x20
call fcn.00401657
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call fcn.0040138d
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4010fc
push ebx
call fcn.00401651
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 8], ebx
push dword [ebp + 0xc]
call fcn.0040138d
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40112c
push ebx
call fcn.00401651
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4011b1
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 8], ebx
push dword [ebp + 0x10]
call fcn.0040138d
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4011ab
push ebx
call fcn.00401651
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 8], ebx
push 0x80000301
push 0
push 0x10000
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.004018b0
add esp, 0x1c
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
mov dword [ebp - 8], esp
push 0
mov eax, dword [ebp - 4]
push eax
push 0x20
call fcn.00401657
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x40122a
add eax, 8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x40123b
add eax, 8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x40126a
add eax, 8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 1
push 0
call dword [sym.imp.NETAPI32.dll_NetUserAdd]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4012a9
push 6
call fcn.0040165d
add esp, 4
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
add edi, 8
add ebx, 8
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00401651
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40130f
mov eax, 1
jmp 0x401319
mov eax, 0
jmp 0x401319
push eax
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40132e
push ebx
call fcn.00401651
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401342
push ebx
call fcn.00401651
add esp, 4
pop ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401356
push ebx
call fcn.00401651
add esp, 4
pop ebx
call fcn.00401651
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10