Function at 0x1801a4d40
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x80], 0
mov r8, qword [rsp + 0x100]
lea rdx, [0x1803a62d0]
lea rcx, [rsp + 0xa8]
call fcn.1801e9260
lea rcx, [rsp + 0xa8]
call fcn.180074060
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp qword [rsp + 0x58], 0
jne 0x1801a4dff
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
movzx eax, byte [rsp + 0x51]
jmp 0x1801a5003
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
cmp word [rax + rcx*2], 0
jne 0x1801a4e18
mov rax, qword [rsp + 0x78]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1803a6350]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
cmp word [rax + rcx*2], 0
jne 0x1801a4e80
mov rax, qword [rsp + 0x68]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1803a6528]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
cmp word [rax + rcx*2], 0
jne 0x1801a4ee8
mov rax, qword [rsp + 0x60]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1803a6540]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
cmp word [rax + rcx*2], 0
jne 0x1801a4f50
mov rax, qword [rsp + 0x70]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1803a6368]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1803a6340]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [0x1803a6340]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0xa8]
call fcn.180073fc0
movzx eax, byte [rsp + 0x50]
add rsp, 0xd8
ret