Function at 0x1800046b4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
xor r15b, r15b
lea rdx, [rcx + 0xe20]
cmp qword [rdx + 0x18], 8
jb 0x1800046f6
mov rdx, qword [rdx]
lea rcx, [rbp + 0x7f]
call fcn.1800021b4
nop
lea r14, [rbx + 0x20]
test r14, r14
jne 0x18000470d
xor eax, eax
jmp 0x180004715
mov rcx, r14
call fcn.18001cc9c
mov r8d, eax
mov rdx, r14
lea rcx, [rbp + 0x7f]
call fcn.180004cdc
mov r9d, esi
mov r8, qword [rbp + 0x7f]
mov rdx, 0xffffffff80000003
mov rcx, rbx
call fcn.180005868
mov r12, rax
or r13d, 0xffffffff
test rax, rax
je 0x180004c01
lea r8, [rbx + 0x620]
mov r9d, esi
mov rdx, rax
mov rcx, rbx
call fcn.180005868
mov r14, rax
test rax, rax
je 0x180004bf7
cmp qword [rdi + 0x18], 8
jb 0x180004775
mov rdi, qword [rdi]
mov r9d, esi
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.180005868
mov rdi, rax
test rax, rax
je 0x180004bee
lea r8, [rbx + 0x820]
mov r9d, esi
mov rdx, rax
mov rcx, rbx
call fcn.180005868
mov rbx, rax
test rax, rax
je 0x180004be5
lea r8, [0x1800467d8]
lea rdx, [0x1800468d0]
lea rcx, [rbp - 0x29]
call fcn.180004578
nop
lea r8, [0x180046788]
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.180004578
nop
lea r8, [0x1800467f0]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.180004578
nop
lea r8, [0x1800467d0]
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.180004578
nop
lea r8, [0x180046758]
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.180004578
nop
lea r8, [0x1800467a8]
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.180004578
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004850
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004871
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004892
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1800048b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1800048d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x180046788]
lea rdx, [0x1800468c0]
lea rcx, [rbp - 0x11]
call fcn.180004578
nop
lea r8, [0x180046778]
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.180004578
nop
lea r8, [0x180046808]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.180004578
nop
lea r8, [0x180046768]
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.180004578
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004948
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004969
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004989
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x1800467d8]
lea rdx, [0x180046880]
lea rcx, [rbp + 7]
call fcn.180004578
nop
lea r8, [0x180046798]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.180004578
nop
lea r8, [0x1800467b8]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.180004578
nop
lea r8, [0x1800467a0]
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.180004578
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1800049fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004a1f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004a3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x180046770]
lea rdx, [0x180046838]
lea rcx, [rbp + 0x17]
call fcn.180004578
nop
lea r8, [0x180046790]
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.180004578
nop
lea r8, [0x180046758]
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.180004578
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004aa0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004ac0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15d, 1
mov dword [rbp + 0x67], r15d
lea esi, [r15 + 3]
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x51]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x59]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and dword [rbp + 0x67], 0
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x61]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x67], 3
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x69]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004b83
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004ba4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004bc5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x180004be5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov ecx, r13d
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
test ecx, ecx
jg 0x180004c22
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, r15b
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret