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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push r15
sub rsp, 0x120
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18013a080]
xor rax, rsp
mov qword [rsp + 0x108], rax
xor esi, esi
xorps xmm0, xmm0
movups xmmword [r11 - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x58], xmm1
lea r8d, [rsi + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x68]
call fcn.18005a420
nop
lea rdi, [0x1801f9bf8]
mov rdx, rdi
lea rcx, [rsp + 0xc0]
call fcn.180079d70
mov r14d, 4
mov ebx, dword [0x1801faecc]
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbx*8]
mov eax, dword [r14 + rcx]
cmp dword [0x1801fba18], eax
jle 0x18005a9bf
lea rcx, [0x1801fba18]
call fcn.1800e65b0
cmp dword [0x1801fba18], 0xffffffff
jne 0x18005a9bf
movsd xmm0, qword [str.yLlTWSZ2_46E]
movsd qword [rsp + 0x90], xmm0
mov eax, dword [0x180120620]
mov dword [rsp + 0x98], eax
movzx eax, word [0x180120624]
mov word [rsp + 0x9c], ax
movzx eax, byte [0x180120626]
mov byte [rsp + 0x9e], al
mov ecx, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18005a948
movdqa xmm4, xmmword [0x180127d60]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x180127970]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801279b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, dword [str.yLlTWSZ2_46E]
xorps xmm2, xmm0
movd dword [rsp + 0x90], xmm2
movdqa xmm3, xmmword [0x180127990]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801279b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
movd xmm0, dword [rsp + 0x94]
xorps xmm2, xmm0
movd dword [rsp + 0x94], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x90]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x18005a960
lea rcx, [0x18011d9e8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801fb900], rax
lea rcx, [0x1801fba18]
call fcn.1800e6544
cmp qword [0x1801fb900], 0
je 0x18005ade6
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0x10
cmovae rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xf0]
call qword [0x1801fb900]
mov r15d, eax
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x68]
call fcn.1800470d0
nop
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x18005aa3b
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
call fcn.1800e782c
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm0
lea r8, [rsp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.18007fa70
nop
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180079d70
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18005ab08
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ab03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ab03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
movdqa xmm0, xmmword [0x180127910]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x18005ab63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ab5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ab5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
movdqa xmm0, xmmword [0x1801278f0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbx*8]
mov eax, dword [r14 + rcx]
cmp dword [0x1801fb78c], eax
jle 0x18005abf0
lea rcx, [0x1801fb78c]
call fcn.1800e65b0
cmp dword [0x1801fb78c], 0xffffffff
jne 0x18005abf0
xorps xmm0, xmm0
movups xmmword [0x1801fb7c0], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1801fb7d0], xmm1
mov r8d, Ordinal_35
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x1801fb7c0]
mov rcx, rbx
call fcn.18005a420
lea rcx, [0x1800ea3f0]
call fcn.1800e6c2c
nop
lea rcx, [0x1801fb78c]
call fcn.1800e6544
jmp 0x18005abf7
lea rbx, [0x1801fb7c0]
cmp qword [0x1801fb7d8], 0x10
cmovae rbx, qword [0x1801fb7c0]
lea r8, [rsp + 0x90]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [0x1801f9bf8]
mov rdx, rdi
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x18005ac5b
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x18005ac5b
mov r14b, 1
jmp 0x18005ac5e
xor r14b, r14b
mov byte [rsp + 0x20], r14b
mov rdi, qword [rsp + 0xb0]
lea rbx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rbx, qword [rsp + 0xa0]
call fcn.1800e782c
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rdi
lea r8, [rsp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1800465a0
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call fcn.1800e7bb8
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18005ae61
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18005ad1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ad14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ad14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
nop
jmp 0x18005ad29
test r15d, r15d
jne 0x18005ad37
test r14b, r14b
je 0x18005ad37
mov bl, 1
jmp 0x18005ad39
xor bl, bl
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x18005ad7f
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ad7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ad7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xa0], 0
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0x10
jb 0x18005ade1
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005addc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005addc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
movzx eax, bl
jmp 0x18005ae2e
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0x10
jb 0x18005ae2c
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ae27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ae27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
xor al, al
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1800e63a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
ret
shr rdx, 0x20
lea r8, [rsp + 0x28]
lea rcx, str.remove
call fcn.180046e00
int3