Function at 0x140033900
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x568
mov rax, qword [0x1400dd078]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov r8, 0xffffffffffffffff
mov dx, 0x5c
mov rcx, qword [rsp + 0x578]
call fcn.14003b330
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x140033a2e
mov edx, 1
lea rcx, [rsp + 0x250]
call fcn.14003aba0
nop
lea rdx, str.Failed_to_find_the_last_component_of_the_Registry_path
lea rcx, [rsp + 0x250]
call fcn.14001d2a0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x578]
lea rcx, [rsp + 0x470]
call fcn.140042600
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140017ba0
nop
lea rcx, [rsp + 0x470]
call fcn.140019710
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x250]
call fcn.14003aac0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x118]
call fcn.14002d0f0
lea rdx, [0x1400da9c8]
lea rcx, [rsp + 0x118]
call fcn.140065380
nop
lea rcx, [rsp + 0x490]
call fcn.140019710
lea rcx, [rsp + 0x250]
call fcn.14002d320
nop
lea rcx, [rsp + 0x430]
call fcn.1400199d0
nop
mov r9, qword [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x4b0]
mov rcx, qword [rsp + 0x578]
call fcn.14003b2c0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x430]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.14002e730
nop
lea rcx, [rsp + 0x4b0]
call fcn.140019a40
mov rax, qword [rsp + 0x38]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x450]
mov rcx, qword [rsp + 0x578]
call fcn.14003b2c0
nop
mov ecx, dword [rsp + 0x580]
call fcn.14002e900
or eax, 0xf003f
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x430]
call fcn.1400196d0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140033c3a
mov edx, 1
lea rcx, [rsp + 0x340]
call fcn.14003aba0
nop
lea rdx, str.Failed_to_open_parent_Registry_key_of:
lea rcx, [rsp + 0x340]
call fcn.14001d2a0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0x578]
lea rcx, [rsp + 0x4d0]
call fcn.140042600
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.140017ba0
nop
lea rcx, [rsp + 0x4d0]
call fcn.140019710
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x340]
call fcn.14003aac0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x130]
call fcn.14002d0f0
lea rdx, [0x1400da9c8]
lea rcx, [rsp + 0x130]
call fcn.140065380
nop
lea rcx, [rsp + 0x530]
call fcn.140019710
lea rcx, [rsp + 0x340]
call fcn.14002d320
nop
lea rcx, [rsp + 0x450]
call fcn.1400196d0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
cdqe
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x40], 0
jne 0x140033cac
lea rcx, [rsp + 0x450]
call fcn.140019a40
nop
lea rcx, [rsp + 0x430]
call fcn.140019a40
jmp 0x140033dc7
mov edx, 1
lea rcx, [rsp + 0x160]
call fcn.14003aba0
nop
lea rdx, str.RegDeleteTree_failed_for
lea rcx, [rsp + 0x160]
call fcn.14001d2a0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x578]
lea rcx, [rsp + 0x4f0]
call fcn.140042600
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.140017ba0
nop
lea rcx, [rsp + 0x4f0]
call fcn.140019710
lea rdx, [rsp + 0x510]
lea rcx, [rsp + 0x160]
call fcn.14003aac0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x148]
call fcn.14002d0f0
lea rdx, [0x1400da9c8]
lea rcx, [rsp + 0x148]
call fcn.140065380
nop
lea rcx, [rsp + 0x510]
call fcn.140019710
lea rcx, [rsp + 0x160]
call fcn.14002d320
lea rcx, [rsp + 0x450]
call fcn.140019a40
lea rcx, [rsp + 0x430]
call fcn.140019a40
nop
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1400620b0
add rsp, 0x568
ret