Function at 0x14005dbc0
Capabilities:
Delete registry key
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rcx
mov dword [rsp + 0x60], 0x171e0d16
mov dword [rsp + 0x64], 0x131a5310
mov word [rsp + 0x68], 0xec
mov byte [rsp + 0x6a], 1
xor r15d, r15d
mov eax, r15d
nop word [rax + rax]
lea ecx, [rax + 0x78]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 9
jb 0x14005dc20
mov byte [rsp + 0x6a], r15b
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14005e116
mov dword [rsp + 0x70], 0xc62fc620
mov dword [rsp + 0x74], 0xc618c61b
mov dword [rsp + 0x78], 0xc6f2c6e9
mov dword [rsp + 0x7c], 0xc6f1c6f6
mov dword [rbp - 0x80], 0xc6d9c6fd
mov dword [rbp - 0x7c], 0xc6e6c6cb
mov dword [rbp - 0x78], 0xc6e1c6eb
mov dword [rbp - 0x74], 0xc6e5c6e3
mov dword [rbp - 0x70], 0xc6d1c6e9
mov dword [rbp - 0x6c], 0xc6f6c6dd
mov dword [rbp - 0x68], 0xc6e5c6e3
mov dword [rbp - 0x64], 0xc6fec6f7
mov dword [rbp - 0x60], 0xc6d6c6c8
mov dword [rbp - 0x5c], 0xc6e5c6e3
mov dword [rbp - 0x58], 0xc6fcc6ea
mov dword [rbp - 0x54], 0xc6efc6f4
mov dword [rbp - 0x50], 0xc6f2c6df
mov dword [rbp - 0x4c], 0xc6ebc6f0
mov dword [rbp - 0x48], 0xc6cec6d2
mov dword [rbp - 0x44], 0xc6f0c6ce
mov dword [rbp - 0x40], 0xc6d1c6c1
mov dword [rbp - 0x3c], 0xc6f4c6fa
mov dword [rbp - 0x38], 0xc6dbc6cd
mov dword [rbp - 0x34], 0xc6c2c6dc
mov dword [rbp - 0x30], 0xc6c8c6cf
mov dword [rbp - 0x2c], 0xc6f3c6dd
mov word [rbp - 0x28], r15w
mov byte [rbp - 0x26], 1
mov rcx, r15
mov edx, 0x3984
nop word [rax + rax]
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x34
jb 0x14005dd20
mov byte [rbp - 0x26], r15b
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14005dd50
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005e149
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005dd84
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.140059c90
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
lea rcx, [rbp + 0x28]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x70], 0xc620c62b
mov dword [rsp + 0x74], 0xc62fc629
mov dword [rsp + 0x78], 0xc630c639
mov dword [rsp + 0x7c], 0xc63cc622
mov dword [rbp - 0x80], 0xc6f3c6f5
mov dword [rbp - 0x7c], 0xc6e6c6f0
mov dword [rbp - 0x78], 0xc6f1c6ea
mov dword [rbp - 0x74], 0xc6e8c6c5
mov dword [rbp - 0x70], 0xc6fdc6e6
mov dword [rbp - 0x6c], 0xc6e4c6f8
mov dword [rbp - 0x68], 0xc6dec6e0
mov dword [rbp - 0x64], 0xc6fbc6eb
mov dword [rbp - 0x60], 0xc6c2c6cc
mov dword [rbp - 0x5c], 0xc6e1c6f7
mov dword [rbp - 0x58], 0xc6fcc6e2
mov dword [rbp - 0x54], 0xc6f2c6f5
mov dword [rbp - 0x50], 0xc6c5c6eb
mov word [rbp - 0x4c], r15w
mov byte [rbp - 0x4a], 1
mov rcx, r15
mov edx, 0x3988
nop word [rax + rax]
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x22
jb 0x14005de50
mov byte [rbp - 0x4a], 0
lea rax, [rsp + 0x70]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14005de70
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x14005e143
cmp qword [rdi + 0x18], 8
jb 0x14005de94
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.140059c90
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14005dee0
cmp eax, 2
sete bl
jmp 0x14005e07c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], 0x112b0932
mov dword [rsp + 0x44], 0xe7e3eeec
mov dword [rsp + 0x48], 0xf1eff7c0
mov dword [rsp + 0x4c], 0x100fbed
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x7c]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x14005df10
mov byte [rsp + 0x4f], 0
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x28]
call rax
mov ebx, eax
movdqa xmm0, xmmword [str.V_]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xdcaeffe9
mov dword [rsp + 0x54], 0xe6e6f0e4
mov dword [rsp + 0x58], 0xefa6b5e7
mov word [rsp + 0x5c], 0x100
mov rdx, r15
nop dword [rax + rax]
lea eax, [rdx + 0x7c]
xor byte [rsp + rdx + 0x40], al
inc rdx
cmp rdx, 0x1c
jb 0x14005df70
mov byte [rsp + 0x5d], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140070250]
call fcn.140059170
lea rdx, [0x14004bb60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
test ebx, ebx
je 0x14005e057
movdqa xmm0, xmmword [str.T_8]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xeacca9ec
mov dword [rsp + 0x54], 0xebebe1e5
mov dword [rsp + 0x58], 0x100b0b1
mov r8, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 0x78]
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0x1a
jb 0x14005e000
mov byte [rsp + 0x5b], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140070250]
call fcn.140059170
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x14005e07c
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14005e07a
xor bl, bl
jmp 0x14005e07c
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005e0bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e0ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e0ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d350
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14005e113
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e10e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e10e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d350
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14006d260
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004ba80
nop
call fcn.14004ba80
int3