Function at 0x140043b60
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 [0x1400d0080]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x40], 0xb6bdacb9
mov dword [rsp + 0x44], 0xb2b9f2b7
mov word [rsp + 0x48], 0xb3
mov byte [rsp + 0x4a], 1
mov eax, r15d
nop word [rax + rax]
lea ecx, [rax - 0x29]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp rax, 9
jb 0x140043bc0
mov byte [rsp + 0x4a], r15b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x140044015
mov dword [rsp + 0x70], 0x158f1580
mov dword [rsp + 0x74], 0x15b815bb
mov dword [rsp + 0x78], 0x15921589
mov dword [rsp + 0x7c], 0x15911596
mov dword [rbp - 0x80], 0x15b9159d
mov dword [rbp - 0x7c], 0x158615ab
mov dword [rbp - 0x78], 0x1581158b
mov dword [rbp - 0x74], 0x15851583
mov dword [rbp - 0x70], 0x15b11589
mov dword [rbp - 0x6c], 0x159615bd
mov dword [rbp - 0x68], 0x15851583
mov dword [rbp - 0x64], 0x159e1597
mov dword [rbp - 0x60], 0x15b615a8
mov dword [rbp - 0x5c], 0x15851583
mov dword [rbp - 0x58], 0x159c158a
mov dword [rbp - 0x54], 0x158f1594
mov dword [rbp - 0x50], 0x159215bf
mov dword [rbp - 0x4c], 0x158b1590
mov dword [rbp - 0x48], 0x166e1672
mov dword [rbp - 0x44], 0x1650166e
mov dword [rbp - 0x40], 0x16711661
mov dword [rbp - 0x3c], 0x1654165a
mov dword [rbp - 0x38], 0x167b166d
mov dword [rbp - 0x34], 0x1662167c
mov dword [rbp - 0x30], 0x1668166f
mov dword [rbp - 0x2c], 0x1653167d
mov word [rbp - 0x28], r15w
mov byte [rbp - 0x26], 1
mov rcx, r15
mov edx, 0x15dc
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x34
jb 0x140043cc0
mov byte [rbp - 0x26], r15b
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x140043ce4
mov rdx, qword [rdi + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x140044048
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140043d18
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.14003fe90
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], 0x15811584
mov dword [rsp + 0x74], 0x158e158a
mov dword [rsp + 0x78], 0x1591159e
mov dword [rsp + 0x7c], 0x159d1581
mov dword [rbp - 0x80], 0x159215aa
mov dword [rbp - 0x7c], 0x15871593
mov dword [rbp - 0x78], 0x1590158d
mov dword [rbp - 0x74], 0x158915a6
mov dword [rbp - 0x70], 0x159c1589
mov dword [rbp - 0x6c], 0x1585159b
mov dword [rbp - 0x68], 0x15bf1587
mov dword [rbp - 0x64], 0x159a1588
mov dword [rbp - 0x60], 0x15a315b3
mov dword [rbp - 0x5c], 0x15801594
mov dword [rbp - 0x58], 0x159d1585
mov dword [rbp - 0x54], 0x15931596
mov dword [rbp - 0x50], 0x15a41584
mov word [rbp - 0x4c], r15w
mov byte [rbp - 0x4a], 1
mov rcx, r15
mov edx, 0x15d7
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x70], ax
inc rcx
cmp rcx, 0x22
jb 0x140043de0
mov byte [rbp - 0x4a], 0
lea rax, [rsp + 0x70]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140043e00
mov rax, qword [rdi + 0x10]
sub rsi, rax
cmp rsi, rbx
jb 0x140044042
cmp qword [rdi + 0x18], 7
jbe 0x140043e24
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.14003fe90
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 0x140043e70
cmp eax, 2
sete bl
jmp 0x140043f7a
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x50], 0xb18ba992
mov dword [rsp + 0x54], 0x87838e8c
mov dword [rsp + 0x58], 0x918f97a0
mov dword [rsp + 0x5c], 0x1009b8d
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xe
jb 0x140043ea0
mov byte [rsp + 0x5f], 0
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x28]
call rax
test eax, eax
je 0x140043f55
movdqa xmm0, xmmword [0x1400c41d0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x8ea8cd88
mov dword [rsp + 0x64], 0x97979d99
mov dword [rsp + 0x68], 0x100d4d5
mov rdx, r15
nop word [rax + rax]
lea eax, [rdx - 0x24]
xor byte [rsp + rdx + 0x50], al
inc rdx
cmp rdx, 0x1a
jb 0x140043f00
mov byte [rsp + 0x6b], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140044050
lea rdx, [0x14003b610]
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 0x140043f7a
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 0x140043f78
xor bl, bl
jmp 0x140043f7a
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140043fbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043fb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043fb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
movdqa xmm0, xmmword [0x1400c40c0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140044012
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004400d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004400d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400a9330
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.1400331f0
nop
call fcn.1400331f0
int3