Function at 0x140050270
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, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov r14, qword [0x14033b230]
test r14, r14
je 0x1400502d7
test r14, r14
sete bl
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14013d520
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 0x50
call fcn.14013a6b4
mov rsi, rax
lea rcx, [rax + 0x18]
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov edx, 1
call fcn.140128ab0
lea rax, [rsi + 0x38]
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14033b230], rsi
call fcn.140112300
test al, al
jne 0x14005039c
call fcn.1401125a0
test al, al
jne 0x14005039c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
je 0x140050398
mov rcx, rsi
call fcn.14013ad74
mov rdi, rax
lea rax, str.single_argument
lea rdx, [rsp + 0xb0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xf
lea rcx, [rsp + 0x90]
mov qword [rcx], rsi
mov qword [rcx + 8], rdi
xor r8d, r8d
call fcn.1401134c0
cmp rax, 0xffffffffffffffff
mov rcx, qword [0x14033b230]
setne byte [rcx + 0x10]
lea rdx, [rsp + 0x38]
mov qword [rdx], rsi
mov qword [rdx + 8], rdi
call fcn.140128820
jmp 0x1400502a6
xor edi, edi
jmp 0x140050342
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
je 0x1400503b4
mov rcx, rsi
call fcn.14013ad74
jmp 0x1400503b6
xor eax, eax
mov rcx, qword [0x14033b230]
lea rdx, [rsp + 0x68]
mov qword [rdx], rsi
mov qword [rdx + 8], rax
call fcn.140128820
mov rax, qword [0x14033b230]
cmp qword [rax + 0x40], 0
jne 0x1400502a6
xor eax, eax
lea rdi, [rsp + 0xac]
mov dword [rdi], eax
lea rbx, [rsp + 0xa8]
mov dword [rbx], eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, [0x1402f2d68]
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400502a6
cmp dword [rsp + 0xac], 1
jne 0x1400502a6
lea r15, [rsp + 0xb8]
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x10], r12
movaps xmm6, xmmword [0x1402e6d80]
movaps xmmword [rsi], xmm6
mov edx, dword [rsp + 0xa8]
shr rdx, 1
mov rcx, rsi
call fcn.140108670
mov rax, qword [rsi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, [0x1402f2d68]
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
je 0x1400505be
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400504e8
mov qword [rsp + 0x98], rcx
call fcn.14013a6ac
test edi, edi
jne 0x1400502a6
mov qword [rsp + 0xa0], r12
movaps xmmword [rsp + 0x90], xmm6
lea rax, [0x1402e70da]
movzx ecx, byte [rsp + 0xcf]
mov r9d, ecx
and r9d, 0x7f
test cl, cl
lea r8, [rsp + 0x58]
cmovs r15, qword [rsp + 0xb8]
mov qword [r8], rax
mov qword [r8 + 8], 1
lea rdx, [rsp + 0x48]
mov qword [rdx], r15
cmovs r9, qword [rsp + 0xc0]
mov qword [rdx + 8], r9
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov r9d, 1
call fcn.1400f35a0
mov r8, qword [rsp + 0x90]
lea rdi, [rsp + 0x78]
mov rcx, rsi
mov rdx, rdi
call fcn.1401ff5d0
mov rcx, qword [0x14033b230]
mov rdx, rsi
call fcn.140112ae0
mov qword [rdi], rsi
lea rcx, [rsp + 0x78]
call fcn.14007da10
cmp byte [rsp + 0xb0], 0
je 0x1400502a6
cmp byte [rsp + 0xcf], 0
jns 0x1400502a6
mov rcx, qword [rsp + 0xb8]
call fcn.14013a6ac
jmp 0x1400502a6
mov rdx, qword [rsp + 0x90]
lea rbx, [rsp + 0x78]
mov rcx, rbx
call fcn.1400b3e36
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
mov rax, qword [rbx + 0x10]
mov qword [r15 + 0x10], rax
mov byte [rsp + 0xb0], 1
jmp 0x1400504ce