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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400a97c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
movups xmm0, xmmword [str.jchhxsc]
movzx eax, word [0x14009aa00]
xor ebx, ebx
movups xmm1, xmmword [0x14009a9e0]
mov edi, dword [reloc.WS2_32.dll_accept]
mov r8d, ebx
movdqa xmm6, xmmword [0x14009ad90]
mov word [rbp - 0x78], ax
movzx eax, byte [0x14009aa02]
mov byte [rbp - 0x76], al
movups xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [0x14009a9f0]
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm0
cmp edi, 2
jl 0x14001f441
movdqa xmm0, xmmword [0x14009add0]
lea rcx, [rsp + 0x5c]
movdqa xmm4, xmmword [0x14009ad00]
movdqa xmm3, xmmword [0x14009ae10]
movdqa xmm5, xmmword [0x14009ad30]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x14001f350
cmp r8d, 0x33
jge 0x14001f484
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x33
jl 0x14001f450
lea rax, [rbp - 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001fa0b
movzx eax, word [0x14009ab18]
mov r8d, ebx
mov word [rsp + 0x50], ax
movzx eax, byte [0x14009ab1a]
mov byte [rsp + 0x52], al
mov dword [rbp - 0x68], 0x100
movups xmm0, xmmword [str.jCHHXSr__7__22:_8K]
movups xmmword [rsp + 0x40], xmm0
cmp edi, 2
jl 0x14001f611
movdqa xmm0, xmmword [0x14009add0]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x14009ad00]
movdqa xmm3, xmmword [0x14009ae10]
movdqa xmm5, xmmword [0x14009ad30]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001f520
cmp r8d, 0x13
jge 0x14001f654
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x14001f620
mov rcx, qword [rbp - 0x70]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
lea rax, [rbp - 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001fa01
movzx ecx, word [0x14009aa28]
lea rdx, [rsp + 0x30]
mov eax, dword [0x14009aa24]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14009aa2a]
xor byte [rsp + 0x31], 0x3a
xor al, 0x3f
xor byte [rsp + 0x32], 0x3b
xor byte [rsp + 0x33], 0x3c
mov word [rsp + 0x34], cx
xor cl, 0x3d
xor byte [rsp + 0x35], 0x3e
mov byte [rsp + 0x34], cl
lea rcx, [rbp - 0x60]
mov byte [rsp + 0x30], 0x56
mov byte [rsp + 0x36], al
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14001f9f3
movzx ecx, word [0x14009ab28]
lea rdx, [rsp + 0x30]
movzx eax, byte [0x14009ab2a]
movsd xmm0, qword [0x14009ab20]
xor al, 0x43
movsd qword [rsp + 0x30], xmm0
xor byte [rsp + 0x31], 0x3a
xor byte [rsp + 0x32], 0x3b
xor byte [rsp + 0x33], 0x3c
xor byte [rsp + 0x34], 0x3d
xor byte [rsp + 0x35], 0x3e
xor byte [rsp + 0x36], 0x3f
xor byte [rsp + 0x37], 0x40
mov word [rsp + 0x38], cx
xor cl, 0x41
xor byte [rsp + 0x39], 0x42
mov byte [rsp + 0x38], cl
lea rcx, [rbp - 0x60]
mov byte [rsp + 0x30], 0x56
mov byte [rsp + 0x3a], al
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14001f9f3
cmp byte [reloc.WLDAP32.dll_Ordinal_60], bl
mov eax, dword [str.a_U_unknown_error]
mov dword [rsp + 0x30], eax
je 0x14001f824
cmp edi, 2
jl 0x14001f7df
movdqa xmm3, xmmword [0x14009ad00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14009ae10]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14009ae10]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14009ad30]
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14009add0]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
jmp 0x14001f824
lea r9, [rsp + 0x30]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x14001f7f0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14001f9f3
cmp byte [0x14009aa55], bl
mov eax, dword [0x14009aa50]
movups xmm0, xmmword [str.tSXNRMP5b]
mov dword [rsp + 0x50], eax
movzx eax, word [0x14009aa54]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x54], ax
je 0x14001f9df
cmp edi, 2
jl 0x14001f99c
movdqa xmm0, xmmword [0x14009add0]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x14009ad00]
movdqa xmm3, xmmword [0x14009ae10]
movdqa xmm5, xmmword [0x14009ad30]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001f8b0
cmp ebx, 0x16
jge 0x14001f9df
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001f9b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14001fa01
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14001fa0d
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140083820
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret