Function at 0x140066420
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov r14, qword [0x14019ac08]
test r14, r14
je 0x140066487
test r14, r14
sete bl
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 0x50
call fcn.1400a27b0
mov rsi, rax
lea rcx, [rax + 0x18]
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov edx, 1
call fcn.1400660e0
lea rax, [rsi + 0x38]
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14019ac08], rsi
call fcn.140042d30
test al, al
jne 0x14006654c
call fcn.140043070
test al, al
jne 0x14006654c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
je 0x140066548
mov rcx, rsi
call fcn.1400c5964
mov rdi, rax
lea rax, str.single_argument
lea rdx, [rsp + 0xc0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xf
lea rcx, [rsp + 0xa0]
mov qword [rcx], rsi
mov qword [rcx + 8], rdi
xor r8d, r8d
call fcn.140071fc0
cmp rax, 0xffffffffffffffff
mov rcx, qword [0x14019ac08]
setne byte [rcx + 0x10]
lea rdx, [rsp + 0x40]
mov qword [rdx], rsi
mov qword [rdx + 8], rdi
call fcn.1400667e0
jmp 0x140066456
xor edi, edi
jmp 0x1400664f2
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
je 0x140066564
mov rcx, rsi
call fcn.1400c5964
jmp 0x140066566
xor eax, eax
mov rcx, qword [0x14019ac08]
lea rdx, [rsp + 0x70]
mov qword [rdx], rsi
mov qword [rdx + 8], rax
call fcn.1400667e0
mov rax, qword [0x14019ac08]
cmp qword [rax + 0x40], 0
jne 0x140066456
xor eax, eax
lea rdi, [rsp + 0xbc]
mov dword [rdi], eax
lea rbx, [rsp + 0xb8]
mov dword [rbx], eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, [0x140164b20]
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140066456
cmp dword [rsp + 0xbc], 1
jne 0x140066456
lea r15, [rsp + 0xc8]
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0xa0]
mov qword [rsi + 0x10], r12
movaps xmm6, xmmword [0x14015cb80]
movaps xmmword [rsi], xmm6
mov edx, dword [rsp + 0xb8]
shr rdx, 1
mov rcx, rsi
call fcn.140061a70
mov rax, qword [rsi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, [0x140164b20]
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
je 0x14006677b
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140066698
mov qword [rsp + 0xa8], rcx
call fcn.1400a27ec
test edi, edi
jne 0x140066456
mov qword [rsp + 0xb0], r12
movaps xmmword [rsp + 0xa0], xmm6
lea rax, [0x140164a40]
movzx ecx, byte [rsp + 0xdf]
mov r9d, ecx
and r9d, 0x7f
test cl, cl
lea r8, [rsp + 0x60]
cmovs r15, qword [rsp + 0xc8]
mov qword [r8], rax
mov qword [r8 + 8], 1
lea rdx, [rsp + 0x50]
mov qword [rdx], r15
cmovs r9, qword [rsp + 0xd0]
mov qword [rdx + 8], r9
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov r9d, 1
call fcn.14001fa50
mov r8, qword [rsp + 0xa0]
lea r9, [0x14015fc9a]
lea rdi, [rsp + 0x80]
mov rcx, rsi
mov rdx, rdi
call fcn.140105c90
mov rcx, qword [0x14019ac08]
mov rdx, rsi
call fcn.140066920
mov qword [rdi], rsi
lea rcx, [rsp + 0x80]
call fcn.140034d60
cmp byte [rsp + 0xc0], 0
je 0x140066456
cmp byte [rsp + 0xdf], 0
jns 0x140066456
mov rcx, qword [rsp + 0xc8]
call fcn.1400a27ec
jmp 0x140066456
mov rdx, qword [rsp + 0xa0]
lea rbx, [rsp + 0x80]
mov rcx, rbx
call fcn.14005a07e
mov rax, qword [rbx + 0x10]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
xorps xmm0, xmm0
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov byte [rsp + 0xc0], 1
cmp byte [rbx + 0x17], 0
jns 0x14006667e
mov rcx, qword [rsp + 0x80]
call fcn.1400a27ec
jmp 0x14006667e