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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140091080]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rcx
xor ebx, ebx
movups xmm0, xmmword [str._sb_yk]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [0x1400844c8]
movups xmmword [rbp - 8], xmm1
movsd xmm0, qword [0x1400844d8]
movsd qword [rbp + 8], xmm0
movzx eax, word [0x1400844e0]
mov word [rbp + 0x10], ax
movzx eax, byte [0x1400844e2]
mov byte [rbp + 0x12], al
mov r8d, ebx
mov edi, dword [reloc.WS2_32.dll_accept]
cmp edi, 2
jl 0x140002abd
movdqa xmm5, xmmword [0x140085340]
movdqa xmm4, xmmword [0x1400853b0]
movdqa xmm6, xmmword [0x140085370]
movdqa xmm0, xmmword [str.33333333333333339999999999999999_t]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x14]
mov edx, dword [rsp + 0x50]
nop dword [rax]
movd xmm2, r8d
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 [0x140085380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x140085380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x1400029b0
cmp r8d, 0x2b
jge 0x140002b03
movsxd rax, r8d
lea r9, [rbp - 0x18]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
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
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2b
jl 0x140002ad0
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rbx
lea rax, [rbp - 0x18]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], bl
jne 0x140002b20
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x18]
call fcn.140003ec0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movdqa xmm6, xmmword [0x140085330]
movdqu xmmword [rbp + 0xa0], xmm6
mov byte [rbp + 0x90], 0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
mov qword [rbp + 0x68], rbx
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdx, qword [rbp + 0x18]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400030c5
mov dword [rbp - 0x40], ebx
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
mov rcx, qword [rbp + 0x28]
sub rax, rcx
cmp rax, 2
jb 0x140003385
lea r9, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova r9, qword [rbp + 0x18]
mov qword [rsp + 0x30], 2
lea rax, [0x140084278]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x18]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400052c0
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000307e
mov dword [rbp - 0x40], 0xff
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140003073
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], rbx
lea rax, [rbp + 0xb0]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140002c84
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x38]
call fcn.140003ec0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x48]
sub rax, rcx
cmp rax, 1
jb 0x14000338b
lea r9, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r9, qword [rbp + 0x38]
mov qword [rsp + 0x30], 1
lea rax, [0x14008428c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x38]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400052c0
nop
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140004170
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002d68
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071d34
movdqa xmm0, xmmword [0x140085330]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rcx, qword [rbp - 0x20]
mov rax, rcx
mov r8, qword [rbp - 0x28]
sub rax, r8
cmp rax, 1
jb 0x140002db3
inc r8
mov qword [rbp - 0x28], r8
lea rdi, [rbp - 0x38]
cmp rcx, 0xf
cmova rdi, qword [rbp - 0x38]
lea rcx, [rdi + 1]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi], Ordinal_35
jmp 0x140002dbc
lea rcx, [rbp - 0x38]
call fcn.140004c00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 5
lea rdx, str..exe_
lea rcx, [rsp + 0x50]
call fcn.140003ec0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov r8d, 4
lea rdx, str..exe
lea rcx, [rbp - 0x70]
call fcn.140003ec0
nop
mov rdi, rbx
mov r13, qword [rbp - 0x60]
mov r12, qword [rbp - 0x70]
mov r14, qword [rsp + 0x60]
mov rsi, qword [rbp - 0x58]
lea r9, [rbp - 0x70]
cmp rsi, 0xf
cmova r9, r12
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
mov qword [rsp + 0x20], r13
mov r8, rdi
mov r15, qword [rbp - 0x28]
mov rdx, r15
call fcn.140004b30
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002e86
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov r8, r13
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140004360
mov r14, qword [rsp + 0x60]
add rdi, r14
jmp 0x140002e20
mov rax, qword [rbp - 0x58]
cmp rax, 0xf
mov rsi, 0xffffffffffffffff
jbe 0x140002ed0
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140002ec4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ec4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140071d34
mov r15, qword [rbp - 0x28]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140002f11
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002fda
call fcn.140071d34
mov r15, qword [rbp - 0x28]
movabs rax, 0x7fffffffffffffff
sub rax, r15
cmp rax, 8
jb 0x14000337f
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], 8
lea rax, str.__vm_100
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x38]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.1400052c0
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
inc rsi
cmp byte [rdx + rsi], 0
jne 0x140002f84
mov r8, rsi
lea rcx, [rsp + 0x70]
call fcn.140003ec0
lea rcx, [rsp + 0x70]
call fcn.140002780
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140002fe7
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fe1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fe1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071d34
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140003025
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003020
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071d34
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140003073
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000306e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000306e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071d34
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1400032aa
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071d34
jmp 0x1400032aa
lea rdx, [0x140002170]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9, rax
movups xmm0, xmmword [0x1400846d8]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [0x1400846e8]
movups xmmword [rbp - 8], xmm1
movsd xmm0, qword [0x1400846f8]
movsd qword [rbp + 8], xmm0
movzx ecx, word [0x140084700]
mov word [rbp + 0x10], cx
movzx ecx, byte [0x140084702]
mov byte [rbp + 0x12], cl
cmp edi, 2
jl 0x14000325a
movdqa xmm5, xmmword [0x140085340]
movdqa xmm4, xmmword [0x1400853b0]
movdqa xmm7, xmmword [0x140085370]
movdqa xmm0, xmmword [str.33333333333333339999999999999999_t]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x14]
mov edx, dword [rsp + 0x50]
nop dword [rax + rax]
movd xmm2, ebx
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, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140085380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 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, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140085380]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x28
jl 0x140003150
cmp eax, 0x2b
jge 0x14000329e
movsxd rax, ebx
lea r8, [rbp - 0x18]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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
sub al, cl
add al, 0x33
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x2b
jl 0x140003270
lea rdx, [rbp - 0x18]
mov rcx, r9
call fcn.140004620
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x58]
call fcn.1400042f0
nop
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 0xf
jbe 0x140003307
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003301
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071d34
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140003345
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003340
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071d34
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140071970
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002070
nop
call fcn.140002070
nop
call fcn.140002070
int3