Function at 0x1401341c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov edi, r8d
mov esi, edx
mov r14, rcx
call fcn.140136010
mov rcx, rax
test rax, rax
je 0x1401345ba
mov rax, qword [rax]
call qword [rax + 0x18]
mov r12, rax
lea rcx, [rax + 0x18]
mov qword [rbp + 7], rcx
call fcn.140136010
mov rcx, rax
test rax, rax
je 0x1401345af
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x69], rax
mov ebx, 0xffffffff
xor r13d, r13d
cmp qword [r14 + 0x30], r13
je 0x1401342a7
lea r15d, [rbx + 2]
cmp dword [r14 + 0x64], r13d
jne 0x140134263
cmp dword [r14 + 0x118], r13d
je 0x140134289
mov rcx, r14
call fcn.1401356e0
cmp eax, 2
je 0x140134326
cmp dword [r14 + 0x118], r13d
je 0x140134289
mov r8d, r15d
mov dword [rbp - 0x75], r15d
jmp 0x140134330
mov ecx, r13d
lea rax, [0x140397eb4]
cmp dword [rax - 4], esi
jne 0x14013429c
cmp dword [rax], edi
je 0x140134312
inc ecx
add rax, 0xc
cmp ecx, 9
jb 0x140134293
mov r15d, r13d
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401342c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r12 + 0x10], ebx
sub ebx, 1
jg 0x1401342e2
mov rcx, qword [r12]
mov r8, qword [rcx]
mov rdx, r12
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r15d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402ecc20
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movsxd rax, ecx
lea rcx, [rax + rax*2]
lea rax, [0x140397eb8]
mov r8d, dword [rax + rcx*4]
jmp 0x14013432c
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov dword [rbp - 0x75], r8d
mov ecx, r13d
lea rdx, [0x140453020]
mov rax, rdx
nop dword [rax]
cmp r8d, dword [rax]
je 0x140134355
inc ecx
add rax, 0x20
cmp ecx, 6
jb 0x140134340
jmp 0x1401342a7
movsxd rcx, ecx
shl rcx, 5
mov rax, qword [rcx + rdx + 0x18]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x1f], eax
mov edi, dword [rcx + rdx + 0x10]
mov dword [rbp - 0x41], edi
lea rdx, [rbp - 9]
mov rcx, r14
call fcn.140133e40
nop
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.140016d50
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401343ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x69]
call fcn.140042490
test eax, eax
je 0x1401342a7
mov esi, r13d
test edi, edi
jle 0x1401342aa
nop dword [rax + rax]
mov dword [rbp + 0x1f], esi
mov rdi, qword [r14 + 0x58]
test rdi, rdi
je 0x1401344c9
mov qword [rbp - 0x39], r13
mov dword [rbp - 0x31], r13d
mov qword [rbp - 0x29], r13
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x61]
call fcn.14003bcd0
mov dword [rbp - 0x71], r13d
mov r9d, r15d
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x39]
call fcn.140024490
mov rdx, qword [rbp - 0x61]
test eax, eax
jne 0x1401344a0
mov dword [rbp - 0x51], 4
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4d]
xor r8d, r8d
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14013449c
cmp dword [rbp - 0x4d], 4
jne 0x14013449c
mov eax, dword [rbp - 0x71]
mov dword [rbp - 0x79], eax
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140134477
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140134486
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rbp - 0x79]
lea rdx, [rbp + 0xf]
mov rcx, qword [rbp - 0x69]
call fcn.140040400
jmp 0x14013459f
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401344ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1401344c9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [r14 + 0x50]
test rdi, rdi
je 0x14013459f
mov qword [rbp - 0x21], r13
mov dword [rbp - 0x19], r13d
mov qword [rbp - 0x11], r13
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x59]
call fcn.14003bcd0
mov dword [rbp - 0x6d], r13d
mov r9d, r15d
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x21]
call fcn.140024490
mov rdx, qword [rbp - 0x59]
test eax, eax
jne 0x140134576
mov dword [rbp - 0x49], 4
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x6d]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x45]
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140134572
cmp dword [rbp - 0x45], 4
jne 0x140134572
mov eax, dword [rbp - 0x6d]
mov dword [rbp - 0x79], eax
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140134569
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x21]
jmp 0x14013447b
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140134590
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14013459f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, dword [rbp - 0x41]
jl 0x1401343d0
jmp 0x1401342aa
mov ecx, 0x80004005
call fcn.140012800
nop
mov ecx, 0x80004005
call fcn.140012800
int3