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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
lea rsi, [0x140102478]
mov qword [rbp + 0x10], rsi
lea r15, [0x1401025f8]
mov qword [rbp + 0x50], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rcx, [rbp + 0x10]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor r14d, r14d
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x50], r15
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140006eb0
nop
mov r9d, 0x200
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000002
call fcn.1400a7cfc
movabs r12, 0x6666666666666667
test al, al
je 0x14001370a
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 5
mov rax, rbx
shr rax, 0x3f
add rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140008af0
jmp 0x140013717
lea rcx, [rsp + 0x38]
call fcn.140008af0
mov ebx, r14d
mov dword [rdi + 8], ebx
lea rcx, [rbp + 0x10]
call fcn.1400048d0
mov qword [rbp - 0x40], rsi
mov qword [rbp], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rcx, [rbp - 0x40]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x50], r15
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.140006eb0
nop
mov r9d, 0x200
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000001
call fcn.1400a7cfc
test al, al
je 0x1400137c4
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 5
mov rax, rbx
shr rax, 0x3f
add rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140008af0
jmp 0x1400137d1
lea rcx, [rsp + 0x38]
call fcn.140008af0
mov ebx, r14d
mov dword [rdi + 0x10], ebx
lea rcx, [rbp - 0x40]
call fcn.1400048d0
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x50], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rcx, [rsp + 0x70]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp], r15
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.140006eb0
nop
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call fcn.1400a7cfc
test al, al
je 0x14001387a
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 5
mov rax, rbx
shr rax, 0x3f
add rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140008af0
jmp 0x140013887
lea rcx, [rsp + 0x38]
call fcn.140008af0
mov ebx, r14d
mov dword [rdi + 0xc], ebx
lea rcx, [rsp + 0x70]
call fcn.1400048d0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x50], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
lea rcx, [rbp + 0x10]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp], r15
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140006eb0
nop
mov r9d, 0x200
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call fcn.1400a7cfc
test al, al
je 0x140013931
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 5
mov rax, rbx
shr rax, 0x3f
add rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140008af0
jmp 0x14001393e
lea rcx, [rsp + 0x38]
call fcn.140008af0
mov ebx, r14d
mov dword [rdi + 0x14], ebx
lea rcx, [rbp + 0x10]
call fcn.1400048d0
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0xa0], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
lea rcx, [rbp + 0x60]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp], r15
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140006eb0
nop
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call fcn.1400a7cfc
test al, al
je 0x1400139e7
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 5
mov rax, rbx
shr rax, 0x3f
add rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140008af0
jmp 0x1400139f4
lea rcx, [rsp + 0x38]
call fcn.140008af0
mov ebx, r14d
mov dword [rdi + 0x18], ebx
lea rcx, [rbp + 0x60]
call fcn.1400048d0
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x50], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.PendingRenameFileOperations
lea rcx, [rsp + 0x70]
call fcn.140003cb0
nop
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x50], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.SystemCurrentControlSetControlSession_Manager
lea rcx, [rbp + 0x10]
call fcn.140003cb0
nop
mov dword [rsp + 0x58], r14d
mov rbx, r14
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
cmp qword [rbp + 0x30], 8
mov rdx, qword [rbp + 0x18]
jae 0x140013a6f
lea rdx, [rbp + 0x18]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140013ad7
mov dword [rsp + 0x40], r14d
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [rsp + 0x58]
test rbx, rbx
je 0x140013aee
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], r14d
mov dword [rdi + 0x1c], esi
lea rcx, [rbp + 0x10]
call fcn.1400048d0
nop
lea rcx, [rsp + 0x70]
call fcn.1400048d0
mov byte [rdi + 0x20], 1
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400b31f0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret