Function at 0x14005da80
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 [0x140092010]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rcx
mov dword [rsp + 0x60], 0x8887968f
mov dword [rsp + 0x64], 0x8483c889
mov word [rsp + 0x68], 0x85
mov byte [rsp + 0x6a], 1
xor r15d, r15d
mov eax, r15d
nop word [rax + rax]
lea ecx, [rax - 0x1f]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 9
jb 0x14005dae0
mov byte [rsp + 0x6a], r15b
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14005dfc6
mov dword [rsp + 0x70], 0x4eb44eb9
mov dword [rsp + 0x74], 0x4e8f4e82
mov dword [rsp + 0x78], 0x4e994e80
mov dword [rsp + 0x7c], 0x4e9e4e9f
mov dword [rbp - 0x80], 0x4eb24e94
mov dword [rbp - 0x7c], 0x4e914ea2
mov dword [rbp - 0x78], 0x4e9a4e92
mov dword [rbp - 0x74], 0x4e9a4e9a
mov dword [rbp - 0x70], 0x4eaa4e90
mov dword [rbp - 0x6c], 0x4e814ea4
mov dword [rbp - 0x68], 0x4e8e4e8a
mov dword [rbp - 0x64], 0x4e914e9e
mov dword [rbp - 0x60], 0x4ebd4ea1
mov dword [rbp - 0x5c], 0x4f724e8a
mov dword [rbp - 0x58], 0x4f674f73
mov dword [rbp - 0x54], 0x4f704f6d
mov dword [rbp - 0x50], 0x4f694f46
mov dword [rbp - 0x4c], 0x4f7c4f69
mov dword [rbp - 0x48], 0x4f654f7b
mov dword [rbp - 0x44], 0x4f5f4f67
mov dword [rbp - 0x40], 0x4f7a4f68
mov dword [rbp - 0x3c], 0x4f434f53
mov dword [rbp - 0x38], 0x4f604f74
mov dword [rbp - 0x34], 0x4f7d4f65
mov dword [rbp - 0x30], 0x4f734f76
mov dword [rbp - 0x2c], 0x4f444f64
mov word [rbp - 0x28], r15w
mov byte [rbp - 0x26], 1
mov rcx, r15
mov edx, 0x4ee5
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x34
jb 0x14005dbe0
mov byte [rbp - 0x26], r15b
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14005dc04
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005dff9
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005dc38
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.140059bb0
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], 0x4ebb4eb2
mov dword [rsp + 0x74], 0x4eb04eb0
mov dword [rsp + 0x78], 0x4eab4ea0
mov dword [rsp + 0x7c], 0x4eab4ebb
mov dword [rbp - 0x80], 0x4e984e9c
mov dword [rbp - 0x7c], 0x4e894e99
mov dword [rbp - 0x78], 0x4e9a4e83
mov dword [rbp - 0x74], 0x4e9f4eac
mov dword [rbp - 0x70], 0x4e864e9f
mov dword [rbp - 0x6c], 0x4e9b4e81
mov dword [rbp - 0x68], 0x4ea54e99
mov dword [rbp - 0x64], 0x4e8c4e92
mov dword [rbp - 0x60], 0x4ea94ea5
mov dword [rbp - 0x5c], 0x4e8e4e9e
mov dword [rbp - 0x58], 0x4e974e8b
mov dword [rbp - 0x54], 0x4f654e9c
mov dword [rbp - 0x50], 0x4f5e4f72
mov word [rbp - 0x4c], r15w
mov byte [rbp - 0x4a], 1
mov rcx, r15
mov edx, 0x4ee1
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x22
jb 0x14005dd00
mov byte [rbp - 0x4a], 0
lea rax, [rsp + 0x70]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14005dd20
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x14005dff3
cmp qword [rdi + 0x18], 8
jb 0x14005dd44
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.140059bb0
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 0x14005dd90
cmp eax, 2
sete bl
jmp 0x14005df2c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], 0x86b292ab
mov dword [rsp + 0x44], 0x888a8585
mov dword [rsp + 0x48], 0x86869ca9
mov dword [rsp + 0x4c], 0x1008094
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x1b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x14005ddc0
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 [0x140087270]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xabd78490
mov dword [rsp + 0x54], 0x898f9b8d
mov dword [rsp + 0x58], 0x78cfde8e
mov word [rsp + 0x5c], 0x100
mov rdx, r15
nop dword [rax + rax]
lea eax, [rdx - 0x1b]
xor byte [rsp + rdx + 0x40], al
inc rdx
cmp rdx, 0x1c
jb 0x14005de20
mov byte [rsp + 0x5d], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14006f250]
call fcn.140059090
lea rdx, [0x14004bb50]
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, [0x140054c90]
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 0x14005df07
movdqa xmm0, xmmword [0x140087290]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x95b5d295
mov dword [rsp + 0x54], 0x9c929a9c
mov dword [rsp + 0x58], 0x100dbd8
mov r8, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x1f]
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0x1a
jb 0x14005deb0
mov byte [rsp + 0x5b], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14006f250]
call fcn.140059090
lea rdx, [0x140054c90]
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 0x14005df2c
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 0x14005df2a
xor bl, bl
jmp 0x14005df2c
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005df6f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005df6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005df6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c720
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14005dfc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dfbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dfbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c720
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14006c630
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.14004ba70
nop
call fcn.14004ba70
int3