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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov r14, qword [0x14019e740]
test r14, r14
je 0x140066483
test r14, r14
sete bl
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14009c350
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x50
call fcn.14009ae90
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 [0x14019e740], rsi
call fcn.14007ac20
test al, al
jne 0x140066530
call fcn.14007ac40
test al, al
jne 0x140066530
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14006679a
mov rcx, rax
call fcn.1400b80d4
lea rsi, [rsp + 0x70]
mov qword [rsi + 8], rax
lea rdx, str.single_argument
mov rcx, rsi
xor r8d, r8d
call fcn.140066dd0
cmp rax, 0xffffffffffffffff
mov rcx, qword [0x14019e740]
setne byte [rcx + 0x10]
movups xmm0, xmmword [rsi]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
call fcn.1400667d0
jmp 0x140066454
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
je 0x14006679a
mov rsi, rax
mov rcx, rax
call fcn.1400b80d4
mov rcx, qword [0x14019e740]
lea rdx, [rsp + 0x90]
mov qword [rdx], rsi
mov qword [rdx + 8], rax
call fcn.1400667d0
mov rax, qword [0x14019e740]
cmp qword [rax + 0x40], 0
jne 0x140066454
xor eax, eax
lea rdi, [rsp + 0xe4]
mov dword [rdi], eax
lea r15, [rsp + 0xe0]
mov dword [r15], eax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
lea rdx, [0x140160ce4]
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140066454
cmp dword [rsp + 0xe4], 1
jne 0x140066454
lea rsi, [rsp + 0xc0]
mov qword [rsi + 0x10], rbx
movaps xmm6, xmmword [0x140157be0]
movaps xmmword [rsi], xmm6
mov edx, dword [rsp + 0xe0]
shr edx, 1
mov rcx, rsi
call fcn.140061680
mov rax, qword [rsi]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, [0x140160ce4]
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14006665d
lea rcx, [rsp + 0xa0]
mov qword [rcx], rsi
call fcn.14005ce48
jmp 0x140066454
mov rdx, qword [rsp + 0xc0]
lea rdi, [rsp + 0xa0]
mov rcx, rdi
call fcn.14005bb10
movaps xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov byte [rsp + 0x88], 1
cmp byte [rdi + 0x17], 0
jns 0x1400666b2
mov rcx, qword [rsp + 0xa0]
call fcn.14009aecc
lea rcx, [rsp + 0xa0]
mov qword [rcx], rsi
call fcn.14005ce48
mov qword [rsp + 0xd0], rbx
movaps xmmword [rsp + 0xc0], xmm6
lea rax, [0x140160c10]
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
lea r15, [rsp + 0x70]
movzx eax, byte [r15 + 0x17]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [r15 + 8]
mov qword [rdi + 8], 1
mov rdx, qword [r15]
cmovns rdx, r15
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400ee55c
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9d, 1
call fcn.14007aed0
mov r8, qword [rsp + 0xc0]
lea r9, [0x14015aafc]
lea rdi, [rsp + 0xa0]
mov rcx, rsi
mov rdx, rdi
call fcn.140107380
mov rcx, qword [0x14019e740]
mov rdx, rsi
call fcn.140066910
mov qword [rdi], rsi
lea rcx, [rsp + 0xa0]
call fcn.1400465b0
cmp byte [r15 + 0x18], 0
je 0x140066454
cmp byte [rsp + 0x87], 0
jns 0x140066454
mov rcx, qword [rsp + 0x70]
call fcn.14009aecc
jmp 0x140066454
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400e4624
int3