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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
movups xmm3, xmmword [str.eXMMZNXbz_v]
xor ebx, ebx
mov eax, dword [0x1400f3090]
movsd xmm0, qword [0x1400f3088]
cmp word [0x1400f3092], bx
mov edi, dword [reloc.WS2_32.dll_accept]
movups xmmword [rsp + 0x50], xmm3
mov dword [rsp + 0x68], eax
movsd qword [rsp + 0x60], xmm0
je 0x14003d828
mov r8d, ebx
cmp edi, 2
jl 0x14003d7d9
movdqa xmm2, xmmword [0x1400f3370]
mov r8d, 8
movdqa xmm4, xmmword [0x1400f3440]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f33a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400f3390]
paddw xmm2, xmmword [0x1400f33b0]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x50], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f33a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x58]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400f33b0]
xorps xmm2, xmm0
movq qword [rsp + 0x58], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x50]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x14003d7f0
mov qword [rsp + 0x40], rbx
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14003db86
movsd xmm0, qword [0x1400f3068]
mov eax, ebx
cmp byte [reloc.WS2_32.dll_accept], al
movaps xmmword [rsp + 0x290], xmm7
movups xmm7, xmmword [str.dRUWYYOrP__C]
setne al
cmp word [0x1400f3072], bx
movsd qword [rsp + 0x60], xmm0
mov dword [rbp + 0x1b0], eax
mov eax, dword [0x1400f3070]
mov dword [rsp + 0x68], eax
movups xmmword [rsp + 0x50], xmm7
je 0x14003d9f3
cmp edi, 2
jl 0x14003d9ae
movdqa xmm2, xmmword [0x1400f3370]
mov ebx, 8
movdqa xmm4, xmmword [0x1400f3440]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f33a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x1400f33b0]
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400f3390]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x50], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f33a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x1400f33b0]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x58]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x58], xmm3
movsxd rax, ebx
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x36
xor word [r8 - 2], ax
cmp ebx, 0xe
jl 0x14003d9c0
mov rcx, qword [rbp + 0x1b8]
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x50]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [reloc.WS2_32.dll_accept], 0
movaps xmm7, xmmword [rsp + 0x290]
je 0x14003db79
lea rax, [rbp - 0x70]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [0x140117dd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, byte [rbp - 0x70]
lea rdx, [rsp + 0x70]
movups xmm0, xmmword [str.zX_PTpYD_]
mov byte [rsp + 0x50], al
mov ecx, Ordinal_79
movzx eax, byte [rbp - 0x6e]
xor r8d, r8d
mov byte [rsp + 0x51], al
movzx eax, byte [rbp - 0x6c]
mov byte [rsp + 0x52], al
lea r9d, [rcx - 0x49]
movzx eax, byte [rbp - 0x6a]
mov byte [rsp + 0x53], al
movzx eax, byte [rbp - 0x68]
mov byte [rsp + 0x54], al
movzx eax, byte [rbp - 0x66]
mov byte [rsp + 0x55], al
movzx eax, byte [rbp - 0x64]
mov byte [rsp + 0x56], al
movzx eax, byte [rbp - 0x62]
mov byte [rsp + 0x57], al
movzx eax, byte [rbp - 0x60]
mov byte [rsp + 0x58], al
movzx eax, byte [rbp - 0x5e]
mov byte [rsp + 0x59], al
movzx eax, byte [rbp - 0x5c]
mov byte [rsp + 0x5a], al
movzx eax, byte [rbp - 0x5a]
mov byte [rsp + 0x5b], al
movzx eax, byte [rbp - 0x58]
mov byte [rsp + 0x5c], al
movzx eax, byte [rbp - 0x56]
mov byte [rsp + 0x5d], al
movzx eax, byte [rbp - 0x54]
mov byte [rsp + 0x5e], al
movzx eax, byte [rbp - 0x52]
movups xmmword [rsp + 0x70], xmm0
xor word [rsp + 0x72], 0x37
xor word [rsp + 0x74], 0x38
xor word [rsp + 0x76], 0x39
xor word [rsp + 0x78], 0x3a
xor word [rsp + 0x7a], 0x3b
xor word [rsp + 0x7c], 0x3c
xor word [rsp + 0x7e], 0x3d
mov byte [rsp + 0x5f], al
movzx eax, byte [rbp - 0x50]
mov byte [rsp + 0x60], al
movzx eax, byte [rbp - 0x4e]
mov byte [rsp + 0x61], al
movzx eax, byte [rbp - 0x4c]
mov byte [rsp + 0x62], al
movzx eax, byte [rbp - 0x4a]
mov byte [rsp + 0x63], al
movzx eax, word [0x1400f30a8]
xor ax, 0x3e
mov word [rsp + 0x70], cx
mov rcx, qword [rbp + 0x1b8]
mov word [rbp - 0x80], ax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret