Function at 0x1400a39e0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rax - 0x158]
sub rsp, 0x230
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1401c8c00]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 0xa0], rcx
xor r12d, r12d
mov rsi, qword [rdx + 0x10]
mov r14, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400a3a36
mov r14, qword [rdx]
test rsi, rsi
je 0x1400a3a55
mov r8, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400a3a55
sub rax, r14
jmp 0x1400a3a5c
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf8], xmm1
cmp rsi, rax
cmovb rax, rsi
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400a3a85
mov rdx, qword [rbx]
mov r8, rax
lea rcx, [rbp + 0xe8]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
movdqa xmm1, xmmword [0x1401a6e20]
movdqu xmmword [rbp + 0xb8], xmm1
mov word [rbp + 0xa8], r12w
mov r8, rdi
lea rdx, str.Remove_VpnConnection__Name__
lea rcx, [rbp - 0x78]
call fcn.1400a6c80
nop
mov r8d, Ordinal_41
lea rdx, str.___AllUserConnection__Force__PassThru
mov rcx, rax
call fcn.140028f30
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x1400a3b5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3b58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3b58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
mov dword [rbp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov dword [rbp + 0x34], 0x40
lea rsi, str.runas
mov qword [rbp + 0x40], rsi
lea r14, str.powershell.exe
mov qword [rbp + 0x48], r14
lea rax, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 7
cmova rax, qword [rbp + 0xc8]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x60], r12d
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400a3c04
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1402564cc]
test ecx, ecx
je 0x1400a3e4a
cmp ecx, 1
jne 0x1400a4071
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.1400a3790
mov rbx, rax
mov r8, rdi
lea rdx, str.Add_VpnConnection__Name__
lea rcx, [rbp - 0x58]
call fcn.1400a6c80
nop
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.___ServerAddress__
mov rcx, rax
call fcn.140028f30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r9, rbx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1400a6e40
nop
mov r8d, 0x77
lea rdx, str.___TunnelType__L2tp___L2tpPsk__vpn___EncryptionLevel__Optional___AllUserConnection__RememberCredential__PassThru__Force
lea rcx, [rsp + 0x48]
call fcn.140028f30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x1400a3cfe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3cf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3cf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movups xmmword [rbp + 0xa8], xmm6
movups xmmword [rbp + 0xb8], xmm7
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400a3d51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3d4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3d4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400a3dab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3da5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3da5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400a3dee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3de9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3de9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x1400a4071
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a406c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a406c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbx
lea rcx, [rbp + 8]
call fcn.1400a3790
mov rbx, rax
mov r8, rdi
lea rdx, str.Add_VpnConnection__Name__
lea rcx, [rbp - 0x38]
call fcn.1400a6c80
nop
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.___ServerAddress__
mov rcx, rax
call fcn.140028f30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r9, rbx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.1400a6e40
nop
mov r8d, 0x68
lea rdx, str.___TunnelType__Sstp___EncryptionLevel__Optional___AllUserConnection__RememberCredential__PassThru__Force
lea rcx, [rsp + 0x68]
call fcn.140028f30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x1400a3f2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3f28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3f28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movups xmmword [rbp + 0xa8], xmm6
movups xmmword [rbp + 0xb8], xmm7
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400a3f7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3f7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3f7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400a3fd9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3fd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3fd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400a401c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4017
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4017
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x1400a4071
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a406c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a406c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
mov dword [rbp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov dword [rbp + 0x34], 0x40
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], r14
lea rax, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 7
cmova rax, qword [rbp + 0xa8]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x60], r12d
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400a4241
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x1400a4143
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a413e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a427e
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rbp + 0xd8], xmm0
mov word [rbp + 0xc8], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x1400a41a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a419c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a42df
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rbp + 0xb8], xmm0
mov word [rbp + 0xa8], r12w
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x1400a41fb
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a41f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a433b
call fcn.140131bf4
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1400a423a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400a4235
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a43c8
mov rcx, r8
call fcn.140131bf4
xor eax, eax
jmp 0x1400a4388
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x1400a428a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4285
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4285
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rbp + 0xd8], xmm0
mov word [rbp + 0xc8], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x1400a42eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a42e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a42e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rbp + 0xb8], xmm0
mov word [rbp + 0xa8], r12w
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x1400a4348
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4342
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4342
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1400a4383
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400a437e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a43c8
mov rcx, r8
call fcn.140131bf4
mov eax, 1
mov word [rdi], r12w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.140131b90
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3