Function at 0x14005ed60
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 [0x140091010]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x60], 0xf0ffeef7
mov dword [rsp + 0x64], 0xccfbb0f1
mov word [rsp + 0x68], 0xcd
mov byte [rsp + 0x6a], 1
mov eax, r15d
nop word [rax + rax]
lea ecx, [rax - 0x67]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 9
jb 0x14005edc0
mov byte [rsp + 0x6a], r15b
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14005f2a7
mov dword [rsp + 0x70], 0x41f241c3
mov dword [rsp + 0x74], 0x41c541c4
mov dword [rsp + 0x78], 0x41d741ca
mov dword [rsp + 0x7c], 0x41d441d1
mov dword [rbp - 0x80], 0x41f441de
mov dword [rbp - 0x7c], 0x41cb41e4
mov dword [rbp - 0x78], 0x41c441c8
mov dword [rbp - 0x74], 0x41c041c4
mov dword [rbp - 0x70], 0x41ec41ca
mov dword [rbp - 0x6c], 0x41cb41e2
mov dword [rbp - 0x68], 0x41c041c0
mov dword [rbp - 0x64], 0x41db41d0
mov dword [rbp - 0x60], 0x41fb41eb
mov dword [rbp - 0x5c], 0x41c841cc
mov dword [rbp - 0x58], 0x41d941c9
mov dword [rbp - 0x54], 0x41ca41d3
mov dword [rbp - 0x50], 0x41af41fc
mov dword [rbp - 0x4c], 0x41b641af
mov dword [rbp - 0x48], 0x41ab41b1
mov dword [rbp - 0x44], 0x419541a9
mov dword [rbp - 0x40], 0x41bc41a2
mov dword [rbp - 0x3c], 0x41994195
mov r12d, 0x4199
mov dword [rbp - 0x38], 0x41be41ae
mov dword [rbp - 0x34], 0x41a741bb
mov dword [rbp - 0x30], 0x41b541ac
mov dword [rbp - 0x2c], 0x418e41a2
mov word [rbp - 0x28], r15w
mov byte [rbp - 0x26], 1
mov rcx, r15
mov edx, 0x419f
nop dword [rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x34
jb 0x14005eec0
mov byte [rbp - 0x26], r15b
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14005eee4
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005f2da
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005ef18
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.14005ab50
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], 0x41c341ca
mov dword [rsp + 0x74], 0x41c841c8
mov dword [rsp + 0x78], 0x41d341d8
mov dword [rsp + 0x7c], 0x41e341c3
mov dword [rbp - 0x80], 0x41d041d4
mov dword [rbp - 0x7c], 0x41c141d1
mov dword [rbp - 0x78], 0x41d241cb
mov dword [rbp - 0x74], 0x41c741e4
mov dword [rbp - 0x70], 0x41de41c7
mov dword [rbp - 0x6c], 0x41c341d9
mov dword [rbp - 0x68], 0x41fd41c1
mov dword [rbp - 0x64], 0x41c441ca
mov dword [rbp - 0x60], 0x41e141ed
mov dword [rbp - 0x5c], 0x41c641d6
mov dword [rbp - 0x58], 0x41df41c3
mov dword [rbp - 0x54], 0x41dd41d4
mov dword [rbp - 0x50], 0x41e641ca
mov word [rbp - 0x4c], r15w
mov byte [rbp - 0x4a], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [r12 + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x22
jb 0x14005efe0
mov byte [rbp - 0x4a], 0
lea rax, [rsp + 0x70]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14005f000
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x14005f2d4
cmp qword [rdi + 0x18], 8
jb 0x14005f024
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.14005ab50
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 0x14005f070
cmp eax, 2
sete bl
jmp 0x14005f20c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], 0xccf4d4d1
mov dword [rsp + 0x44], 0xc2c4cbcf
mov dword [rsp + 0x48], 0xdcc0dae3
mov dword [rsp + 0x4c], 0x100dece
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x61]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x14005f0a0
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 [0x140085e80]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xe191c2ca
mov dword [rsp + 0x54], 0xc3c1d5c7
mov dword [rsp + 0x58], 0xc28998c4
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 0x14005f100
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.14005a0b0
lea rdx, [0x14004caa0]
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, [0x140055d50]
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 0x14005f1e7
movdqa xmm0, xmmword [0x140085dc0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xcded8acd
mov dword [rsp + 0x54], 0xd4cac2c4
mov dword [rsp + 0x58], 0x1009390
mov r8, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x67]
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0x1a
jb 0x14005f190
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.14005a0b0
lea rdx, [0x140055d50]
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 0x14005f20c
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 0x14005f20a
xor bl, bl
jmp 0x14005f20c
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005f24f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f24a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f24a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b0
movdqa xmm0, xmmword [0x140085b20]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14005f2a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f29f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f29f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b0
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400726c0
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.14004c9c0
nop
call fcn.14004c9c0
int3