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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
movdqa xmm2, xmmword [0x1400c18f0]
movdqu xmmword [rsp + 0x30], xmm2
mov dword [rsp + 0x40], 0x4a476242
mov word [rsp + 0x44], 0x294d
movdqa xmm3, xmmword [0x1400c1360]
mov eax, dword [0x1400c1100]
movd xmm1, eax
paddb xmm1, xmm3
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
mov eax, dword [0x1400c1110]
movd xmm1, eax
paddb xmm1, xmm3
movd xmm0, dword [rsp + 0x34]
xorps xmm1, xmm0
movd dword [rsp + 0x34], xmm1
mov eax, dword [str._b_t_n_v]
movd xmm1, eax
paddb xmm1, xmm3
movd xmm0, dword [rsp + 0x38]
xorps xmm1, xmm0
movd dword [rsp + 0x38], xmm1
mov eax, dword [0x1400c1130]
movd xmm1, eax
paddb xmm1, xmm3
movd xmm0, dword [rsp + 0x3c]
xorps xmm1, xmm0
movd dword [rsp + 0x3c], xmm1
mov edx, 0x10
lea rax, [rsp + 0x40]
nop dword [rax + rax]
lea ecx, [rdx + 0x14]
xor byte [rax], cl
inc edx
lea rax, [rax + 1]
cmp edx, 0x15
jb 0x14004f640
mov byte [rsp + 0x45], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004f675
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14007a5d0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14004f858
mov dword [rbp + 0xd8], 1
mov dword [rbp + 0xd0], 0x104
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14004f6e9
mov rdx, qword [rdi]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xd8]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14004f858
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x80]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004f733
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.14007a5d0
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14004f776
mov r8, rbx
mov rcx, rsi
call fcn.14007a5d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004f7c9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f92c
call fcn.14007c72c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004f806
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f801
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f932
call fcn.14007c72c
movdqa xmm0, xmmword [0x1400c1190]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14004f8fa
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14004f8f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f920
jmp 0x14004f8f2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004f8b1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f8ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f91a
call fcn.14007c72c
movdqa xmm0, xmmword [0x1400c1190]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14004f8fa
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14004f8f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f926
mov rcx, r8
call fcn.14007c72c
mov rax, rsi
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
add rsp, 0x190
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140092180
nop
call fcn.140092180
int3
call fcn.140092180
nop
call fcn.140092180
nop
call fcn.140092180
int3