Function at 0x1800056d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x68], 0
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x180005718
mov rdx, qword [rcx]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x80]
call fcn.180001c90
nop
lea rdx, [0x1800085d4]
lea rcx, [rbp - 0x70]
call fcn.180002300
mov rcx, rax
lea rdx, str.twar
call fcn.180002300
mov rcx, rax
lea rdx, str.eCl
call fcn.180002300
mov rcx, rax
lea rdx, [0x180008634]
call fcn.180002300
mov rcx, rax
lea rdx, [0x180008630]
call fcn.180002300
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180005799
mov rdi, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x180008b00]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x68], 2
movups xmmword [rsp + 0x50], xmm0
mov rcx, qword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800057ee
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x1800057ee
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x18000581f
test cl, 4
jne 0x180005815
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x180005815
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x18000581f
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x18000582f
lea rcx, [rsp + 0x30]
call fcn.1800021a0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180005872
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800058b3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800058ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800058ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800028ac
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x68]
call fcn.180001bd0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18000592d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180005928
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005964
mov rcx, r8
call fcn.1800028ac
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180002850
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3