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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140112070]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xor edi, edi
mov qword [rbp - 0x41], rdi
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 7], dil
lea rdx, [0x1403bffb0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x14005c650
lea rcx, [rbp + 7]
call fcn.140004740
nop
movdqa xmm0, xmmword [0x1401017a0]
movdqu xmmword [rbp - 0x79], xmm0
movdqa xmm1, xmmword [str.__71__]
movdqu xmmword [rbp - 0x69], xmm1
mov dword [rbp - 0x59], 0x1f3026
mov rcx, rdi
nop word [rax + rax]
movzx eax, byte [rbp - 0x79]
xor byte [rbp + rcx - 0x78], al
movzx eax, byte [rbp - 0x79]
xor byte [rbp + rcx - 0x77], al
add rcx, 2
cmp rcx, 0x22
jb 0x14005c690
mov byte [rbp - 0x56], 0
lea r8, [rbp + 7]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x39]
call fcn.14005a2c0
nop
movdqa xmm0, xmmword [0x140101fa0]
movdqu xmmword [rbp - 0x79], xmm0
movdqa xmm1, xmmword [0x140101f60]
movdqu xmmword [rbp - 0x69], xmm1
movdqa xmm0, xmmword [0x140101fe0]
movdqu xmmword [rbp - 0x59], xmm0
mov dword [rbp - 0x49], 0x7462646e
mov word [rbp - 0x45], 0x5b
mov rcx, rdi
nop word [rax + rax]
movzx eax, byte [rbp - 0x79]
xor byte [rbp + rcx - 0x78], al
movzx eax, byte [rbp - 0x79]
xor byte [rbp + rcx - 0x77], al
add rcx, 2
cmp rcx, 0x34
jb 0x14005c700
mov byte [rbp - 0x44], 0
lea r8, [rbp + 7]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x19]
call fcn.14005a2c0
nop
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdx, qword [rbp - 0x39]
lea r8, [rbp - 0x41]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x14005c75b
cmp eax, 2
sete bl
jmp 0x14005c7c0
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x1403bff90]
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
lea rcx, [rbp + 0x27]
call rax
mov r8b, 1
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0x37]
call qword [0x1403bffa8]
lea rcx, [rbp + 0x37]
call qword [0x1403bffa0]
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdx, qword [rbp - 0x39]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x14005c7be
xor bl, bl
jmp 0x14005c7c0
mov bl, 1
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14005c7fb
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c7f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c8b3
call fcn.14006057c
mov qword [rbp - 9], rdi
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14005c842
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c83d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c8b9
call fcn.14006057c
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14005c889
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c8ad
call fcn.14006057c
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140060520
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400a9fac
nop
call fcn.1400a9fac
nop
call fcn.1400a9fac
int3