Function at 0x1400c8420
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0x90]
movaps xmmword [rdx], xmm0
mov qword [rdx + 0x10], 0
mov ecx, 1
call fcn.14004dd50
xor r12d, r12d
lea rdi, [rsp + 0x88]
mov rbx, qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
movabs rsi, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140270690]
lea r14, [rsp + 0x70]
lea r15, [0x140271d5c]
lea rbp, [rsp + 0x50]
lea rax, [0x140276000]
mov r13, qword [r12 + rax]
mov qword [rsp + 0x88], 0
mov rcx, 0xffffffff80000000
mov rdx, r13
mov r8, rdi
call rbx
test eax, eax
jne 0x1400c84fa
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.URL_Protocol
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rsp + 0x80], rsi
movaps xmmword [rsp + 0x70], xmm6
mov rcx, r14
mov rdx, r13
call fcn.1401bc8c0
mov r8d, 1
mov rcx, r14
mov rdx, r15
call fcn.140017700
mov r8d, 0xb
mov rcx, r14
lea rdx, str.DefaultIcon
call fcn.140017700
cmp byte [rsp + 0x87], 0
mov rdx, r14
jns 0x1400c854a
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000000
mov r8, rdi
call rbx
test eax, eax
jne 0x1400c85e2
mov qword [rsp + 0x60], rsi
movaps xmmword [rsp + 0x50], xmm6
cmp byte [rsp + 0xa7], 0
lea r8, [rsp + 0x90]
jns 0x1400c8582
mov r8, qword [rsp + 0x90]
mov rcx, rbp
lea rdx, str._ls_1
call fcn.14000e6a0
movzx eax, byte [rsp + 0x67]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, dword [rsp + 0x58]
lea eax, [rcx + rcx + 2]
mov rdx, qword [rsp + 0x50]
cmovns rdx, rbp
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [rsp + 0x67], 0
jns 0x1400c85e2
mov rcx, qword [rsp + 0x50]
call fcn.14017b254
mov qword [rsp + 0x60], rsi
movaps xmmword [rsp + 0x50], xmm6
mov rcx, rbp
mov rdx, r13
call fcn.1401bc8c0
mov r8d, 1
mov rcx, rbp
mov rdx, r15
call fcn.140017700
mov r8d, 0x12
mov rcx, rbp
lea rdx, str.shellopencommand
call fcn.140017700
cmp byte [rsp + 0x67], 0
mov rdx, rbp
jns 0x1400c862c
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000000
mov r8, rdi
call rbx
test eax, eax
jne 0x1400c86c9
mov qword [rsp + 0x40], rsi
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rsp + 0xa7], 0
lea r8, [rsp + 0x90]
jns 0x1400c8664
mov r8, qword [rsp + 0x90]
lea r13, [rsp + 0x30]
mov rcx, r13
lea rdx, str.__ls_____1_
call fcn.14000e6a0
movzx eax, byte [rsp + 0x47]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, dword [rsp + 0x38]
lea eax, [rcx + rcx + 2]
mov rdx, qword [rsp + 0x30]
cmovns rdx, r13
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [rsp + 0x47], 0
jns 0x1400c86c9
mov rcx, qword [rsp + 0x30]
call fcn.14017b254
cmp byte [rsp + 0x67], 0
jns 0x1400c86da
mov rcx, qword [rsp + 0x50]
call fcn.14017b254
cmp byte [rsp + 0x87], 0
jns 0x1400c86ee
mov rcx, qword [rsp + 0x70]
call fcn.14017b254
add r12, 8
cmp r12, 0x20
jne 0x1400c84a1
cmp byte [rsp + 0xa7], 0
jns 0x1400c8713
mov rcx, qword [rsp + 0x90]
call fcn.14017b254
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14017e7b0
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret