Function at 0x1400bd640
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 [0x14033f038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rbx, qword [0x140352ad0]
test rbx, rbx
je 0x1400bd6a7
test rbx, rbx
sete bl
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140171860
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.14016ecd4
mov rsi, rax
lea rcx, [rax + 0x18]
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
call fcn.1400c4e90
lea rax, [rsi + 0x38]
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140352ad0], rsi
call fcn.1400bda00
test al, al
jne 0x1400bd763
call fcn.14008fca0
test al, al
jne 0x1400bd763
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
je 0x1400bd775
mov rcx, rsi
call fcn.14016f5e8
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.1401b5310
cmp rax, 0xffffffffffffffff
mov rcx, qword [0x140352ad0]
setne byte [rcx + 0x10]
lea rdx, [rsp + 0x38]
mov qword [rdx], rsi
mov qword [rdx + 8], rdi
call fcn.1400bda20
jmp 0x1400bd676
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
test rax, rax
jne 0x1400bd779
xor eax, eax
jmp 0x1400bd781
xor edi, edi
jmp 0x1400bd70d
mov rcx, rsi
call fcn.14016f5e8
mov rcx, qword [0x140352ad0]
lea rdx, [rsp + 0x68]
mov qword [rdx], rsi
mov qword [rdx + 8], rax
call fcn.1400bda20
mov rax, qword [0x140352ad0]
cmp qword [rax + 0x40], 0
jne 0x1400bd676
xor eax, eax
lea rdi, [rsp + 0xac]
mov dword [rdi], eax
lea r12, [rsp + 0xa8]
mov dword [r12], eax
movaps xmm6, xmmword [0x140301d60]
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], r14
mov byte [rsp + 0xb0], 0
mov qword [rsp + 0xc8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, str.SoftwareMicrosoftEdge
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400bd676
cmp dword [rsp + 0xac], 1
jne 0x1400bd676
lea r15, [rsp + 0xb8]
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x10], r14
movaps xmmword [rsi], xmm6
mov edx, dword [rsp + 0xa8]
shr rdx, 1
mov rcx, rsi
call fcn.140124290
mov rax, qword [rsi]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, str.SoftwareMicrosoftEdge
lea r8, str.OverrideCommandLineArgs
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
je 0x1400bd9cb
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400bd8cd
mov qword [rsp + 0x98], rcx
call fcn.14016eccc
test esi, esi
jne 0x1400bd676
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x10], r14
movaps xmmword [rsi], xmm6
lea rax, [0x1403020ca]
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.1400e25c0
mov r8, qword [rsi]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140206720
mov rcx, qword [0x140352ad0]
mov rdx, rsi
call fcn.1400c1470
mov rdi, qword [rsi]
test rdi, rdi
je 0x1400bd99d
mov rsi, qword [rsp + 0x98]
mov rcx, rdi
cmp rsi, rdi
je 0x1400bd990
add rsi, 0xffffffffffffffe8
mov rcx, rsi
call fcn.14009c8c7
cmp rsi, rdi
jne 0x1400bd977
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x98], rdi
call fcn.14016eccc
cmp byte [rsp + 0xb0], 0
je 0x1400bd676
cmp byte [rsp + 0xcf], 0
jns 0x1400bd676
mov rcx, qword [rsp + 0xb8]
call fcn.14016eccc
jmp 0x1400bd676
mov rdx, qword [rsp + 0x90]
lea rdi, [rsp + 0x78]
mov rcx, rdi
call fcn.140067b86
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
mov rax, qword [rdi + 0x10]
mov qword [r15 + 0x10], rax
mov byte [rsp + 0xb0], 1
jmp 0x1400bd8b3