Function at 0x1400c1640
Capabilities:
Delete registry key
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14017c080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rcx
xor ebx, ebx
movsd xmm0, qword [str.WN_PQ]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140167160]
mov word [rsp + 0x48], ax
cmp byte [0x140167161], bl
je 0x1400c16d7
mov byte [rsp + 0x40], WSAGetLastError
xor byte [rsp + 0x41], 0x3a
xor byte [rsp + 0x42], 0x3b
xor byte [rsp + 0x43], 0x3c
xor byte [rsp + 0x44], 0x3d
xor byte [rsp + 0x45], 0x3e
xor byte [rsp + 0x46], 0x3f
xor byte [rsp + 0x47], 0x40
xor byte [rsp + 0x48], 0x41
xor byte [rsp + 0x49], 0x42
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rsp + 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x1400c16f5
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400ba720
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rax
lea rcx, [rbp - 0x68]
call fcn.1400ba460
test r15, r15
jne 0x1400c1738
xor al, al
jmp 0x1400c1cd5
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400c174b
add r8, qword [rsi]
mov rdx, qword [rsi]
jmp 0x1400c1751
add r8, rsi
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.1400c1f10
nop
lea r8, [rbp - 0x40]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x50]
call fcn.1400bec10
mov r14, rax
lea rax, [rbp - 0x40]
cmp rax, r14
je 0x1400c17f1
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400c17bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c17ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c17ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140145dc0
movdqa xmm0, xmmword [0x140169980]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], bx
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 7
mov word [r14], bx
lea rcx, [rsp + 0x50]
call fcn.1400be9f0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
lea rcx, [rbp]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
movups xmm0, xmmword [str.jchhxsc]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140167118]
movups xmmword [rbp - 0x80], xmm1
movzx eax, word [0x140167128]
mov word [rbp - 0x70], ax
movzx eax, byte [0x14016712a]
mov byte [rbp - 0x6e], al
mov r8d, ebx
mov r12d, 4
lea r13d, [r12 + 0x1b]
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x1400c19a3
movdqa xmm5, xmmword [0x1401699e0]
movdqa xmm4, xmmword [0x140169ab0]
movd xmm6, r12d
movdqa xmm7, xmmword [0x140169a00]
movd xmm8, r13d
movdqa xmm0, xmmword [0x140169a30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140169a10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140169a10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1400c18a0
cmp r8d, 0x23
jge 0x1400c19e0
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x23
jl 0x1400c19b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400c1a00
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400ba720
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov rcx, rdi
nop
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1400c1a30
mov rdx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x1400c1d11
cmp qword [rsi + 0x18], 0x10
jb 0x1400c1a5e
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.1400c23c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400ba460
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
lea r8, [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1400c1aaf
cmp eax, 2
sete bl
jmp 0x1400c1cbf
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [str.wNnRQQ_]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140167100]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140167104]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x140167106]
mov byte [rsp + 0x4e], al
cmp r14d, 2
jl 0x1400c1bf9
movdqa xmm4, xmmword [0x140169ab0]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x1401699e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140169a00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140169a10]
packuswb xmm2, xmm2
mov eax, dword [0x140169a30]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.wNnRQQ_]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x1401699f0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140169a00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140169a10]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xf
jl 0x1400c1c10
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x40]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400c1c52
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400ba720
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.1400ba460
lea rcx, [rbp]
call rbx
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x1400c1cbd
xor bl, bl
jmp 0x1400c1cbf
mov bl, 1
lea rcx, [rbp - 0x20]
call fcn.1400ba460
nop
lea rcx, [rbp - 0x40]
call fcn.1400be9f0
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140145cd0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400b9980
nop
int3