Function at 0x1800205e0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov edx, 1
lea rcx, [rsp + 0xa0]
call fcn.180014b40
lea rcx, [rsp + 0xa0]
call fcn.180006980
nop
cmp qword [rsp + 0xd8], 0
je 0x180020681
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x80]
call fcn.180006930
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.1800111f0
nop
lea rcx, [rsp + 0x80]
call fcn.180011170
lea rcx, [rsp + 0xa0]
call fcn.1800072d0
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov ecx, dword [rsp + 0xf0]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x50], 0
cmp dword [rsp + 0x54], 0
jne 0x180020800
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x180020734
mov dword [rsp + 0x58], 1
jmp 0x18002073c
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x50], al
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1800207aa
cmp qword [rsp + 0xe0], 0
jne 0x180020775
lea rax, [0x1800419a8]
mov qword [rsp + 0x60], rax
jmp 0x180020782
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xa0]
call fcn.1800072c0
mov r9, qword [rsp + 0x60]
mov r8, rax
lea rdx, str.mini::__registry_class_mini::extended_mini_string_wchar_t___::WriteDWORD:_mini::__registry_class_mini::extended_mini_string_wchar_t___::WriteDWORD__s__s_:_OK
mov ecx, 2
call fcn.1800284e0
jmp 0x1800207fe
cmp qword [rsp + 0xe0], 0
jne 0x1800207c3
lea rax, [0x1800419a8]
mov qword [rsp + 0x70], rax
jmp 0x1800207d0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xa0]
call fcn.1800072c0
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x70]
mov r8, rax
lea rdx, str.mini::__registry_class_mini::extended_mini_string_wchar_t___::WriteDWORD:_mini::__registry_class_mini::extended_mini_string_wchar_t___::WriteDWORD__s__s_:_E:_d_setting_value
mov ecx, 3
call fcn.1800284e0
jmp 0x180020854
cmp qword [rsp + 0xe0], 0
jne 0x180020819
lea rax, [0x1800419a8]
mov qword [rsp + 0x68], rax
jmp 0x180020826
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa0]
call fcn.1800072c0
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x68]
mov r8, rax
lea rdx, str.mini::__registry_class_mini::extended_mini_string_wchar_t___::WriteDWORD:___s__s_:_E:_d_open_key
mov ecx, 4
call fcn.1800284e0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x51], al
lea rcx, [rsp + 0xa0]
call fcn.180011170
movzx eax, byte [rsp + 0x51]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0xc8
ret