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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1401737a8]
xor rax, rsp
mov qword [rbp + 0x290], rax
cmp dword [0x1401896c8], 1
jl 0x14008d63b
lea rcx, [rbp + 0x60]
call fcn.1400897d0
xor r15d, r15d
lea rax, [rsp + 0x30]
lea r9, [0x14013c790]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x20], rax
lea rcx, [0x14013c7b0]
lea r8d, [r15 + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14008d5f7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x50]
lea rcx, [rbp + 0x28]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp + 0x28]
lea rcx, [rbp + 0x10]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [rbp + 0x38]
movsd qword [rsp + 0x40], xmm0
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp + 0x10]
lea rcx, [rbp - 8]
movups xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [rbp + 0x20]
movsd qword [rsp + 0x60], xmm0
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp - 8]
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [rbp + 8]
movsd qword [rsp + 0x68], xmm0
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp - 0x80]
lea rax, [rbp - 0x80]
mov rcx, qword [rsp + 0x30]
movsd xmm1, qword [rbp - 0x10]
lea r9, [rbp - 0x60]
movaps xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x40]
movsd xmm0, qword [rsp + 0x40]
lea rdx, [rbp + 0x40]
movsd qword [rbp - 0x70], xmm0
movups xmm0, xmmword [rbp - 0x60]
mov qword [rsp + 0x20], rax
movsd qword [rbp + 0x50], xmm1
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp - 0x50], xmm0
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [rsp + 0x68]
movsd qword [rbp - 0x30], xmm0
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x40], xmm0
call rbx
lea rcx, [rbp - 0x20]
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x10]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x28]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
js 0x14008d5ec
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], r15
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x38]
lea ecx, [r15 + 0x18]
call fcn.1400e1108
mov rbx, rax
test rax, rax
je 0x14008d6e4
lea rcx, [0x14011eb8c]
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14008d6e4
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x48]
mov rdx, rax
call rdi
mov esi, 0xffffffff
mov edi, eax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14008d4e0
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008d4c1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14008d4d3
call fcn.1400e0fb8
mov qword [rbx + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400e0fb8
test edi, edi
js 0x14008d5ec
mov rax, qword [rsp + 0x48]
lea rdi, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdi, qword [rbp + 0x60]
mov rcx, qword [rax]
mov r14, qword [rcx + 0x68]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400e1108
mov rbx, rax
test rax, rax
je 0x14008d6e4
mov rcx, rdi
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14008d53d
test rdi, rdi
jne 0x14008d6e4
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x70]
mov rdx, rax
call r14
mov edi, eax
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x14008d589
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008d56a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14008d57c
call fcn.1400e0fb8
mov qword [rbx + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400e0fb8
test edi, edi
jne 0x14008d598
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14008d6ad
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d5e2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d6de
call fcn.1400e0fb8
jmp 0x14008d6ad
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14008d637
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d632
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d6de
call fcn.1400e0fb8
xor al, al
jmp 0x14008d6b2
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14008d6ad
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rbp + 0x80]
mov dword [rsp + 0x38], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14011f590]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400e17a0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400e8160
int3
mov ecx, 0x8007000e
call fcn.1400e0b70
int3