Function at 0x100cc99
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.0100d4b9
mov edi, eax
cmp edi, esi
jne 0x100cf35
push ebx
mov ebx, dword [ebp + 0x1c]
cmp ebx, 2
jne 0x100cce3
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.0100d4b9
mov edi, eax
cmp edi, esi
jne 0x100cf34
xor edx, edx
inc edx
cmp ebx, edx
jne 0x100cd19
push dword [ebp + 0x24]
push 2
push esi
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0100eb64
mov edi, eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
push 0x1001a80
call fcn.0100fb71
add esp, 0x10
jmp 0x100cf34
cmp ebx, esi
jne 0x100ce5c
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 0x100cf34
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x1001a30
call fcn.0100fb71
mov esi, 0x8c5
add esp, 0x10
cmp edi, esi
jne 0x100ce21
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 0x100cdfc
push esi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x10019e0
call fcn.0100fb71
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 0x100cdfc
push esi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x1001990
call fcn.0100fb71
add esp, 0x10
push ebx
push dword [ebp - 4]
call fcn.0100d522
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 0x100ce10
push 0x1001948
call fcn.0100fb71
pop ecx
jmp 0x100cf34
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x10018f8
jmp 0x100cd0c
cmp edi, 0x8b0
je 0x100ce35
cmp edi, 0x52e
jne 0x100cf34
push dword [ebp + 0x24]
push 1
push ebx
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0100eb64
mov edi, eax
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x1001890
jmp 0x100cd0c
cmp ebx, 2
jne 0x100cf08
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 0x1001838
call fcn.0100fb71
add esp, 0x10
cmp edi, esi
jne 0x100cf34
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 0x100ceb7
push eax
push 0x10017e8
jmp 0x100cef2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x100cef9
push dword [ebp - 4]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x100cef9
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 0x100cef9
push eax
push 0x1001798
call fcn.0100fb71
pop ecx
pop ecx
cmp dword [ebp + 0x10], esi
je 0x100cf34
push dword [ebp + 0x10]
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x100cf34
cmp ebx, 3
jne 0x100cf31
push dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0100f821
mov edi, eax
push edi
push dword [ebp - 4]
push dword [ebp + 0x10]
push 0x1001740
jmp 0x100cd0c
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