Function at 0x1400467e0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14018f080]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 2]
lea rcx, [rbp + 0x50]
call fcn.140045830
mov rcx, rax
call fcn.140046b40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x140046872
xor al, al
jmp 0x140046b20
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 3]
movzx r8d, byte [rbp + 4]
movzx edx, byte [rbp + 5]
lea rcx, [rbp + 0xe0]
call fcn.1400458d0
mov rcx, rax
call fcn.140047630
mov r8, qword [rsp + 0x220]
mov rdx, rax
lea rcx, [rbp + 0x188]
call fcn.140045c30
nop
lea rcx, [rbp + 0x188]
call fcn.14003f1d0
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call sub.ntdll.dll_RtlInitUnicodeString
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x80]
call fcn.140045720
mov rcx, rax
call fcn.1400470d0
mov r8, qword [rsp + 0x220]
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.140045c30
nop
lea rcx, [rbp + 0x168]
call fcn.14003f1d0
lea r8, [rbp + 0x160]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rbp + 0x14], eax
cmp dword [rbp + 0x14], 0
je 0x1400469df
cmp dword [rbp + 0x14], 2
jne 0x1400469b9
mov byte [rbp + 9], 1
lea rcx, [rbp + 0x168]
call fcn.1400393f0
nop
lea rcx, [rbp + 0x188]
call fcn.1400393f0
movzx eax, byte [rbp + 9]
jmp 0x140046b20
mov byte [rbp + 0xa], 0
lea rcx, [rbp + 0x168]
call fcn.1400393f0
nop
lea rcx, [rbp + 0x188]
call fcn.1400393f0
movzx eax, byte [rbp + 0xa]
jmp 0x140046b20
call fcn.140046130
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x28]
call qword [rbp + 0x30]
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xb]
movzx r8d, byte [rbp + 0xc]
movzx edx, byte [rbp + 0xd]
lea rcx, [rbp + 0x60]
call fcn.140045b10
mov rcx, rax
call fcn.140046b40
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x1a8]
call qword [rbp + 0x40]
mov dword [rbp + 0x18], eax
cmp dword [rbp + 0x18], 0
je 0x140046ab7
lea rcx, [rbp + 0x168]
call fcn.14003f1d0
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0x14], eax
mov byte [rbp + 0xe], 0
lea rcx, [rbp + 0x168]
call fcn.1400393f0
nop
lea rcx, [rbp + 0x188]
call fcn.1400393f0
movzx eax, byte [rbp + 0xe]
jmp 0x140046b20
lea rcx, [rbp + 0x168]
call fcn.14003f1d0
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0x14], eax
cmp dword [rbp + 0x14], 0
je 0x140046aff
mov byte [rbp + 0xf], 0
lea rcx, [rbp + 0x168]
call fcn.1400393f0
nop
lea rcx, [rbp + 0x188]
call fcn.1400393f0
movzx eax, byte [rbp + 0xf]
jmp 0x140046b20
mov byte [rbp + 0x10], 1
lea rcx, [rbp + 0x168]
call fcn.1400393f0
nop
lea rcx, [rbp + 0x188]
call fcn.1400393f0
movzx eax, byte [rbp + 0x10]
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.140160680
add rsp, 0x208
pop rdi
pop rbp
ret