Function at 0x180007e24
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2190
call fcn.180014460
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180025070]
xor rax, rsp
mov qword [rsp + 0x2180], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x58], r9
xor esi, esi
mov word [rsp + 0x68], si
lea rdx, [rsp + 0x180]
call fcn.1800087a8
test eax, eax
js 0x1800081a8
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x180]
call fcn.180007aac
test eax, eax
jne 0x180007eb6
call fcn.1800087a0
jmp 0x1800081a8
mov rcx, r14
call fcn.180008f24
lea rdx, [rsp + 0x180]
mov rcx, r14
call fcn.1800087a8
test eax, eax
js 0x1800081a8
movzx eax, word [rsp + 0x68]
cmp eax, 8
je 0x180008172
cmp eax, 0x11
je 0x180008033
cmp eax, 0x13
je 0x180007fde
cmp eax, 0x4008
jne 0x180008194
lea rcx, [rsp + 0x180]
call fcn.18000ad68
lea ebx, [rax + 2]
lea rcx, [rsp + 0x70]
call fcn.180002978
lea rcx, [rsp + 0x70]
call fcn.1800017f4
nop
movsxd rdx, ebx
lea rcx, [rsp + 0x70]
call fcn.180007c30
nop
jmp 0x180007f47
lea rcx, [rsp + 0x70]
call fcn.180003cb8
mov rbx, rax
test rax, rax
je 0x180007fca
lea rdi, [rsp + 0x180]
cmp word [rsp + 0x180], si
je 0x180007fa8
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [rdi]
cmp cx, 0x5c
jne 0x180007f98
cmp word [rax], 0x30
jne 0x180007f98
mov word [rbx], si
add rbx, 2
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
jmp 0x180007fa3
mov word [rbx], cx
add rbx, 2
add rdi, 2
cmp word [rdi], si
jne 0x180007f6b
mov dword [rbx], 0
lea rcx, [rsp + 0x70]
call fcn.180003cb8
mov r8, rax
mov rdx, r12
mov rcx, r15
call fcn.180007c5c
mov ebx, eax
jmp 0x180007fcf
mov ebx, 0xe
lea rcx, [rsp + 0x70]
call fcn.180007138
jmp 0x180008187
lea rcx, [rsp + 0x30]
call fcn.180002978
lea rcx, [rsp + 0x30]
call fcn.1800017f4
lea rcx, [rsp + 0x180]
call fcn.1800037d4
mov rcx, rax
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov r8d, dword [rsp + 0x68]
mov rdx, r12
mov rcx, r15
call fcn.180007d10
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180007ce4
jmp 0x180008187
lea rcx, [rsp + 0x180]
call fcn.18000ad68
mov rbx, rax
mov dword [rsp + 0x30], eax
test al, 1
je 0x180008055
mov eax, 0x80004005
jmp 0x1800081a8
cdq
sub eax, edx
sar eax, 1
movsxd r13, eax
mov dword [rsp + 0x68], r13d
lea rcx, [rsp + 0x70]
call fcn.180002978
lea rcx, [rsp + 0x70]
call fcn.1800017f4
nop
mov rdx, r13
lea rcx, [rsp + 0x70]
call fcn.180007dc8
nop
jmp 0x1800080a6
lea rcx, [rsp + 0x70]
call fcn.180003cb8
test rax, rax
jne 0x1800080c1
lea rcx, [rsp + 0x70]
call fcn.180007138
jmp 0x18000804b
movsxd r8, r13d
xor edx, edx
mov rcx, rax
call fcn.18000ac00
movsxd rax, ebx
test ebx, ebx
jle 0x180008130
mov r13, rax
mov r14d, esi
lea rcx, [rsp + 0x70]
call fcn.180003cb8
mov rdi, rax
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
movsxd rbx, eax
movzx ecx, word [rsp + rsi*2 + 0x180]
call fcn.180007df4
mov dl, al
mov ecx, r14d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
mov cl, al
shl dl, cl
or byte [rdi + rbx], dl
inc r14d
inc rsi
cmp rsi, r13
jl 0x1800080db
xor esi, esi
mov r14, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.180003cb8
mov rbx, rax
mov rcx, r15
call fcn.180003cb8
mov rcx, rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.180007138
jmp 0x180008187
lea r8, [rsp + 0x180]
mov rdx, r12
mov rcx, r15
call fcn.180007ba4
mov ebx, eax
test ebx, ebx
je 0x180008194
mov ecx, ebx
call fcn.18000876c
jmp 0x1800081a8
mov rdx, qword [rsp + 0x58]
mov rcx, r14
call fcn.1800087a8
test eax, eax
cmovs esi, eax
mov eax, esi
mov rcx, qword [rsp + 0x2180]
xor rcx, rsp
call fcn.18000a9b0
add rsp, 0x2190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret