Function at 0x14003e680
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.dW_NL_O_c]
xor ebx, ebx
mov eax, dword [0x1400da3d8]
movsd xmm0, qword [0x1400da3d0]
cmp word [0x1400da3da], bx
mov edi, dword [0x1400f11d8]
movups xmmword [rsp + 0x68], xmm3
mov dword [rbp - 0x80], eax
movsd qword [rsp + 0x78], xmm0
je 0x14003e805
mov r8d, ebx
cmp edi, 2
jl 0x14003e7c0
movdqa xmm2, xmmword [0x1400da5d0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400daab0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400da5f0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400da5e0]
paddw xmm2, xmmword [0x1400da600]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x68], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400da5f0]
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x70]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400da600]
xorps xmm2, xmm0
movq qword [rsp + 0x70], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x68]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x37
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x14003e7d0
mov qword [rsp + 0x40], rbx
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x68]
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 0x14003eb1c
movsd xmm0, qword [0x1400da3b0]
mov eax, ebx
cmp byte [0x140126c14], al
movaps xmmword [rsp + 0x290], xmm7
movups xmm7, xmmword [str.e_T_VXLs__D]
setne al
cmp word [0x1400da3ba], bx
movsd qword [rsp + 0x78], xmm0
mov dword [rbp + 0x1b0], eax
mov eax, dword [0x1400da3b8]
mov dword [rbp - 0x80], eax
movups xmmword [rsp + 0x68], xmm7
je 0x14003e9d5
mov r8d, ebx
cmp edi, 2
jl 0x14003e986
movdqa xmm2, xmmword [0x1400da5d0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400daab0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400da5f0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, qword [0x1400da600]
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400da5e0]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rsp + 0x68], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400da5f0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, qword [0x1400da600]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x70]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x70], xmm3
movsxd rax, r8d
lea r9, [rsp + 0x68]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x37
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x14003e9a0
mov rcx, qword [rbp + 0x1b8]
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x68]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [0x140126c14], bl
movaps xmm7, xmmword [rsp + 0x290]
je 0x14003eb0f
lea rax, [rbp - 0x70]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [0x140142810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movdqa xmm1, xmmword [0x1400da610]
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rbx*2 - 0x70]
andps xmm0, xmm1
packuswb xmm0, xmm0
movq qword [rsp + rbx + 0x68], xmm0
add rbx, 8
cmp rbx, 0x10
jl 0x14003ea50
mov ecx, reloc.WS2_32.dll_recv
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx*2 - 0x70]
mov byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 0x14
jl 0x14003ea80
movzx eax, word [0x1400da398]
lea rdx, [rsp + 0x50]
movups xmm0, xmmword [str.WSUwXG_]
xor ax, 0x3f
mov dword [rsp + 0x28], shutdown
mov ecx, 0x4c
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x50], xmm0
xor word [rsp + 0x52], 0x38
lea rax, [rsp + 0x68]
xor word [rsp + 0x54], 0x39
mov r9d, 3
xor word [rsp + 0x56], 0x3a
xor r8d, r8d
xor word [rsp + 0x58], 0x3b
xor word [rsp + 0x5a], 0x3c
xor word [rsp + 0x5c], 0x3d
xor word [rsp + 0x5e], 0x3e
mov word [rsp + 0x50], cx
mov rcx, qword [rbp + 0x1b8]
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