Function at 0x140134dd0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov qword [rbp - 9], 0xfffffffffffffffe
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov esi, r9d
mov r14d, r8d
mov ebx, edx
mov r15, rcx
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x14013521d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r12, [0x140393240]
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.1400168b0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140134e6c
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [r12 + rax*2], 0
jne 0x140134e50
mov r8d, eax
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.140016ad0
nop
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x140135212
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1400168b0
test al, al
jne 0x140134ebc
mov rax, rdi
inc rax
cmp word [r12 + rax*2], 0
jne 0x140134ea0
mov r8d, eax
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.140016ad0
nop
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov r8d, ebx
lea rdx, [rbp - 0x31]
call fcn.140134030
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140016d50
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140134efb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov r8d, ebx
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.140133f60
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140016d50
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140134f3d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
call fcn.140042490
xor r15d, r15d
test eax, eax
je 0x140134fc1
mov qword [rbp - 0x21], r15
mov dword [rbp - 0x19], r15d
mov qword [rbp - 0x11], r15
mov r9d, 0x20019
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x21]
call fcn.140024490
mov ebx, r15d
test eax, eax
sete bl
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140134f8d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14d, 1
test ebx, ebx
je 0x140134fc4
mov rdx, qword [rsp + 0x30]
call fcn.140042540
test eax, eax
je 0x140134fc4
mov ecx, r15d
lea rdx, [0x140453020]
mov rax, rdx
cmp esi, dword [rax]
je 0x140135021
inc ecx
add rax, 0x20
cmp ecx, 6
jb 0x140134fb2
mov r14d, r15d
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140134fe3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140135000
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r14d
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1402ecc20
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movsxd rcx, ecx
shl rcx, 5
mov rax, qword [rcx + rdx + 0x18]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0xf], eax
mov eax, dword [rcx + rdx + 0x10]
mov dword [rbp - 0x69], eax
mov esi, r15d
test eax, eax
jle 0x140134fc4
nop dword [rax]
mov dword [rbp + 0xf], esi
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140135202
mov qword [rbp - 0x49], r15
mov dword [rbp - 0x41], r15d
mov qword [rbp - 0x39], r15
lea rdx, [rbp - 1]
lea rcx, [rsp + 0x50]
call fcn.14003bcd0
mov dword [rsp + 0x40], r15d
mov r9d, r14d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x49]
call fcn.140024490
mov rdx, qword [rsp + 0x50]
test eax, eax
jne 0x1401351d9
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x7d]
xor r8d, r8d
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401351d4
cmp dword [rbp - 0x7d], 4
jne 0x1401351d4
mov eax, dword [rsp + 0x40]
mov dword [rbp - 0x79], eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140135108
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140135117
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140135202
mov qword [rbp - 0x61], r15
mov dword [rbp - 0x59], r15d
mov qword [rbp - 0x51], r15
lea rdx, [rbp - 1]
lea rcx, [rsp + 0x48]
call fcn.14003bcd0
mov r9d, 2
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x61]
call fcn.140024490
mov rdx, qword [rsp + 0x48]
test eax, eax
je 0x140135181
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14013517b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x61]
jmp 0x1401351f7
mov eax, dword [rbp - 0x79]
mov dword [rbp - 0x71], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
test eax, eax
mov eax, edi
je 0x140135167
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14013517b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x61]
jmp 0x1401351f7
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401351f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140135202
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, dword [rbp - 0x69]
jl 0x140135050
jmp 0x140134fc4
mov ecx, 0x80004005
call fcn.140012800
nop
mov ecx, 0x80004005
call fcn.140012800
int3