Function at 0x14005da90
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], 0xc3b2a33
mov dword [rsp + 0x64], 0x8074c0d
mov word [rsp + 0x68], 9
mov byte [rsp + 0x6a], 1
xor r15d, r15d
mov eax, r15d
nop word [rax + rax]
lea ecx, [rax + 0x5d]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 9
jb 0x14005daf0
mov byte [rsp + 0x6a], r15b
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14005dfd6
mov dword [rsp + 0x70], 0x1630163d
mov dword [rsp + 0x74], 0x16031606
mov dword [rsp + 0x78], 0x1615160c
mov dword [rsp + 0x7c], 0x161a1613
mov dword [rbp - 0x80], 0x16361610
mov dword [rbp - 0x7c], 0x160d1626
mov dword [rbp - 0x78], 0x1606160e
mov dword [rbp - 0x74], 0x161e1606
mov dword [rbp - 0x70], 0x162e1614
mov dword [rbp - 0x6c], 0x160d1620
mov dword [rbp - 0x68], 0x16021606
mov dword [rbp - 0x64], 0x16151612
mov dword [rbp - 0x60], 0x16391625
mov dword [rbp - 0x5c], 0x160e160e
mov dword [rbp - 0x58], 0x161b160f
mov dword [rbp - 0x54], 0x16f41611
mov dword [rbp - 0x50], 0x16ed16c2
mov dword [rbp - 0x4c], 0x16f016ed
mov dword [rbp - 0x48], 0x16e916f7
mov dword [rbp - 0x44], 0x16db16eb
mov dword [rbp - 0x40], 0x16fe16ec
mov dword [rbp - 0x3c], 0x16df16d7
mov dword [rbp - 0x38], 0x16fc16e8
mov dword [rbp - 0x34], 0x16f916f9
mov dword [rbp - 0x30], 0x16f716f2
mov dword [rbp - 0x2c], 0x16c816e0
mov word [rbp - 0x28], r15w
mov byte [rbp - 0x26], 1
mov rcx, r15
mov edx, 0x1661
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x34
jb 0x14005dbf0
mov byte [rbp - 0x26], r15b
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14005dc14
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005e009
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005dc48
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.140059bc0
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], 0x1607160e
mov dword [rsp + 0x74], 0x1634160c
mov dword [rsp + 0x78], 0x162f1624
mov dword [rsp + 0x7c], 0x1627163f
mov dword [rbp - 0x80], 0x16141610
mov dword [rbp - 0x7c], 0x160d1615
mov dword [rbp - 0x78], 0x161e1607
mov dword [rbp - 0x74], 0x16031628
mov dword [rbp - 0x70], 0x161a1603
mov dword [rbp - 0x6c], 0x161f161d
mov dword [rbp - 0x68], 0x1621161d
mov dword [rbp - 0x64], 0x16001616
mov dword [rbp - 0x60], 0x16251629
mov dword [rbp - 0x5c], 0x160a1612
mov dword [rbp - 0x58], 0x1613160f
mov dword [rbp - 0x54], 0x16191618
mov dword [rbp - 0x50], 0x1622160e
mov word [rbp - 0x4c], r15w
mov byte [rbp - 0x4a], 1
mov rcx, r15
mov edx, 0x165d
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x22
jb 0x14005dd10
mov byte [rbp - 0x4a], 0
lea rax, [rsp + 0x70]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14005dd30
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x14005e003
cmp qword [rdi + 0x18], 8
jb 0x14005dd54
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.140059bc0
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 0x14005dda0
cmp eax, 2
sete bl
jmp 0x14005df3c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], 0xa36162f
mov dword [rsp + 0x44], 0xc060909
mov dword [rsp + 0x48], 0x1a02182d
mov dword [rsp + 0x4c], 0x1001c08
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x61]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x14005ddd0
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.:I_D]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x27530014
mov dword [rsp + 0x54], 0xd031701
mov dword [rsp + 0x58], 0x44b5a0a
mov word [rsp + 0x5c], 0x100
mov rdx, r15
nop dword [rax + rax]
lea eax, [rdx + 0x61]
xor byte [rsp + rdx + 0x40], al
inc rdx
cmp rdx, 0x1c
jb 0x14005de30
mov byte [rsp + 0x5d], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140070250]
call fcn.1400590a0
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, [0x140054ca0]
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 0x14005df17
movdqa xmm0, xmmword [0x1400879b0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x11294e09
mov dword [rsp + 0x54], 0x10161e18
mov dword [rsp + 0x58], 0x1005754
mov r8, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 0x5d]
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0x1a
jb 0x14005dec0
mov byte [rsp + 0x5b], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140070250]
call fcn.1400590a0
lea rdx, [0x140054ca0]
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 0x14005df3c
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 0x14005df3a
xor bl, bl
jmp 0x14005df3c
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005df7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005df7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005df7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cef0
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14005dfd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dfce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dfce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cef0
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14006ce00
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