Function at 0x14003faa0
Capabilities:
Create process on windows
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor edi, edi
mov dword [rsp + 0x40], edi
xor edx, edx
mov r8d, 0xd8
lea rcx, [rbp + 0x30]
call fcn.140046cd8
mov qword [rbp + 0x30], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], di
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], rdi
mov edx, 0x102
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
lea rsi, [0x14004ef68]
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.1400272d0
test eax, eax
jne 0x14003ffe9
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov dword [rbp + 0x20], edi
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14003fb8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14003ffe9
mov ebx, dword [rbp + 0xc]
lea eax, [rbx - 2]
test eax, 0xfffffffd
je 0x14003ff18
lea eax, [rbx - 1]
test eax, 0xfffffffd
je 0x14003fc87
mov ecx, dword [0x140065724]
mov eax, dword [0x140065720]
add ecx, eax
je 0x14003fc42
mov dword [rsp + 0x50], edi
call fcn.140028b70
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14003fbf4
call fcn.140028b70
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov r10, qword [rsp + 0x48]
mov ecx, ebx
call fcn.14003fa20
mov dword [rsp + 0x78], 4
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, str.Service__s_is_in__s_state__cannot_be_started
mov qword [rsp + 0x28], rax
lea rax, str.vpn_utils::StartServiceByCommandIfNotStarted
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x78]
movsx edx, di
mov rcx, r10
call fcn.140028cf0
nop
mov eax, dword [rsp + 0x40]
test al, 2
je 0x14003fc7f
and eax, 0xfffffffd
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rdi
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x14003fc7a
call fcn.140028730
mov eax, ebx
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x14003fc68
lock inc dword [rsp + 0x50]
xor dil, dil
jmp 0x14003ffda
mov qword [rbp], rdi
lea rcx, [rbp - 0x78]
call fcn.14002fd00
nop
lea rsi, str.bdvpnservice.exe
mov r8, rsi
mov rdx, rax
lea rcx, [rbp]
call fcn.1400400f0
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003fcd1
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], eax
mov dword [rbp - 0x70], 0x70
mov dword [rbp - 0x6c], 0x440
mov qword [rbp - 0x68], rdi
lea rax, str.open
mov qword [rbp - 0x60], rax
mov rax, qword [rbp]
mov qword [rbp - 0x58], rax
lea rax, str.start
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdi
mov dword [rbp - 0x40], edi
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14003fe20
mov ecx, dword [0x140065724]
mov eax, dword [0x140065720]
add ecx, eax
je 0x14003fdb5
mov dword [rsp + 0x60], edi
call fcn.140028b70
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov dword [rsp + 0x40], 4
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14003fd76
call fcn.140028b70
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x7c], 4
mov qword [rsp + 0x30], rsi
lea rax, str.Cannot_run__s
mov qword [rsp + 0x28], rax
lea rax, str.vpn_utils::StartServiceByCommandIfNotStarted
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x7c]
movsx edx, di
call fcn.140028cf0
nop
mov eax, dword [rsp + 0x40]
test al, 4
je 0x14003fded
and eax, 0xfffffffb
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rdi
mov eax, ebx
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
js 0x14003fde8
call fcn.140028730
mov eax, ebx
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
jns 0x14003fdd6
lock inc dword [rsp + 0x60]
xor dil, dil
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14003ffda
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14003ffda
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14003fe3f
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x30]
call fcn.1400273b0
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14003fe5b
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0x30], rdi
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14003fe74
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0xa8], rdi
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll__Mtx_destroy_in_situ]
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14003fe9a
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0xa8], rdi
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x14003fee3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003fede
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400462d0
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], di
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14003ff0c
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov dil, 1
movzx eax, dil
jmp 0x14003fff4
mov ecx, dword [0x140065724]
mov eax, dword [0x140065720]
add ecx, eax
je 0x14003ff99
mov dword [rsp + 0x70], edi
call fcn.140028b70
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov dword [rsp + 0x40], 1
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x14003ff5c
call fcn.140028b70
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov dword [rbp - 0x80], 0x10
mov qword [rsp + 0x30], rsi
lea rax, str.Service__s_is_already_running
mov qword [rsp + 0x28], rax
lea rax, str.vpn_utils::StartServiceByCommandIfNotStarted
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x80]
movsx edx, di
call fcn.140028cf0
nop
mov eax, dword [rsp + 0x40]
test al, 1
je 0x14003ffd7
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x68], rdi
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
js 0x14003ffd2
nop
call fcn.140028730
mov eax, ebx
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
jns 0x14003ffc0
lock inc dword [rsp + 0x70]
mov dil, 1
lea rcx, [rbp + 0x30]
call fcn.140027170
movzx eax, dil
jmp 0x14003fff4
lea rcx, [rbp + 0x30]
call fcn.140027170
xor al, al
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140045c20
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret