Function at 0x14003a630
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
movups xmm3, xmmword [str.jU_HJ_M_]
xor edi, edi
mov eax, dword [0x14007b5b0]
movsd xmm0, qword [0x14007b5a8]
cmp word [0x14007b5b2], di
mov ebx, dword [0x140082010]
movups xmmword [rsp + 0x60], xmm3
mov dword [rsp + 0x78], eax
movsd qword [rsp + 0x70], xmm0
je 0x14003a7b5
mov r8d, edi
cmp ebx, 2
jl 0x14003a76a
movdqa xmm2, xmmword [0x14007b790]
mov r8d, 8
movdqa xmm4, xmmword [0x14007bc60]
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 [0x14007b7b0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x14007b7a0]
paddw xmm2, xmmword [0x14007b7c0]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x60], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14007b7b0]
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x68]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14007b7c0]
xorps xmm2, xmm0
movq qword [rsp + 0x68], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x14003a780
lea rax, [rbp + 0x1c0]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003aad2
cmp word [0x14007b57a], di
movsd xmm0, qword [0x14007b570]
mov eax, dword [0x14007b578]
movaps xmmword [rsp + 0x280], xmm7
movups xmm7, xmmword [str.k_VYPZ2_r___F]
mov dword [rbp + 0x1b0], 4
movsd qword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm7
mov dword [rsp + 0x58], eax
je 0x14003a965
mov r8d, edi
cmp ebx, 2
jl 0x14003a91d
movdqa xmm2, xmmword [0x14007b790]
mov r8d, 8
movdqa xmm4, xmmword [0x14007bc60]
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 [0x14007b7b0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, qword [0x14007b7c0]
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x14007b7a0]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rsp + 0x40], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14007b7b0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, qword [0x14007b7c0]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x48], xmm3
movsxd rax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x14003a930
mov rcx, qword [rbp + 0x1c0]
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1b8]
lea rax, [0x1400b7a94]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movaps xmm7, xmmword [rsp + 0x280]
test eax, eax
jne 0x14003a9ae
cmp dword [rbp + 0x1b8], 4
je 0x14003a9b5
mov byte [0x1400b7a94], dil
movzx eax, word [0x14007b590]
lea r9, [rbp + 0x1b8]
movups xmm0, xmmword [str.uUUSuZ9A]
xor ax, 0x41
mov dword [rbp + 0x1b0], 0x14
mov word [rsp + 0x50], ax
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
xor word [rsp + 0x42], 0x3a
lea rax, [rbp + 0x1b0]
xor word [rsp + 0x44], 0x3b
mov ecx, 0x4c
xor word [rsp + 0x46], 0x3c
xor r8d, r8d
xor word [rsp + 0x48], 0x3d
xor word [rsp + 0x4a], 0x3e
xor word [rsp + 0x4c], 0x3f
xor word [rsp + 0x4e], 0x40
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov word [rsp + 0x40], cx
mov rcx, qword [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003aabe
cmp dword [rbp + 0x1b8], 3
jne 0x14003aabe
mov rax, rdi
movq xmm1, qword [rsp + rax + 0x60]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
movdqu xmmword [rbp + rax*2 - 0x80], xmm1
add rax, 8
cmp rax, 0x10
jl 0x14003aa51
mov eax, 0x10
movzx ecx, byte [rsp + rax + 0x60]
mov word [rbp + rax*2 - 0x80], cx
inc rax
cmp rax, 0x14
jl 0x14003aa73
mov qword [rsp + 0x38], rdi
lea rax, [0x1400cc490]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x80]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov word [rbp - 0x58], di
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x14003aac5
mov byte [0x1400cc490], dil
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x290
pop rdi
pop rbx
pop rbp
ret