Function at 0x1400360d0
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.14000c860
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 0x14003615a
mov dword [rsp + 0x54], 1
lea rdx, [0x1401f84c8]
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 0x14003618c
mov dword [rsp + 0x58], 1
lea rdx, [0x1401f84c8]
lea rcx, [rsp + 0x58]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x30], ecx
cmp qword [rsi + 0x18], 8
jb 0x14003619c
mov rdx, qword [rsi]
jmp 0x14003619f
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 0x140036241
cmp r15d, 0xea
je 0x140036241
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400361f0
inc rax
jmp 0x1400361f7
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
shl rax, 0x34
mov rsi, r15
or rsi, rax
movabs rax, 0x112100000000
or rsi, rax
test rbx, rbx
je 0x140036239
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 0x14003642f
mov eax, dword [rsp + 0x50]
dec eax
cmp eax, 1
jbe 0x140036291
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140036268
inc rax
jmp 0x14003626f
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
mov rsi, rax
shl rsi, 0x34
movabs rax, 0x12210000000d
jmp 0x14003621a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400362d6
mov qword [r14 + 0x10], rdi
cmp qword [r14 + 0x18], 8
jb 0x1400362a7
mov r14, qword [r14]
mov word [r14], di
test rbx, rbx
je 0x1400362c7
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 0x14003642f
xor edx, edx
mov ecx, 2
div rcx
test edx, edx
je 0x1400362fb
call fcn.140035700
mov rsi, rax
movabs rax, 0x13210000000d
jmp 0x14003621a
cmp r15d, 0xea
jne 0x14003634a
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140007690
cmp qword [rsi + 0x18], 8
jb 0x14003631a
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 0x14003636c
call fcn.140035700
mov rsi, rax
mov eax, r15d
or rsi, rax
movabs rax, 0x142100000000
jmp 0x14003621a
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 0x1400363a0
mov r8, rdi
jmp 0x1400363af
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400363a4
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140007d00
nop
mov r9d, dword [rsp + 0x30]
shr r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.140007bc0
nop
cmp qword [rsp + 0x90], 8
jb 0x1400363ec
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 0x1400362b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140107280
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret