Function at 0x140034340
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r14, r9
mov rsi, r8
mov r12, rdx
mov edx, 0x104
lea rcx, [rsp + 0x38]
call fcn.14000c730
nop
xor edi, edi
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub rax, rbx
sar rax, 1
mov qword [rsp + 0x60], rax
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x1400343ca
mov dword [rsp + 0x54], 1
lea rdx, [0x1401d1a68]
lea rcx, [rsp + 0x54]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x30], eax
mov ecx, eax
add rcx, rcx
mov qword [rsp + 0x70], rcx
mov rax, rcx
shr rax, 0x20
test eax, eax
je 0x1400343fc
mov dword [rsp + 0x58], 1
lea rdx, [0x1401d1a68]
lea rcx, [rsp + 0x58]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x30], ecx
cmp qword [rsi + 0x18], 8
jb 0x14003440c
mov rdx, qword [rsi]
jmp 0x14003440f
mov rdx, rsi
mov rax, qword [r12]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test eax, eax
je 0x1400344b1
cmp r15d, 0xea
je 0x1400344b1
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140034460
inc rax
jmp 0x140034467
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
shl rax, 0x34
mov rsi, r15
or rsi, rax
movabs rax, 0x112100000000
or rsi, rax
test rbx, rbx
je 0x1400344a9
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov rax, rsi
jmp 0x14003469f
mov eax, dword [rsp + 0x50]
dec eax
cmp eax, 1
jbe 0x140034501
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400344d8
inc rax
jmp 0x1400344df
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
mov rsi, rax
shl rsi, 0x34
movabs rax, 0x12210000000d
jmp 0x14003448a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140034546
mov qword [r14 + 0x10], rdi
cmp qword [r14 + 0x18], 8
jb 0x140034517
mov r14, qword [r14]
mov word [r14], di
test rbx, rbx
je 0x140034537
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
movabs rax, 0x8000000000
jmp 0x14003469f
xor edx, edx
mov ecx, 2
div rcx
test edx, edx
je 0x14003456b
call fcn.140033970
mov rsi, rax
movabs rax, 0x13210000000d
jmp 0x14003448a
cmp r15d, 0xea
jne 0x1400345ba
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1400075f0
cmp qword [rsi + 0x18], 8
jb 0x14003458a
mov rsi, qword [rsi]
mov rax, qword [r12]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test r15d, r15d
je 0x1400345dc
call fcn.140033970
mov rsi, rax
mov eax, r15d
or rsi, rax
movabs rax, 0x142100000000
jmp 0x14003448a
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rdi
mov word [rsp + 0x78], di
cmp word [rbx], 0
jne 0x140034610
mov r8, rdi
jmp 0x14003461f
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140034614
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140007c60
nop
mov r9d, dword [rsp + 0x30]
shr r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.140007b20
nop
cmp qword [rsp + 0x90], 8
jb 0x14003465c
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rdi
mov word [rsp + 0x78], di
jmp 0x140034520
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400f5ff0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret