Function at 0x1400bf770
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x278]
sub rsp, 0x370
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, r8
mov rdi, rdx
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8, rbx
lea rdx, [0x1402e0810]
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400bf9c4
lea r8, str.CurVer
lea rdx, [0x1402e0810]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400bf9c4
mov dword [rsp + 0x38], 0x80
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400bf9c4
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
lea r8d, [rax - 2]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_3683]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_4822]
cmp ax, 0x2e
jne 0x1400bf8e5
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_3683]
lea rdx, [0x1402f43cc]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x1400bf90c
lea rdx, [0x1402f43d0]
jmp 0x1400bf9be
lea rdx, [0x1402f43e8]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x1400bf92e
lea rdx, str.Version_97
jmp 0x1400bf9be
lea rdx, [0x1402f4408]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
lea rcx, [rsp + 0x30]
test eax, eax
je 0x1400bf922
lea rdx, [0x1402f440c]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x1400bf963
lea rdx, str.Version_2000
jmp 0x1400bf9be
lea rdx, [0x1402f4434]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x1400bf982
lea rdx, str.Version_2003
jmp 0x1400bf9be
lea rdx, [0x1402f445c]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x1400bf9a1
lea rdx, str.Version_2007
jmp 0x1400bf9be
lea rdx, [0x1402f4484]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
test eax, eax
jne 0x1400bf9c4
lea rdx, str.Version_2010
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, rdi
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret