Function at 0x1400346c0
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, 0x5e8
mov rax, qword [0x1400dd078]
xor rax, rsp
mov qword [rsp + 0x5d0], rax
mov dword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x608]
call fcn.14002d020
movzx eax, al
test eax, eax
je 0x1400348aa
mov rcx, qword [rsp + 0x608]
call fcn.14002d090
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x608]
call fcn.14002d040
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x608]
call fcn.14002d030
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x600]
call fcn.1400196d0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x5f8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140034794
jmp 0x140034b4b
mov edx, 1
lea rcx, [rsp + 0x240]
call fcn.14003aba0
nop
lea rdx, str.Failed_to_set_Registry_value:
lea rcx, [rsp + 0x240]
call fcn.14001d2a0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x600]
lea rcx, [rsp + 0x510]
call fcn.140042600
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140017ba0
lea rdx, [0x1400c6210]
mov rcx, rax
call fcn.14001d2a0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.14001eb80
nop
lea rcx, [rsp + 0x510]
call fcn.140019710
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x240]
call fcn.14003aac0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xf8]
call fcn.14002d0f0
lea rdx, [0x1400da9c8]
lea rcx, [rsp + 0xf8]
call fcn.140065380
nop
lea rcx, [rsp + 0x530]
call fcn.140019710
lea rcx, [rsp + 0x240]
call fcn.14002d320
jmp 0x140034b4b
mov rcx, qword [rsp + 0x600]
call fcn.1400196d0
mov rdx, rax
mov rcx, qword [rsp + 0x5f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400348dc
jmp 0x140034b4b
cmp qword [rsp + 0x38], 2
jne 0x140034a21
mov edx, 1
lea rcx, [rsp + 0x330]
call fcn.14003aba0
nop
lea rdx, str.Registry_value:
lea rcx, [rsp + 0x330]
call fcn.14001d2a0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0x600]
lea rcx, [rsp + 0x550]
call fcn.140042600
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140017ba0
lea rdx, str._was_already_absent
mov rcx, rax
call fcn.14001d2a0
nop
lea rcx, [rsp + 0x550]
call fcn.140019710
call fcn.14001c880
mov rcx, rax
call fcn.140011b70
mov r8d, 4
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.140017560
nop
jmp 0x1400349b4
mov byte [rsp + 0x238], 1
movzx eax, byte [rsp + 0x238]
test eax, eax
jne 0x140034a01
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x330]
call fcn.14003aac0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x130]
call fcn.14003d6b0
lea rcx, [rsp + 0x570]
call fcn.140019710
jmp 0x1400349ac
lea rcx, [rsp + 0x130]
call fcn.1400162f0
nop
lea rcx, [rsp + 0x330]
call fcn.14002d320
jmp 0x140034b4b
mov edx, 1
lea rcx, [rsp + 0x420]
call fcn.14003aba0
nop
lea rdx, str.Failed_to_delete_Registry_value:
lea rcx, [rsp + 0x420]
call fcn.14001d2a0
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0x600]
lea rcx, [rsp + 0x590]
call fcn.140042600
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.140017ba0
lea rdx, [0x1400c62a8]
mov rcx, rax
call fcn.14001d2a0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xe0]
call fcn.14001eb80
nop
lea rcx, [rsp + 0x590]
call fcn.140019710
lea rdx, [rsp + 0x5b0]
lea rcx, [rsp + 0x420]
call fcn.14003aac0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x110]
call fcn.14002d0f0
lea rdx, [0x1400da9c8]
lea rcx, [rsp + 0x110]
call fcn.140065380
nop
lea rcx, [rsp + 0x5b0]
call fcn.140019710
lea rcx, [rsp + 0x420]
call fcn.14002d320
nop
mov rcx, qword [rsp + 0x5d0]
xor rcx, rsp
call fcn.1400620b0
add rsp, 0x5e8
ret