Function at 0x76e51089
Capabilities:
Add user account

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.76e571c7
mov edi, eax
cmp edi, esi
jne 0x76e51325
push ebx
mov ebx, dword [ebp + 0x1c]
cmp ebx, 2
jne 0x76e510d3
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.76e571c7
mov edi, eax
cmp edi, esi
jne 0x76e51324
xor edx, edx
inc edx
cmp ebx, edx
jne 0x76e51109
push dword [ebp + 0x24]
push 2
push esi
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.76e5a95a
mov edi, eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
push 0x76e51680
call fcn.76e42867
add esp, 0x10
jmp 0x76e51324
cmp ebx, esi
jne 0x76e5124c
mov ebx, dword [ebp + 0x14]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push edx
push dword [ebp + 0x10]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], 0x1001
mov dword [ebp - 0x20], edx
call sub.NETAPI32.dll_NetUserAdd
mov edi, eax
cmp edi, esi
je 0x76e51324
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x76e51630
call fcn.76e42867
mov esi, 0x8c5
add esp, 0x10
cmp edi, esi
jne 0x76e51211
and word [ebx + 0x1c], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp + 0x10]
call sub.NETAPI32.dll_NetUserAdd
mov edi, eax
cmp edi, esi
jne 0x76e511ec
push esi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x76e515e0
call fcn.76e42867
and word [ebx + 0xe], 0
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp + 0x10]
call sub.NETAPI32.dll_NetUserAdd
mov edi, eax
cmp edi, esi
jne 0x76e511ec
push esi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x76e51590
call fcn.76e42867
add esp, 0x10
push ebx
push dword [ebp - 4]
call fcn.76e57230
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp + 0x10]
call sub.NETAPI32.dll_NetUserAdd
mov edi, eax
test edi, edi
jne 0x76e51200
push 0x76e51548
call fcn.76e42867
pop ecx
jmp 0x76e51324
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x76e514f8
jmp 0x76e510fc
cmp edi, 0x8b0
je 0x76e51225
cmp edi, 0x52e
jne 0x76e51324
push dword [ebp + 0x24]
push 1
push ebx
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.76e5a95a
mov edi, eax
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x76e51490
jmp 0x76e510fc
cmp ebx, 2
jne 0x76e512f8
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push esi
push dword [ebp - 0xc]
push ebx
call sub.NETAPI32.dll_NetUserSetInfo
mov edi, eax
push edi
push dword [ebp - 0xc]
push ebx
push 0x76e51438
call fcn.76e42867
add esp, 0x10
cmp edi, esi
jne 0x76e51324
lea eax, [ebp + 0x10]
push eax
push 0xa
push dword [ebp - 4]
mov dword [ebp + 0x10], esi
push ebx
call sub.NETAPI32.dll_NetUserGetInfo
cmp eax, esi
je 0x76e512a7
push eax
push 0x76e513e8
jmp 0x76e512e2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x76e512e9
push dword [ebp - 4]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x76e512e9
mov eax, dword [ebp - 4]
push esi
lea ecx, [ebp + 0x18]
push ecx
push 0x3f3
push eax
push ebx
mov dword [ebp + 0x18], eax
call sub.NETAPI32.dll_NetUserSetInfo
cmp eax, esi
je 0x76e512e9
push eax
push 0x76e51398
call fcn.76e42867
pop ecx
pop ecx
cmp dword [ebp + 0x10], esi
je 0x76e51324
push dword [ebp + 0x10]
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x76e51324
cmp ebx, 3
jne 0x76e51321
push dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.76e5bf7f
mov edi, eax
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x76e51340
jmp 0x76e510fc
push 0x57
pop edi
pop ebx
push dword [ebp - 4]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0xc]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, edi
pop edi
pop esi
leave
ret 0x20