Function at 0x14005dc10
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], 0xbcabbaa3
mov dword [rsp + 0x64], 0xb8b7fcbd
mov word [rsp + 0x68], 0xb9
mov byte [rsp + 0x6a], 1
xor r15d, r15d
mov eax, r15d
nop word [rax + rax]
lea ecx, [rax - 0x33]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 9
jb 0x14005dc70
mov byte [rsp + 0x6a], r15b
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14005e166
mov dword [rsp + 0x70], 0xc580c58d
mov dword [rsp + 0x74], 0xc5b3c5b6
mov dword [rsp + 0x78], 0xc5a5c5bc
mov dword [rsp + 0x7c], 0xc5aac5a3
mov dword [rbp - 0x80], 0xc586c5a0
mov dword [rbp - 0x7c], 0xc5bdc596
mov dword [rbp - 0x78], 0xc5b6c5be
mov dword [rbp - 0x74], 0xc58ec5b6
mov dword [rbp - 0x70], 0xc5bec584
mov dword [rbp - 0x6c], 0xc59dc5b0
mov dword [rbp - 0x68], 0xc592c596
mov dword [rbp - 0x64], 0xc585c582
mov dword [rbp - 0x60], 0xc5a9c5b5
mov dword [rbp - 0x5c], 0xc59ec59e
mov dword [rbp - 0x58], 0xc58bc59f
mov dword [rbp - 0x54], 0xc584c581
mov dword [rbp - 0x50], 0xc59dc5b2
mov dword [rbp - 0x4c], 0xc580c59d
mov dword [rbp - 0x48], 0xc599c587
mov dword [rbp - 0x44], 0xc5abc59b
mov dword [rbp - 0x40], 0xc58ec59c
mov dword [rbp - 0x3c], 0xc5afc5a7
mov dword [rbp - 0x38], 0xc58cc598
mov dword [rbp - 0x34], 0xc669c589
mov dword [rbp - 0x30], 0xc667c662
mov dword [rbp - 0x2c], 0xc658c670
mov word [rbp - 0x28], r15w
mov byte [rbp - 0x26], 1
mov rcx, r15
mov edx, 0x3a2f
nop word [rax + rax]
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x34
jb 0x14005dd70
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 0x14005dda0
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005e199
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005ddd4
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.140059d00
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], 0xc597c59e
mov dword [rsp + 0x74], 0xc584c59c
mov dword [rsp + 0x78], 0xc59fc594
mov dword [rsp + 0x7c], 0xc597c58f
mov dword [rbp - 0x80], 0xc5a4c5a0
mov dword [rbp - 0x7c], 0xc5bdc5a5
mov dword [rbp - 0x78], 0xc5aec5b7
mov dword [rbp - 0x74], 0xc5b3c598
mov dword [rbp - 0x70], 0xc5aac5b3
mov dword [rbp - 0x6c], 0xc58fc5ad
mov dword [rbp - 0x68], 0xc5b1c58d
mov dword [rbp - 0x64], 0xc590c586
mov dword [rbp - 0x60], 0xc5b5c5b9
mov dword [rbp - 0x5c], 0xc59ac582
mov dword [rbp - 0x58], 0xc583c59f
mov dword [rbp - 0x54], 0xc589c588
mov dword [rbp - 0x50], 0xc5b2c59e
mov word [rbp - 0x4c], r15w
mov byte [rbp - 0x4a], 1
mov rcx, r15
mov edx, 0x3a33
nop word [rax + rax]
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x22
jb 0x14005dea0
mov byte [rbp - 0x4a], 0
lea rax, [rsp + 0x70]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14005dec0
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x14005e193
cmp qword [rdi + 0x18], 8
jb 0x14005dee4
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.140059d00
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 0x14005df30
cmp eax, 2
sete bl
jmp 0x14005e0cc
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], 0xba86a69f
mov dword [rsp + 0x44], 0xbcb6b9b9
mov dword [rsp + 0x48], 0xaab2a89d
mov dword [rsp + 0x4c], 0x100acb8
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x2f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x14005df60
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 [0x140088230]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xb7c39084
mov dword [rsp + 0x54], 0x9d938791
mov dword [rsp + 0x58], 0x94dbca9a
mov word [rsp + 0x5c], 0x100
mov rdx, r15
nop dword [rax + rax]
lea eax, [rdx - 0x2f]
xor byte [rsp + rdx + 0x40], al
inc rdx
cmp rdx, 0x1c
jb 0x14005dfc0
mov byte [rsp + 0x5d], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400591e0
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, [0x140054d80]
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 0x14005e0a7
movdqa xmm0, xmmword [0x140088320]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x8199feb9
mov dword [rsp + 0x54], 0x80868e88
mov dword [rsp + 0x58], 0x100c7c4
mov r8, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x33]
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0x1a
jb 0x14005e050
mov byte [rsp + 0x5b], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400591e0
lea rdx, [0x140054d80]
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 0x14005e0cc
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 0x14005e0ca
xor bl, bl
jmp 0x14005e0cc
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005e10f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e10a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e10a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cbc0
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14005e163
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e15e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e15e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cbc0
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14006cad0
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