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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
movaps xmmword [rsp + 0x220], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x218], rax
lea r12, [rsp + 0x208]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 - 8], r12
mov r13, qword [r8]
mov rbp, qword [r8 + 8]
cmp r13, rbp
je 0x1400d6dc9
lea rbx, [rsp + 0x48]
lea r14, [rsp + 0x1e0]
lea r15, [rsp + 0x200]
movzx eax, byte [r13 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r13]
cmovns rax, r13
mov qword [rsp + 0x1e0], rax
cmovs rcx, qword [r13 + 8]
mov qword [rsp + 0x1e8], rcx
mov rcx, rbx
mov rdx, r14
call fcn.1401f03c0
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov rdx, r14
mov r8, r12
mov r9, rbx
call fcn.1402ae320
mov rax, qword [rsp + 0x1e0]
test rax, rax
je 0x1400d756b
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400d6d9e
mov r12, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400d6d91
jmp 0x1400d6dab
mov r12, qword [rax + 0x10]
cmp qword [r12], rax
mov rax, r12
jne 0x1400d6d9e
cmp byte [rsp + 0x5f], 0
jns 0x1400d6dbc
mov rcx, qword [rsp + 0x48]
call fcn.140240d14
add r13, 0x18
cmp r13, rbp
jne 0x1400d6d2d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x1e0]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1400f7dd0
cmp byte [rsi + 0x17], 0
mov r8, rsi
jns 0x1400d6dfd
mov r8, qword [rsi]
mov rcx, rbx
mov rdx, rdi
mov r9d, ntohl
call fcn.1400f7f70
test eax, eax
je 0x1400d6ea1
mov edi, eax
mov ecx, 2
call fcn.1401de860
cmp edi, 2
je 0x1400d74c9
test al, al
je 0x1400d74c9
lea rdx, str.....chromeinstaller_setup_setup_util.cc
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov r8d, 0x196
mov r9d, 2
call fcn.1400e3550
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_open
mov r8d, 0xf
call fcn.14027e630
mov rcx, rax
mov rdx, rsi
call fcn.1400e3f70
lea rdx, str.__result_
mov r8d, ntohl
mov rcx, rax
call fcn.14027e630
mov rcx, rax
mov edx, edi
call fcn.140098a90
mov rcx, rbx
call fcn.1400e3a40
jmp 0x1400d74c9
movabs rbp, 0x7fffffffffffffff
lea rax, [rsp + 0x1d0]
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax - 8], rax
mov ecx, 0x210
call fcn.140240cd8
lea rdi, [rsp + 0x1b0]
mov qword [rdi], rax
lea rcx, [rbp + 0x109]
mov qword [rdi + 0x10], rcx
mov qword [rdi + 8], 0x100
mov r8d, 0x202
mov rcx, rax
xor edx, edx
call fcn.140244560
mov r15d, 0xa
lea r14, [rsp + 0x1ac]
mov r12, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor ebx, ebx
xor r13d, r13d
mov rax, qword [rsp + 0x1c0]
and rax, rbp
dec rax
cmp byte [rsp + 0x1c7], 0
cmovns rax, r15
mov rcx, rax
shr rcx, 0x20
neg rcx
mov edx, 0
sbb edx, edx
or edx, eax
mov dword [rsp + 0x1ac], edx
mov rcx, rdi
xor r8d, r8d
call fcn.1401dc480
cmp byte [rsp + 0x1c7], 0
mov r8, rdi
jns 0x1400d6f63
mov r8, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1e0]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, ebx
mov r9, r14
call r12
test eax, eax
je 0x1400d7008
cmp eax, 0xea
je 0x1400d6fae
cmp eax, 0x103
jne 0x1400d720c
xor ebx, ebx
test r13b, 1
mov r13d, 0
jne 0x1400d6f0f
jmp 0x1400d720c
movzx edx, byte [rsp + 0x1c7]
test dl, dl
mov rcx, qword [rsp + 0x1c0]
lea rax, [rcx + rcx - 2]
mov r8d, 0x14
cmovns rax, r8
lea r8, [rbp - 0x10]
cmp rax, r8
ja 0x1400d7597
test dl, dl
js 0x1400d7163
cmp rax, 0xb
jb 0x1400d7000
cmp rdx, rax
cmova rax, rdx
or rax, 7
mov rdx, rax
mov rcx, rdi
call fcn.1400c8fe0
mov ecx, r13d
jmp 0x1400d712e
mov edx, dword [rsp + 0x1ac]
mov rcx, rdi
xor r8d, r8d
call fcn.1401dc480
lea rcx, [rsp + 0x1c8]
mov rdx, rdi
call fcn.1400d9560
test rax, rax
jne 0x1400d715c
movzx eax, byte [rsp + 0x1c7]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x1b0]
cmovns rax, rdi
mov qword [rsp + 0x198], rax
cmovs rcx, qword [rsp + 0x1b8]
mov qword [rsp + 0x1a0], rcx
lea rcx, [rsp + 0x198]
call fcn.1400f6b70
test al, al
je 0x1400d7106
mov r15, r14
mov r14, rbp
mov rbp, r12
movzx eax, byte [rsp + 0x1c7]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x1b0]
cmovns rax, rdi
mov qword [rsp + 0x188], rax
cmovs rcx, qword [rsp + 0x1b8]
mov qword [rsp + 0x190], rcx
lea r12, [rsp + 0x48]
mov rcx, r12
lea rdx, [rsp + 0x188]
call fcn.1401f03c0
lea rcx, [rsp + 0x200]
mov rdx, r12
call fcn.1400d9560
mov r12, rax
cmp byte [rsp + 0x5f], 0
jns 0x1400d70f2
mov rcx, qword [rsp + 0x48]
call fcn.140240d14
test r12, r12
mov r12, rbp
mov rbp, r14
mov r14, r15
mov r15d, 0xa
jne 0x1400d7144
cmp byte [rsp + 0x1c7], 0
mov rdx, rdi
jns 0x1400d711b
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x1e0]
call fcn.1400f8110
mov cl, 1
test eax, eax
jne 0x1400d7136
mov r13d, ecx
jmp 0x1400d6f0f
mov ecx, 2
call fcn.1401de860
test al, al
jne 0x1400d719e
lea rcx, [rsp + 0x1c8]
lea rdx, [rsp + 0x48]
mov r8, rdi
mov r9, rdi
call fcn.1400d9680
inc ebx
jmp 0x1400d6f0f
and rcx, rbp
dec rcx
cmp rcx, rax
jae 0x1400d7000
mov rdx, qword [rsp + 0x1b8]
cmp rdx, rax
cmova rax, rdx
mov rdx, rax
or rdx, 7
cmp rax, 0xb
cmovb rdx, r15
cmp rdx, rcx
jne 0x1400d6ff8
jmp 0x1400d7000
lea rcx, [rsp + 0x48]
lea rdx, str.....chromeinstaller_setup_setup_util.cc
mov r8d, 0x1d1
mov r9d, 2
call fcn.1400e3550
mov r8d, 0x18
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_delete_subkey
call fcn.14027e630
mov rcx, rax
mov rdx, rdi
call fcn.1400e3f70
mov r8d, ntohl
mov rcx, rax
lea rdx, str._under_path
call fcn.14027e630
mov rcx, rax
mov rdx, rsi
call fcn.1400e3f70
lea rcx, [rsp + 0x48]
call fcn.1400e3a40
jmp 0x1400d7144
cmp qword [rsp + 0x1d8], 0
je 0x1400d7473
lea rdi, [rsp + 0x1c8]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.1400d94e0
lea rax, [rsp + 0x1d0]
mov qword [rdi], rax
xorps xmm6, xmm6
movups xmmword [rdi + 8], xmm6
mov r13d, 0xa
lea r14, [rsp + 0x1b0]
lea r12, [rbp - 0x10]
xor ebx, ebx
xor r15d, r15d
mov rax, qword [rsp + 0x1c0]
and rax, rbp
dec rax
cmp byte [rsp + 0x1c7], 0
cmovns rax, r13
cmp rax, 0x8000
movsx edx, ax
mov eax, 0x7fff
cmovae edx, eax
mov dword [rsp + 0x1ac], edx
mov rcx, r14
xor r8d, r8d
call fcn.1401dc480
cmp byte [rsp + 0x1c7], 0
mov r8, r14
jns 0x1400d72aa
mov r8, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1e0]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, ebx
lea r9, [rsp + 0x1ac]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x1400d7339
cmp dword [rsp + 0x1ac], 0x7ffe
ja 0x1400d74a1
movzx edx, byte [rsp + 0x1c7]
test dl, dl
mov rcx, qword [rsp + 0x1c0]
lea rax, [rcx + rcx - 2]
mov r8d, 0x14
cmovns rax, r8
cmp rax, r12
ja 0x1400d7597
test dl, dl
js 0x1400d735f
cmp rax, 0xb
jb 0x1400d732e
cmp rdx, rax
cmova rax, rdx
or rax, 7
mov rdx, rax
mov rcx, r14
call fcn.1400c8fe0
mov ecx, r15d
mov r15d, ecx
jmp 0x1400d7258
test eax, eax
je 0x1400d738f
cmp eax, 0x103
jne 0x1400d74a1
xor ebx, ebx
test r15b, 1
mov r15d, 0
jne 0x1400d7258
jmp 0x1400d74a1
and rcx, rbp
dec rcx
cmp rcx, rax
jae 0x1400d732e
mov rdx, qword [rsp + 0x1b8]
cmp rdx, rax
cmova rax, rdx
mov rdx, rax
or rdx, 7
cmp rax, 0xb
cmovb rdx, r13
cmp rdx, rcx
jne 0x1400d7326
jmp 0x1400d732e
mov edx, dword [rsp + 0x1ac]
mov rcx, r14
xor r8d, r8d
call fcn.1401dc480
mov rcx, rdi
mov rdx, r14
call fcn.1400d9560
test rax, rax
jne 0x1400d73fe
cmp byte [rsp + 0x1c7], 0
mov rdx, r14
jns 0x1400d73c6
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x1e0]
call fcn.1400f83d0
mov cl, 1
test eax, eax
je 0x1400d7331
mov ecx, 2
call fcn.1401de860
test al, al
jne 0x1400d7405
mov rcx, rdi
lea rdx, [rsp + 0x48]
mov r8, r14
mov r9, r14
call fcn.1400d9680
inc ebx
jmp 0x1400d7258
lea rcx, [rsp + 0x48]
lea rdx, str.....chromeinstaller_setup_setup_util.cc
mov r8d, 0x20e
mov r9d, 2
call fcn.1400e3550
mov r8d, 0x17
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_delete_value
call fcn.14027e630
mov rcx, rax
mov rdx, r14
call fcn.1400e3f70
mov r8d, 8
mov rcx, rax
lea rdx, str._in_key
call fcn.14027e630
mov rcx, rax
mov rdx, rsi
call fcn.1400e3f70
lea rcx, [rsp + 0x48]
call fcn.1400e3a40
jmp 0x1400d73eb
lea rdx, [0x1403ac59a]
lea rcx, [rsp + 0x1e0]
call fcn.1400f8110
test eax, eax
je 0x1400d74a1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 2
call fcn.1401de860
test al, al
jne 0x1400d7513
cmp byte [rsp + 0x1c7], 0
jns 0x1400d74b8
mov rcx, qword [rsp + 0x1b0]
call fcn.140240d14
lea rcx, [rsp + 0x1c8]
mov rdx, qword [rcx + 8]
call fcn.1400d94e0
lea rcx, [rsp + 0x1e0]
call fcn.1400f8090
lea rcx, [rsp + 0x200]
mov rdx, qword [rcx + 8]
call fcn.1400d94e0
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.140242430
movaps xmm6, xmmword [rsp + 0x220]
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstaller_setup_setup_util.cc
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0x1e0
mov r9d, 2
call fcn.1402b3940
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_delete_key
mov r8d, 0x15
call fcn.14027e630
mov rcx, rax
mov rdx, rsi
call fcn.1400e3f70
mov rcx, rdi
call fcn.1402b39c0
jmp 0x1400d74a1
lea rax, str.node_shouldnt_be_null
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__tree
lea r9, str.__x___nullptr
mov r8d, 0xc2
call fcn.140280b90
call fcn.14025af90
int3