Function at 0x140015ec0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x370], rbx
mov rax, qword [0x14025fb40]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, r8
mov rsi, rdx
mov r12, qword [rbp + 0x290]
mov qword [rsp + 0x68], r12
call fcn.14001a584
mov rdx, rax
xor r13d, r13d
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x140015f31
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
xor r8d, r8d
lea rdx, [0x14021cdd8]
lea rcx, [rsp + 0x48]
call fcn.1400127f0
nop
call fcn.14001a584
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x140015f82
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea r14, vtable.CUtlCommonPath.0
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x20], r13d
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.14001a738
nop
lea rax, vtable.CLaunchCGSApp.0
mov qword [rbp + 0x20], rax
lea rdx, [0x14021cdd8]
lea rcx, [rbp + 0x198]
call fcn.140016af0
nop
mov qword [rbp + 0x1e0], r13
lea rdx, [0x14021cdd8]
lea rcx, [rbp + 0x1e8]
call fcn.1400128e0
nop
lea rcx, [rbp + 0x1f0]
call fcn.14001be08
nop
lea rdx, [0x14021cdd8]
lea rcx, [rbp + 0x218]
call fcn.1400128e0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x20]
call fcn.14000e930
nop
lea rdx, [rbp - 0x60]
call fcn.1400112f0
nop
mov rdi, qword [rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140016034
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140018970
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x58], eax
test eax, eax
sete dil
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
or r15, 0xffffffffffffffff
lock add dword [rdx + 0x10], r15d
jg 0x140016092
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400160e1
lea r8, str.ConfigDir
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x48]
call fcn.140018750
nop
mov rdx, qword [rax]
mov dword [rbp - 0x20], r13d
test rdx, rdx
jne 0x1400160be
mov eax, r13d
jmp 0x1400160cb
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400160c1
mov r8d, eax
lea rcx, [rbp - 0x28]
call fcn.1400127f0
nop
mov rdx, qword [rbp - 0x50]
jmp 0x1400161ac
lea rdx, [rbp - 0x78]
call fcn.1400112f0
nop
mov rdi, qword [rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400160fe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140018970
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x58], eax
test eax, eax
sete dil
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140016158
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400161e3
lea r8, str.ConfigDir
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.140018750
nop
mov rdx, qword [rax]
mov dword [rbp - 0x20], r13d
test rdx, rdx
jne 0x140016189
mov eax, r13d
jmp 0x14001619a
mov rax, r15
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140016190
mov r8d, eax
lea rcx, [rbp - 0x28]
call fcn.1400127f0
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400161c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x30]
call fcn.140017150
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400161d9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x50], r13
lea rdx, str.opendoc
mov rcx, rsi
call fcn.140192e50
test eax, eax
jne 0x140016749
call fcn.14001a584
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001621a
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x14001626c
test rbx, 0xffffffffffff0000
jne 0x14001625b
movzx ebx, bx
mov ecx, ebx
call fcn.140019fac
test rax, rax
je 0x140016280
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400124c0
jmp 0x140016280
mov rax, r15
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x140016260
jmp 0x14001626f
mov eax, r13d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400127f0
nop
call fcn.14001a584
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400162a0
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
lea rax, str.Draw
test rax, 0xffffffffffff0000
jne 0x1400162e2
movzx ebx, ax
mov ecx, ebx
call fcn.140019fac
test rax, rax
je 0x1400162fa
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400124c0
jmp 0x1400162f5
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400127f0
mov rdi, qword [rsp + 0x40]
call fcn.14001a584
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001631a
mov ecx, 0x80004005
call fcn.140015cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x70], r13d
mov esi, r13d
mov dword [rsp + 0x30], r13d
mov r14, qword [rsp + 0x60]
mov qword [rbp - 0x68], r14
cmp dword [r14 - 0x10], r13d
je 0x14001656f
nop dword [rax]
lea r9, [rsp + 0x70]
lea r8, [0x14021d540]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400168d0
nop
mov r13, qword [rax]
lea rcx, [r13 - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x1400164a1
cmp dword [rdi + 0x10], 0
jl 0x1400163b7
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400163b7
call fcn.140012110
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x1400163a9
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x1400164a1
movsxd rsi, dword [r13 - 0x10]
test esi, esi
jne 0x14001641a
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x14001649d
cmp dword [rdi + 0x10], 0
jge 0x1400163f0
cmp dword [rbx - 0xc], 0
jl 0x1400164dc
xor r13d, r13d
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
mov esi, dword [rsp + 0x30]
jmp 0x1400164a4
lock add dword [rdi + 0x10], 0xffffffff
jg 0x140016403
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
jmp 0x14001649d
test r13, r13
je 0x1400164fd
mov r12d, dword [rbx - 0x10]
mov r14, r13
sub r14, rbx
sar r14, 1
test esi, esi
js 0x1400164f2
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, ecx
jge 0x14001645a
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140012790
mov rbx, qword [rsp + 0x38]
lea rdi, [rsi + rsi]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
mov r9, rdi
add rdx, rdx
cmp r14, r12
ja 0x14001647b
lea r8, [rbx + r14*2]
call fcn.1401928f0
jmp 0x140016483
mov r8, r13
call fcn.140191fe0
cmp esi, dword [rbx - 0xc]
jg 0x1400164e7
mov dword [rbx - 0x10], esi
xor r13d, r13d
mov word [rdi + rbx], r13w
mov esi, dword [rsp + 0x30]
mov r14, qword [rbp - 0x68]
jmp 0x1400164a4
mov esi, dword [rsp + 0x30]
xor r13d, r13d
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400164bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
cmp esi, 1
je 0x140016508
inc esi
mov dword [rsp + 0x30], esi
cmp dword [r14 - 0x10], 0
je 0x140016565
jmp 0x140016350
mov ecx, 0x80070057
call fcn.140015cb0
int3
mov ecx, 0x80070057
call fcn.140015cb0
int3
mov ecx, 0x80070057
call fcn.140015cb0
int3
mov ecx, 0x80070057
call fcn.140015cb0
nop
lea rcx, [rbx - 0x18]
mov rdi, qword [rsp + 0x40]
lea rsi, [rdi - 0x18]
cmp rcx, rsi
je 0x14001656a
cmp dword [rsi + 0x10], 0
jl 0x140016554
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140016554
call fcn.140012110
mov rdi, rax
lock add dword [rsi + 0x10], 0xffffffff
jg 0x140016544
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
add rdi, 0x18
mov qword [rsp + 0x40], rdi
mov rbx, qword [rsp + 0x38]
jmp 0x14001656a
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400127f0
mov rdi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x68]
lea rdx, str.Connect
mov rcx, rdi
call fcn.140192e50
lea rcx, [rbp - 0x30]
test eax, eax
jne 0x1400165c6
lea rdx, str.Connect64
call fcn.140016e20
mov edx, 1
lea rcx, [rbp - 0x30]
call fcn.140017640
test al, al
jne 0x1400165bd
lea rcx, [rbp - 0x30]
call fcn.140017150
lea rdx, str.Connect
lea rcx, [rbp - 0x30]
call fcn.140016e20
lea rdx, str.Connect.exe
jmp 0x1400165f4
lea rdx, str.Programs64
call fcn.140016e20
mov edx, 1
lea rcx, [rbp - 0x30]
call fcn.140017640
test al, al
jne 0x1400165fd
lea rcx, [rbp - 0x30]
call fcn.140017150
lea rdx, str.Programs
lea rcx, [rbp - 0x30]
call fcn.140016e20
lea rdx, str.Draw
mov rcx, rdi
call fcn.140192e50
test eax, eax
jne 0x14001662d
lea rdx, [rbp - 0x48]
call fcn.1400111f0
nop
mov rdx, qword [rax]
lea rcx, [rbp - 0x30]
call fcn.140016e20
nop
mov rdx, qword [rbp - 0x48]
jmp 0x14001665b
lea rdx, [0x14021c2bc]
mov rcx, rdi
call fcn.140192e50
test eax, eax
jne 0x140016676
lea rdx, [rbp - 0x80]
call fcn.140011170
nop
mov rdx, qword [rax]
lea rcx, [rbp - 0x30]
call fcn.140016e20
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001666f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
jmp 0x1400166d1
lea rdx, str.Capture
mov rcx, rdi
call fcn.140192e50
test eax, eax
jne 0x140016692
lea rdx, str.Capture.exe
jmp 0x1400166c8
lea rdx, str.FontManager
mov rcx, rdi
call fcn.140192e50
test eax, eax
jne 0x1400166ae
lea rdx, str.FontManager.exe
jmp 0x1400166c8
lea rdx, str.Designer
mov rcx, rdi
call fcn.140192e50
test eax, eax
jne 0x1400166d1
lea rdx, str.Designer.exe
lea rcx, [rbp - 0x30]
call fcn.140016e20
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
lea r9, [0x14021cdd8]
mov r8, qword [rbp - 0x28]
lea rdx, str.OPEN
mov rcx, r12
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001670f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140016729
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140016742
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r14, vtable.CUtlCommonPath.0
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140016762
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x20]
call fcn.14000df10
nop
mov qword [rbp - 0x30], r14
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140016789
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140016799
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400167bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140191fc0
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret