Function at 0x14000a100
Capabilities:
Create pipe
Create process on windows
Create thread
Resume thread
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x10b0]
mov eax, 0x11b0
call fcn.1400165c0
sub rsp, rax
mov rax, qword [0x1400213f8]
xor rax, rsp
mov qword [rbp + 0x1090], rax
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rcx + 0x820], xmm0
mov r14, rcx
mov qword [rsp + 0x68], r15
movups xmmword [rcx + 0x830], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
cmp qword [rcx + 0xd60], r15
je 0x14000a1a9
cmp dword [rcx + 0x8a0], r15d
jne 0x14000a17a
xor r9d, r9d
lea r8, str.Complete_any_pending_dialog_before_starting_a_new_connection
lea rdx, str.OpenVPN_GUI_
call fcn.14000bde0
cmp dword [0x1400234c0], r15d
jne 0x14000a1a2
mov rcx, qword [r14 + 0xd60]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [r14 + 0xd60]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x14000aa25
mov qword [rsp + 0x11d8], rbx
mov qword [rsp + 0x11e8], rdi
mov qword [rsp + 0x11a8], r12
mov qword [rsp + 0x11a0], r13
call fcn.140012980
lea rbx, [r14 + 0xd58]
mov r9, r14
mov qword [rsp + 0x28], rbx
lea r8, [0x14000b120]
xor edx, edx
mov dword [rsp + 0x20], 4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r12, rax
test rax, rax
jne 0x14000a20d
mov ecx, 0x4c3
call fcn.140003f10
jmp 0x14000a9a8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, str._x_08x
mov edx, send
mov r9d, eax
lea rcx, [rbp + 0x60]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
call fcn.1400021e0
xor r8d, r8d
lea r9, [rbp + 0x60]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0xd50], rax
test rax, rax
jne 0x14000a263
lea rdx, [rbp + 0x60]
mov ecx, 0x4b5
call fcn.140003f10
jmp 0x14000a999
lea r13, [r14 + 0x8e8]
mov qword [rsp + 0x11e0], rsi
mov rcx, r13
mov edx, reloc.WS2_32.dll_ntohs
call fcn.14000fc20
cmp dword [0x140022434], r15d
lea rax, str.__management_query_proxy
movzx ecx, word [r14 + 0x8d2]
lea rsi, [0x140018fbc]
mov rdi, rsi
cmovne rdi, rax
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [r14 + 0x8d4]
movzx ebx, ax
call qword [sym.imp.WS2_32.dll_inet_ntoa]
cmp dword [0x1400230ac], r15d
lea rdx, str._append
mov qword [rsp + 0x50], rdi
lea rcx, [r14 + 0x618]
mov dword [rsp + 0x48], ebx
lea r8, str.openvpn___log_s___s____config___s____setenv_IV_GUI_VER___S____setenv_IV_SSO_openurl_crtext___service__s_0___auth_retry_interact___management__S__hd_stdin___management_query_passwords__s__management_hold
mov qword [rsp + 0x40], rax
cmovne rsi, rdx
lea rax, [rbp + 0x60]
mov r9, rsi
mov qword [rsp + 0x38], rax
mov edx, 0x400
lea rax, str.OpenVPN_GUI_11
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x890]
call fcn.1400021e0
cmp dword [0x1400234c8], r15d
mov rsi, qword [rsp + 0x11e0]
je 0x14000a3c9
xor edx, edx
mov dword [rbp + 0x90], 0x11c
mov r8d, 0x100
mov qword [rbp + 0x9c], r15
lea rcx, [rbp + 0xa4]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov word [rbp + 0x1a6], r15w
mov r8b, 3
mov dword [rbp + 0x1a8], eax
xor ecx, ecx
lea edx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edx, 0x23
mov dword [rbp + 0x94], 6
mov r8, rax
mov dword [rbp + 0x98], 1
lea rcx, [rbp + 0x90]
mov word [rbp + 0x1a4], r15w
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x14000a3d6
call fcn.1400068e0
test eax, eax
jne 0x14000a66e
lea rbx, [r14 + 0x920]
mov dword [rsp + 0x78], 2
mov rcx, rbx
xor edx, edx
mov r8d, 0x430
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14000a66e
mov qword [rsp + 0x30], r15
lea rcx, str..pipeopenvpn_service
mov dword [rsp + 0x28], 0x40000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rbx + 0x20], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000a643
xor r9d, r9d
lea rdx, [rsp + 0x78]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x14000a643
mov rax, 0xffffffffffffffff
mov rbx, rax
nop word [rax + rax]
inc rbx
cmp word [r14 + rbx*2 + 0x410], r15w
jne 0x14000a480
lea rcx, [rbp + 0x8a0]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a495
mov rcx, r14
add ebx, eax
call fcn.140001370
test eax, eax
jne 0x14000a4f6
mov rcx, qword [r14 + 0xd50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x948]
test rcx, rcx
je 0x14000a4cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x940]
mov qword [r14 + 0x948], r15
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a4ea
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14 + 0x940], r15
jmp 0x14000a999
mov qword [rsp + 0x48], r13
lea rax, str.___pull_filter_ignore_route_method
mov qword [rsp + 0x40], reloc.WS2_32.dll_recv
lea r9, [r14 + 0x410]
mov qword [rsp + 0x38], r15
lea r8, str._s_c_s_s_c_.S
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x90]
lea rax, [rbp + 0x8a0]
mov qword [r14 + 0x918], r15
mov qword [rsp + 0x28], rax
mov edx, 0x400
mov qword [rsp + 0x20], r15
mov byte [r14 + 0x8f7], 0xa
call fcn.1400021e0
xorps xmm0, xmm0
mov byte [r14 + 0x8f7], r15b
mov rdi, qword [r14 + 0x940]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
movups xmmword [rbp - 0x80], xmm0
lea edx, [r9 + 1]
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x68], rax
test rax, rax
je 0x14000a5ec
lea rax, [rbp - 0x80]
xor r9d, r9d
lea r8d, [rbx*2 + 0x6a]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000a5bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000a5e2
mov rcx, qword [rbp - 0x68]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000a5d9
mov rcx, qword [rbp - 0x68]
jmp 0x14000a984
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x6ae
call fcn.140003f10
mov rcx, qword [r14 + 0xd50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x948]
test rcx, rcx
je 0x14000a615
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x940]
mov qword [r14 + 0x948], r15
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a4ea
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14 + 0x940], r15
jmp 0x14000a999
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14000a652
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x28], r15
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a66a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x20], r15
lea rax, [rbp - 0x40]
mov dword [rbp - 0x58], 0x18
mov edx, 1
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x48], 1
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x14000a6a6
mov ecx, 0x4b9
call fcn.140003f10
jmp 0x14000a9f6
xor r9d, r9d
lea rcx, [rbp - 0x40]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x14000a6cd
mov ecx, 0x4ba
call fcn.140003f10
jmp 0x14000a9f6
lea rdx, [0x1400229f4]
mov rcx, r15
lea r8, str.IDLE_PRIORITY_CLASS
nop
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x14000a70c
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14000a70c
add rcx, 2
cmp rcx, 0x14
jne 0x14000a6e0
mov ebx, 0x8000040
jmp 0x14000a7ff
lea r8, str.BELOW_NORMAL_PRIORITY_CLASS
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x14000a74c
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14000a74c
add rcx, 2
cmp rcx, 0x1c
jne 0x14000a720
mov ebx, 0x8004000
jmp 0x14000a7ff
lea r8, str.NORMAL_PRIORITY_CLASS
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x14000a789
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14000a789
add rcx, 2
cmp rcx, 0x16
jne 0x14000a760
mov ebx, 0x8000020
jmp 0x14000a7ff
lea r8, str.ABOVE_NORMAL_PRIORITY_CLASS
mov rcx, r15
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x14000a7bc
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14000a7bc
add rcx, 2
cmp rcx, 0x1c
jne 0x14000a793
mov ebx, 0x8008000
jmp 0x14000a7ff
lea r9, str.HIGH_PRIORITY_CLASS
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
cmp ax, word [r9 + rcx*2]
jne 0x14000a9ec
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r9 + rcx*2 + 2]
jne 0x14000a9ec
add rcx, 2
cmp rcx, 0x14
jne 0x14000a7d0
mov ebx, 0x8000080
mov qword [rsp + 0x30], r15
lea r9, [rbp - 0x58]
mov dword [rsp + 0x28], r15d
lea rcx, [0x14001abc8]
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x14000a9f6
xor r9d, r9d
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14000a873
mov ecx, 0x4d8
call fcn.140003f10
mov rcx, qword [r14 + 0xd50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a999
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14000a890
mov ecx, 0x4bf
jmp 0x14000a85c
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rax, qword [rsp + 0x68]
lea rdi, [r14 + 0x410]
mov qword [rbp + 0x40], rax
lea rdx, [rbp + 0x890]
mov rax, qword [rsp + 0x70]
lea rcx, [0x1400225e4]
mov qword [rbp + 0x48], rax
xor r9d, r9d
mov qword [rbp + 0x50], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov dword [rbp - 0x10], 0x68
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
mov dword [rbp + 0x2c], 0x100
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000a935
mov r9, rdi
lea r8, [rbp + 0x890]
lea rdx, [0x1400225e4]
mov ecx, 0x4c1
call fcn.140003f10
mov rcx, qword [r14 + 0xd50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a999
lea rcx, [rsp + 0x68]
call fcn.1400062b0
lea rcx, [rsp + 0x70]
call fcn.1400062b0
mov rcx, qword [rsp + 0x60]
lea r9, [rbp - 0x60]
mov r8d, reloc.WS2_32.dll_recv
mov byte [r14 + 0x8f7], 0xa
mov rdx, r13
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov qword [r14 + 0x918], rax
mov byte [r14 + 0x8f7], r15b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r15d, 1
cmp r12, 0xffffffffffffffff
je 0x14000a9a8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a9bd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a9d2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14000a9e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
jmp 0x14000aa05
mov ecx, 0x4b6
call fcn.140003f10
mov rcx, qword [r14 + 0xd50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov r12, qword [rsp + 0x11a8]
mov rdi, qword [rsp + 0x11e8]
mov rbx, qword [rsp + 0x11d8]
mov r13, qword [rsp + 0x11a0]
mov rcx, qword [rbp + 0x1090]
xor rcx, rsp
call fcn.140016590
add rsp, 0x11b0
pop r15
pop r14
pop rbp
ret