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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x30]
call fcn.1401481c4
mov dword [rbp - 0x58], 0x104
mov dword [rbp - 0x54], 1
movups xmm0, xmmword [0x140170308]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x140170318]
movups xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [0x140170328]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x140170330]
mov dword [rsp + 0x78], eax
xor edi, edi
mov ecx, edi
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x14008ee1a
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x140176230]
movdqa xmm6, xmmword [0x140175f70]
movdqa xmm0, xmmword [0x1401760b0]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x40]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x14008ed10
cmp ecx, 0x2c
jge 0x14008ee60
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2c
jl 0x14008ee30
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008f3bf
movzx eax, word [0x140170188]
mov word [rsp + 0x30], ax
cmp byte [0x140170189], dil
je 0x14008eeab
mov byte [rsp + gethostbyname], 0x30
xor byte [rsp + 0x31], 0x3a
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x54]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14008f3b5
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x14008eef5
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140059140
nop
mov eax, dword [str.OWL_O__]
mov dword [rsp + 0x30], eax
movzx ecx, word [0x140170278]
mov word [rsp + 0x34], cx
movzx eax, byte [0x14017027a]
mov byte [rsp + 0x30], 0x76
xor byte [rsp + 0x31], 0x3a
xor byte [rsp + 0x32], 0x3b
xor byte [rsp + 0x33], 0x3c
xor cl, 0x3d
mov byte [rsp + 0x34], cl
xor byte [rsp + 0x35], 0x3e
xor al, 0x3f
mov byte [rsp + 0x36], al
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.14005fa10
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14008e030
cmp qword [rax + 0x18], 0xf
jbe 0x14008ef73
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14003d700
test rbx, rbx
je 0x14008efa7
test rsi, rsi
je 0x14008f39f
mov dword [rsi], 1
jmp 0x14008f39f
mov rax, qword [str.OSIHH_S_WN_PQ_]
mov qword [rsp + 0x30], rax
cmp byte [0x14017011f], 0
je 0x14008f115
cmp r14d, 2
jl 0x14008f0ce
movdqa xmm4, xmmword [0x140176230]
movdqa xmm2, xmmword [0x140175f00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
mov eax, dword [0x1401760b0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140175f20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x14008f115
lea r9, [rsp + 0x30]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14008f0e0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005fa10
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008e030
cmp qword [rax + 0x18], 0xf
jbe 0x14008f139
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d700
test rbx, rbx
je 0x14008f16c
test rsi, rsi
je 0x14008f39f
mov dword [rsi], 2
jmp 0x14008f39f
mov eax, dword [0x1401701d4]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401701d8]
mov byte [rsp + 0x30], 0x76
xor byte [rsp + 0x31], 0x3a
xor byte [rsp + 0x32], 0x3b
xor byte [rsp + 0x33], 0x3c
xor al, 0x3d
mov byte [rsp + 0x34], al
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005fa10
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008e030
cmp qword [rax + 0x18], 0xf
jbe 0x14008f1bb
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d700
test rbx, rbx
je 0x14008f1ee
test rsi, rsi
je 0x14008f39f
mov dword [rsi], 3
jmp 0x14008f39f
mov eax, dword [str.H_VI]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140170304]
mov byte [rsp + 0x30], WSAStartup
xor byte [rsp + 0x31], 0x3a
xor byte [rsp + 0x32], 0x3b
xor byte [rsp + 0x33], 0x3c
xor al, 0x3d
mov byte [rsp + 0x34], al
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005fa10
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008e030
cmp qword [rax + 0x18], 0xf
jbe 0x14008f23d
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d700
test rbx, rbx
je 0x14008f270
test rsi, rsi
je 0x14008f39f
mov dword [rsi], 4
jmp 0x14008f39f
mov eax, dword [0x140170334]
mov dword [rsp + 0x30], eax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
je 0x14008f351
cmp r14d, 2
jl 0x14008f313
movdqa xmm3, xmmword [0x140175f00]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176230]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176230]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140175f70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x14008f351
lea r8, [rsp + 0x30]
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
xor byte [r8], cl
inc edi
lea r8, [r8 + 1]
cmp edi, 4
jl 0x14008f320
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14005fa10
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14008e030
cmp qword [rax + 0x18], 0xf
jbe 0x14008f375
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14003d700
test rbx, rbx
je 0x14008f3ac
test rsi, rsi
je 0x14008f39f
mov dword [rsi], 5
lea rcx, [rbp - 0x50]
call fcn.14003d700
xor al, al
jmp 0x14008f3c1
lea rcx, [rbp - 0x50]
call fcn.14003d700
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1401468a0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret