Function at 0x4062b0
Capabilities:
Add user account

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6068
call fcn.004070e0
mov eax, dword [0x42cf34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x6048], 1
mov dword [ebp - 0x6044], 0
mov dword [ebp - 0x603c], 0
mov dword [ebp - 0x6038], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040a520
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x6004]
push edx
call fcn.0041338c
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040a520
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2004]
push edx
call fcn.0041338c
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
call fcn.0040a520
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x4004]
push edx
call fcn.0041338c
add esp, 0xc
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x6068], eax
lea ecx, [ebp - 0x4004]
mov dword [ebp - 0x6064], ecx
mov dword [ebp - 0x605c], 1
mov dword [ebp - 0x6058], 0
mov dword [ebp - 0x6054], 0
mov dword [ebp - 0x6050], 1
mov dword [ebp - 0x604c], 0
push 0x42ca40
call fcn.00402030
add esp, 4
lea edx, [ebp - 0x602c]
push edx
lea eax, [ebp - 0x603c]
push eax
call fcn.00402800
add esp, 8
mov dword [ebp - 0x6038], eax
cmp dword [ebp - 0x6038], 0
jne 0x4063ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x42ca58
call fcn.00402030
add esp, 8
jmp 0x406623
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.___Attempting_to_add_user__s_to_host__s_n
call fcn.00402030
add esp, 0xc
mov dword [ebp - 0x6034], 0
jmp 0x40641d
mov eax, dword [ebp - 0x6034]
add eax, 1
mov dword [ebp - 0x6034], eax
mov ecx, dword [ebp - 0x6034]
cmp ecx, dword [ebp - 0x603c]
jae 0x4065be
imul edx, dword [ebp - 0x6034], 0x104
mov eax, dword [ebp - 0x6038]
cmp dword [eax + edx + 0x100], 0
je 0x4065b9
imul ecx, dword [ebp - 0x6034], 0x104
add ecx, dword [ebp - 0x6038]
push ecx
push 0x42cab8
call fcn.0040a443
add esp, 8
test eax, eax
jne 0x406471
jmp 0x40640e
imul edx, dword [ebp - 0x6034], 0x104
mov eax, dword [ebp - 0x6038]
mov ecx, dword [eax + edx + 0x100]
push ecx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
lea edx, [ebp - 0x6044]
push edx
lea eax, [ebp - 0x6068]
push eax
push 1
lea ecx, [ebp - 0x6004]
push ecx
call sub.NETAPI32.dll_NetUserAdd
mov dword [ebp - 0x6040], eax
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edx, dword [ebp - 0x6040]
mov dword [ebp - 0x6030], edx
cmp dword [ebp - 0x6030], 0x8af
ja 0x406519
cmp dword [ebp - 0x6030], 0x8af
je 0x406576
cmp dword [ebp - 0x6030], 0x56
ja 0x406508
cmp dword [ebp - 0x6030], 0x56
je 0x406547
cmp dword [ebp - 0x6030], 0
je 0x406549
cmp dword [ebp - 0x6030], 5
je 0x406547
jmp case.0x406540.1
cmp dword [ebp - 0x6030], 0x52e
je 0x406547
jmp case.0x406540.1
mov eax, dword [ebp - 0x6030]
sub eax, 0x8b0
mov dword [ebp - 0x6030], eax
cmp dword [ebp - 0x6030], 0x7f
ja case.0x406540.1
mov ecx, dword [ebp - 0x6030]
movzx edx, byte [ecx + 0x406648]
jmp dword [edx*4 + 0x406634]
jmp 0x4065b9
push str.___Successfully_added_user_n
call fcn.00402030
add esp, 4
jmp 0x4065cb
push 0x42caf8
call fcn.00402030
add esp, 4
jmp 0x4065cb
push 0x42cb14
call fcn.00402030
add esp, 4
jmp 0x4065cb
push str.____Group_already_exists_n
call fcn.00402030
add esp, 4
jmp 0x4065cb
push str.____User_already_exists_n
call fcn.00402030
add esp, 4
jmp 0x4065cb
push str.____Password_does_not_meet_complexity_requirements_n
call fcn.00402030
add esp, 4
jmp 0x4065cb
mov eax, dword [ebp - 0x6040]
push eax
push 0x42cbbc
call fcn.00402030
add esp, 8
jmp 0x4065cb
jmp 0x40640e
push 0x42cbd0
call fcn.00402030
add esp, 4
mov dword [ebp - 0x6034], 0
jmp 0x4065e6
mov ecx, dword [ebp - 0x6034]
add ecx, 1
mov dword [ebp - 0x6034], ecx
mov edx, dword [ebp - 0x6034]
cmp edx, dword [ebp - 0x603c]
jae 0x406614
imul eax, dword [ebp - 0x6034], 0x104
mov ecx, dword [ebp - 0x6038]
mov edx, dword [ecx + eax + 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4065d7
mov eax, dword [ebp - 0x6038]
push eax
call fcn.00412693
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004070d2
mov esp, ebp
pop ebp
ret