Function at 0x1401086d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x141992390]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rdi, rdx
mov qword [rbp], rdx
mov r13, rcx
mov dword [rbp - 0x10], 0
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1401087dc
lea rcx, [rbp - 0x50]
call fcn.140109d40
lea rbx, [r13 + 0x18]
mov rdx, qword [rbx]
mov qword [rbp + 0xc0], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x50]
mov ecx, dword [rax]
mov r15d, 0xffffffff
test ecx, ecx
je 0x140108772
cmp ecx, r15d
je 0x140108784
mov ecx, r15d
mov rax, qword [rbp - 0x50]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140108784
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x50]
call fcn.140049bf0
lea rdx, [rbp - 0x48]
mov rcx, r13
call fcn.140109af0
mov rdx, qword [r13 + 0x10]
mov qword [rbp + 0xc8], rdx
mov rcx, qword [rax]
mov qword [r13 + 0x10], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401087c8
cmp ecx, r15d
je 0x14010883f
mov ecx, r15d
mov rax, qword [rbp - 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14010883f
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x48]
call fcn.140049bf0
jmp 0x14010883f
lea rcx, [rbp - 0x40]
call fcn.1400c1810
lea rbx, [r13 + 0x18]
mov rdx, qword [rbx]
mov qword [rbp + 0xd0], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x40]
mov ecx, dword [rax]
mov r15d, 0xffffffff
test ecx, ecx
je 0x140108821
cmp ecx, r15d
je 0x140108833
mov ecx, r15d
mov rax, qword [rbp - 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140108833
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x40]
call fcn.140049bf0
lea rcx, [r13 + 0x10]
mov rdx, rdi
call fcn.14002fe50
mov byte [rsp + 0x30], 0
mov rax, qword [rbx]
cmp dword [rax + 4], 0
je 0x140108f5a
mov qword [rsp + 0x38], 0
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.1400c16b0
mov rbx, rax
mov byte [rsp + 0x31], 0x5c
mov r8d, 0x37
lea rdx, [0x140282950]
lea rcx, [rbp - 0x70]
call fcn.1400405f0
mov dword [rbp - 0x10], 1
lea rax, [rbp - 0x70]
mov qword [rbp + 0x18], rax
lea rax, [rsp + 0x31]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.14004b8c0
nop
mov rax, qword [rbp - 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401088d6
cmp ecx, 0xffffffff
je 0x1401088e9
mov ecx, r15d
mov rax, qword [rbp - 0x70]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401088e9
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x70]
call fcn.140049bf0
nop
mov rax, qword [rbp - 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x140108908
cmp ecx, 0xffffffff
je 0x14010891a
mov ecx, r15d
mov rax, qword [rbp - 0x38]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14010891a
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x38]
call fcn.140049bf0
lea rcx, [rsp + 0x40]
call fcn.140046630
mov rdx, rax
lea rax, [rsp + 0x38]
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 0x140108f22
lea r8, [0x140282d30]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.140109850
mov rdx, qword [r13 + 0x20]
mov qword [rbp + 0xd8], rdx
mov rcx, qword [rax]
mov qword [r13 + 0x20], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x140108998
cmp ecx, 0xffffffff
je 0x1401089aa
mov ecx, r15d
mov rax, qword [rbp - 0x30]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401089aa
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x30]
call fcn.140049bf0
lea r8, [0x140282d00]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.140109850
mov rdx, qword [r13 + 0x28]
mov qword [rbp + 0xe0], rdx
mov rcx, qword [rax]
mov qword [r13 + 0x28], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401089f3
cmp ecx, 0xffffffff
je 0x140108a05
mov ecx, r15d
mov rax, qword [rbp - 0x28]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140108a05
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x28]
call fcn.140049bf0
lea r8, [0x140282cf8]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.140109850
mov rdx, qword [r13 + 0x30]
mov qword [rbp + 0xe8], rdx
mov rcx, qword [rax]
mov qword [r13 + 0x30], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x140108a4e
cmp ecx, 0xffffffff
je 0x140108a60
mov ecx, r15d
mov rax, qword [rbp - 0x20]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140108a60
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x20]
call fcn.140049bf0
mov dword [rbp + 8], 0xc
lea rax, [0x140282d40]
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 4]
add edx, 0xc
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.14003c140
mov rax, qword [rbp - 0x78]
mov rdi, qword [rax + 0x10]
add rdi, rax
mov rax, qword [rsp + 0x40]
movsxd rbx, dword [rax + 4]
add rbx, rbx
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.140123ea0
add rdi, rbx
mov r8, rdi
mov edx, dword [rbp + 8]
mov rcx, qword [rbp + 0x10]
call fcn.14003d3f0
nop
mov qword [rbp - 0x80], 0
lea rcx, [rbp - 0x78]
call fcn.140046630
mov rdx, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r9d, r9d
xor r8d, r8d
test eax, eax
jne 0x140108e22
mov dword [rbp - 0x68], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x140282d50]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 0x64], 4
lea rax, [rbp - 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140282d68]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [rbp - 0x60]
cmp esi, dword [rsp + 0x78]
jg 0x140108e13
nop
mov r8d, 0xa
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.1400421a0
nop
mov rcx, rax
call fcn.140046630
xor dil, dil
mov dword [rbp - 0x5c], 0x2c
lea rcx, [rbp - 0x5c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140108c07
mov dword [rsp + 0x48], eax
mov r14d, dword [rbp + 0xf4]
add r14d, dword [rbp + 0xf0]
mov dword [rsp + 0x4c], r14d
mov ebx, dword [rbp + 0xf8]
sub ebx, r14d
add ebx, dword [rbp + 0xf0]
mov dword [rsp + 0x50], ebx
movups xmm0, xmmword [rbp + 0xfc]
movups xmmword [rsp + 0x54], xmm0
movups xmm1, xmmword [rbp + 0x10c]
movups xmmword [rsp + 0x64], xmm1
mov dil, 1
jmp 0x140108c10
mov ebx, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x68], xmm1
movsd xmm0, qword [rsp + 0x68]
movsd qword [rbp + 0x78], xmm0
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x80], eax
mov rax, qword [rbp - 0x18]
mov ecx, dword [rax]
test ecx, ecx
je 0x140108c56
cmp ecx, 0xffffffff
je 0x140108c68
mov ecx, r15d
mov rax, qword [rbp - 0x18]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140108c68
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x18]
call fcn.140049bf0
test dil, dil
je 0x140108e07
lea rdi, [r13 + 0x38]
mov rcx, qword [rdi]
mov eax, dword [rcx + 8]
movzx r12d, word [rsp + 0x66]
cmp dword [rcx + 0xc], eax
je 0x140108d80
mov eax, dword [rcx]
cmp eax, 1
jbe 0x140108c9f
mov rax, qword [rdi]
mov edx, dword [rax + 4]
mov rcx, rdi
call fcn.140108090
mov rcx, qword [rdi]
movsxd rax, dword [rcx + 0xc]
mov rax, qword [rcx + rax*8 + 8]
movzx ecx, word [rsp + 0x54]
movzx edx, word [rsp + 0x56]
cmp word [rax + 0xc], cx
jne 0x140108d85
cmp word [rax + 0xe], dx
jne 0x140108d85
movzx ecx, word [rsp + 0x5a]
cmp word [rax + 0x12], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x58]
cmp word [rax + 0x10], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x5c]
cmp word [rax + 0x14], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x5e]
cmp word [rax + 0x16], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x60]
cmp word [rax + 0x18], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x62]
cmp word [rax + 0x1a], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x64]
cmp word [rax + 0x1c], cx
jne 0x140108d85
cmp word [rax + 0x1e], r12w
jne 0x140108d85
movzx ecx, word [rsp + 0x6a]
cmp word [rax + 0x22], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x68]
cmp word [rax + 0x20], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x6c]
cmp word [rax + 0x24], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x6e]
cmp word [rax + 0x26], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x70]
cmp word [rax + 0x28], cx
jne 0x140108d85
movzx ecx, word [rsp + 0x72]
cmp word [rax + 0x2a], cx
jne 0x140108d85
cmp dword [rax + 4], r14d
jne 0x140108d85
cmp dword [rax + 8], ebx
je 0x140108e07
jmp 0x140108d85
movzx edx, word [rsp + 0x56]
cmp byte [rsp + 0x30], 0
jne 0x140108de2
xor ecx, ecx
test r12w, r12w
sete cl
xor eax, eax
test dx, dx
sete al
cmp eax, ecx
je 0x140108de2
mov byte [rsp + 0x30], 1
mov qword [rbp + 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
lea rax, [0x1402d77f0]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov r9d, esi
lea rdx, [0x140282d80]
lea rcx, [rbp + 0x38]
call fcn.140035f50
mov rdx, qword [rdi]
mov r8d, esi
mov eax, dword [rdx + 8]
cmp dword [rdx + 0xc], eax
mov eax, 0xee943c90
cmove r8d, eax
mov dword [rbp + 0x58], r8d
lea rdx, [rbp + 0x58]
mov rcx, rdi
call fcn.1401073b0
inc esi
cmp esi, dword [rsp + 0x78]
jle 0x140108b70
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140108ee4
xor bl, bl
mov dword [rbp - 0x58], 0x2c
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
lea rdx, [0x140282d08]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140108e96
mov dword [rsp + 0x48], eax
mov ecx, dword [rbp + 0x124]
add ecx, dword [rbp + 0x120]
mov dword [rsp + 0x4c], ecx
mov eax, dword [rbp + 0x128]
sub eax, ecx
add eax, dword [rbp + 0x120]
mov dword [rsp + 0x50], eax
movups xmm0, xmmword [rbp + 0x12c]
movups xmmword [rsp + 0x54], xmm0
movups xmm1, xmmword [rbp + 0x13c]
movups xmmword [rsp + 0x64], xmm1
mov bl, 1
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x98], xmm1
movsd xmm0, qword [rsp + 0x68]
movsd qword [rbp + 0xa8], xmm0
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0xb0], eax
mov dword [rbp + 0x88], 0xee943c90
test bl, bl
je 0x140108ee4
lea rcx, [r13 + 0x38]
lea rdx, [rbp + 0x88]
call fcn.1401073b0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x140108f0f
cmp ecx, 0xffffffff
je 0x140108f22
mov ecx, r15d
mov rax, qword [rbp - 0x78]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140108f22
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x78]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x140108f43
cmp ecx, 0xffffffff
je 0x140108f56
mov ecx, r15d
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140108f56
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
call fcn.140049bf0
lea rbx, [r13 + 0x18]
mov rax, qword [r13 + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x140108fbd
lea rcx, [r13 + 0x10]
call fcn.140030510
mov rcx, rbx
call fcn.140030510
mov rax, qword [r13 + 0x20]
lea rcx, [0x1401a1e20]
cmp rax, rcx
je 0x140108fbd
mov qword [rbp - 8], rax
mov qword [r13 + 0x20], rcx
mov ecx, dword [rax]
test ecx, ecx
je 0x140108fab
cmp ecx, 0xffffffff
je 0x140108fbd
mov rax, qword [rbp - 8]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x140108fbd
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 8]
call fcn.140049bf0
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140121c90
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret