Function at 0x1400013b4
Capabilities:
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rbp - 0x20], 0xfffffffffffffffe
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xor edi, edi
mov qword [rbp - 0x48], rdi
mov ebx, 0x105
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.140001bd0
nop
mov r8d, ebx
mov rdx, qword [rbp - 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001618
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [0x140013388]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001618
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x14000148c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140001618
mov edx, dword [rbp + 0x50]
inc edx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
lea rcx, [rsp + 0x70]
call fcn.140001bd0
nop
mov edx, dword [rbp + 0x50]
inc edx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
lea rcx, [rbp - 0x40]
call fcn.140001bd0
nop
mov ebx, edi
cmp dword [rbp + 0x58], edi
jbe 0x140001545
mov r9, qword [rbp - 0x38]
mov eax, dword [rbp + 0x60]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x50]
inc eax
mov dword [rbp + 0x68], eax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov edx, ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov r9, qword [rbp - 0x38]
test eax, eax
jne 0x14000153e
mov rax, r9
mov rdx, qword [rbp - 0x58]
sub rdx, r9
movzx ecx, byte [rax]
movzx r8d, byte [rax + rdx]
sub ecx, r8d
jne 0x140001536
inc rax
test r8d, r8d
jne 0x140001521
test ecx, ecx
je 0x1400015f7
inc ebx
cmp ebx, dword [rbp + 0x58]
jb 0x1400014cf
mov r8d, 6
lea rdx, [rbp + 8]
call fcn.140002574
nop
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x18]
call fcn.140002a18
mov r8, rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x78], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x80], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x78]
mov rax, qword [rax + 0x18]
mov qword [rbp - 0x78], rax
mov qword [r8 + 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.140001bac
nop
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_free]
mov rcx, qword [rbp - 0x58]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x1400015cc
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x40]
call fcn.140001bac
nop
lea rcx, [rsp + 0x70]
call fcn.140001bac
nop
lea rcx, [rbp - 0x60]
call fcn.140001bac
add rsp, 0x130
pop rdi
pop rbx
pop rbp
ret