Function at 0x18000c95c
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, rcx
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov ecx, 0x9c
call fcn.18000cff0
test rax, rax
je 0x18000c9be
mov r8d, LoadRegTypeLib
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.18000d820
mov rbx, qword [rsp + 0x30]
lea rdx, [rdi + 2]
lea rcx, [rsp + 0x78]
call fcn.18000daa0
nop
lea rcx, [rsp + 0x78]
call fcn.18000d6b0
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x70], rdi
xor edx, edx
mov ecx, 0xcb
call fcn.18000cff0
test rax, rax
je 0x18000ca1a
mov r8d, 0xcb
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.18000d820
mov rdi, qword [rsp + 0x70]
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x78]
mov r8, rbx
lea rdx, str._s__s__s
lea rcx, [rsp + 0x38]
call fcn.18000da7c
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx - 0x10]
test eax, eax
je 0x18000cb03
lea eax, [rax + rax + 2]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov edi, 1
mov r8d, edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000ca9f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000cabf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000cadf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x18000caff
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
jmp 0x18000cb82
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000cb21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000cb41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000cb61
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000cb80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret