Function at 0x140082250
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x700
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rsp + 0x758], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x6f0], rax
mov r14d, r9d
mov r15, r8
mov r13d, edx
mov r12, rcx
xor edi, edi
mov word [rsp + 0x4e0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x4e2]
call fcn.1400ad2f0
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x60], edi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x4e0]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x14008254a
mov esi, edi
test edx, edx
je 0x140082543
nop word [rax + rax]
mov dword [rsp + 0x64], 0x100
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x64]
lea r8, [rsp + 0x2e0]
mov edx, esi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140082530
lea rdx, str.1.2.2.9220
lea rcx, [rsp + 0x2e0]
call fcn.1400776d0
test r14d, eax
je 0x140082530
mov qword [rsp + 0x70], rdi
mov r9d, r13d
or r9d, 0x20019
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x2e0]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140082530
mov ebp, edi
mov word [rsp + 0xd0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xd2]
call fcn.1400ad2f0
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.INSTALL_PATH
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14008250e
lea rcx, [rsp + 0xd0]
call fcn.1400763e0
test eax, eax
je 0x140082505
mov qword [rsp + 0xc0], 7
mov qword [rsp + 0xb8], rdi
mov word [rsp + 0xa8], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa0]
call fcn.140025a70
nop
mov rbx, qword [r15 + 0x28]
lea r9, [rsp + 0xa0]
mov r8, qword [rbx + 8]
mov rdx, rbx
mov rcx, r15
call fcn.14007fc40
mov rdi, rax
mov edx, 1
mov rcx, r15
call fcn.14007ee30
mov qword [rbx + 8], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rdi
cmp qword [rsp + 0xc0], 8
jb 0x14008250c
mov rcx, qword [rsp + 0xa8]
call fcn.1400ad0b8
xor edi, edi
jmp 0x14008250e
mov ebp, 1
jmp 0x14008250e
xor edi, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x140082530
mov r8d, r13d
lea rdx, [rsp + 0x2e0]
mov rcx, r12
call fcn.14007b850
inc esi
cmp esi, dword [rsp + 0x60]
jb 0x140082360
mov eax, 1
jmp 0x14008254f
mov eax, 1
jmp 0x14008254f
mov eax, 1
mov rcx, qword [rsp + 0x6f0]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x758]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret