Function at 0x140006c4c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rbp + 0x2e8], rax
mov rbx, rcx
mov r13d, 9
mov word [rbp + 0x282], r13w
movsd xmm0, qword [str.woxy_s]
movsd qword [rbp + 0x182], xmm0
mov al, byte [0x140012518]
mov byte [rbp + 0x18a], al
mov byte [rbp + 0x18b], 0
mov word [rbp + 0x180], 0xfd06
lea edi, [r13 - 8]
mov byte [rbp + 0x284], dil
lea rcx, [rbp + 0x180]
call fcn.140004c70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov r12d, 0x106
mov r8d, r12d
xor edx, edx
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call fcn.1400012b4
nop
mov r8, rax
lea rcx, [rbp + 0x2b8]
call fcn.140006f7c
nop
lea rcx, [rsp + 0x40]
call fcn.140004d08
lea rdx, [rbp + 0x2b8]
cmp qword [rbp + 0x2d0], 8
cmovae rdx, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [rdi + 0x21]
mov word [rbp + 0x62], ax
movups xmm0, xmmword [str.SZUWIRbJpz]
movups xmmword [rsp + 0x62], xmm0
movups xmm1, xmmword [0x140012530]
movups xmmword [rsp + 0x72], xmm1
movzx eax, word [0x140012540]
mov word [rbp - 0x7e], ax
mov byte [rbp - 0x7c], 0
mov word [rsp + 0x60], 0x101
mov byte [rbp + 0x64], dil
lea rcx, [rsp + 0x60]
call fcn.140004c70
mov r9, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140006d88
mov rdx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x140006f73
cmp qword [rbx + 0x18], 0x10
jb 0x140006db5
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x298]
call fcn.1400062ec
nop
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x298]
cmp qword [rbp + 0x2b0], 0x10
cmovae rdx, qword [rbp + 0x298]
lea r8, [rbp + 0x290]
mov r15, 0xffffffff80000002
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x140006e20
xor edi, edi
cmp eax, 2
sete dil
jmp 0x140006edf
mov rcx, qword [rbp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xe
mov word [rbp + 0x172], ax
movsd xmm0, qword [str.FmOihl_cDskyiw]
movsd qword [rbp + 0x72], xmm0
mov eax, dword [0x140012550]
mov dword [rbp + 0x7a], eax
movzx eax, word [0x140012554]
mov word [rbp + 0x7e], ax
mov byte [rbp + 0x80], 0
mov word [rbp + 0x70], 0x901
mov byte [rbp + 0x174], dil
lea rcx, [rbp + 0x70]
call fcn.140004c70
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x2d8]
call rbx
lea rdx, [rbp + 0x298]
mov rcx, r15
test eax, eax
je 0x140006ec3
cmp qword [rbp + 0x2b0], 0x10
cmovae rdx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
jmp 0x140006edd
cmp qword [rbp + 0x2b0], 0x10
cmovae rdx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
test eax, eax
je 0x140006edf
xor edi, edi
mov rdx, qword [rbp + 0x2b0]
cmp rdx, 0x10
jb 0x140006f23
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006f1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077f0
movdqa xmm0, xmmword [0x140012560]
movdqu xmmword [rbp + 0x2a8], xmm0
mov byte [rbp + 0x298], 0
lea rcx, [rbp + 0x2b8]
call fcn.140004d08
mov eax, edi
mov rcx, qword [rbp + 0x2e8]
xor rcx, rsp
call fcn.1400077d0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1400011ec
nop
int3