Function at 0x180001340
Capabilities:
Add user account to group

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x180006008]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r14d, edx
lea rcx, str.test0
call fcn.180001060
movsd xmm0, qword [str.mndt]
movsd qword [rbp - 0x50], xmm0
movzx eax, word [0x180004338]
mov word [rbp - 0x48], ax
xor edx, edx
mov r8d, 0xf6
lea rcx, [rbp - 0x46]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
movsd xmm0, qword [str.Admini]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x180004348]
mov dword [rbp - 0x68], eax
movzx eax, word [0x18000434c]
mov word [rbp - 0x64], ax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x62], xmm0
mov word [rbp - 0x52], ax
movups xmm0, xmmword [str.strators]
movups xmmword [rsp + 0x78], xmm0
movzx eax, word [0x180004360]
mov word [rbp - 0x78], ax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
lea rax, [rbp - 0x70]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rax + r8*2], r15w
jne 0x180001424
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.180001720
nop
lea rax, [rsp + 0x78]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x180001442
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180001497
lea rdi, [rcx + rsi]
mov qword [rsp + 0x40], rdi
lea rbx, [rsp + 0x30]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
lea rdx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi*2], r15w
lea rax, [rsp + 0x30]
jmp 0x1800014ae
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.180001fa0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180001514
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000150f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000150f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000221c
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
test r14d, r14d
je 0x180001569
sub r14d, 1
je 0x18000154e
sub r14d, 1
je 0x180001545
cmp r14d, 1
jne 0x180001575
lea rcx, str.test9
jmp 0x180001570
lea rcx, str.test8
jmp 0x180001570
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x50]
xor ecx, ecx
lea r8d, [rcx + 3]
call qword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]
jmp 0x180001575
lea rcx, str.test10
call fcn.180001060
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1800015ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800015b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800015b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000221c
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1800021c0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret