Function at 0x1400608d0
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, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov qword [rsp + 0x50], rdx
mov rdi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x238], rax
lea r12, [rsp + 0x220]
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 0x1400609e0
lea rbx, [rsp + 0x58]
lea r14, [rsp + 0x1f0]
lea r15, [rsp + 0x218]
jmp 0x140060966
mov r12, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140060941
cmp byte [rsp + 0x6f], 0
jns 0x14006095d
mov rcx, qword [rsp + 0x58]
call fcn.1401a0fa4
add r13, 0x18
cmp r13, rbp
je 0x1400609e0
movzx eax, byte [r13 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r13]
cmovns rax, r13
mov qword [rsp + 0x1f0], rax
cmovs rcx, qword [r13 + 8]
mov qword [rsp + 0x1f8], rcx
mov rcx, rbx
mov rdx, r14
call fcn.14013f0a0
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov rdx, r14
mov r8, r12
mov r9, rbx
call fcn.14020b020
mov rax, qword [rsp + 0x1f0]
test rax, rax
je 0x1400612dc
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140060941
mov r12, qword [rax + 0x10]
cmp qword [r12], rax
mov rax, r12
jne 0x1400609ce
jmp 0x14006094c
movaps xmm0, xmmword [0x14032ae20]
lea rbx, [rsp + 0x1f0]
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.140074740
mov rsi, qword [rsp + 0x50]
cmp byte [rsi + 0x17], 0
mov r8, rsi
jns 0x140060a0f
mov r8, qword [rsi]
mov rcx, rbx
mov rdx, rdi
mov r9d, ntohl
call fcn.140074150
test eax, eax
je 0x140060c33
mov edi, eax
mov ecx, 2
call fcn.140151850
cmp edi, 2
je 0x140060bbf
test al, al
je 0x140060bbf
lea rdx, str.....chromeinstaller_setup_setup_util.cc
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r8d, 0x192
mov r9d, 2
call fcn.140087f20
lea rcx, [rsp + 0x68]
lea rdx, str.Failed_to_open
mov r8d, 0xf
call fcn.1401e2360
mov rcx, rax
mov rdx, rsi
call fcn.140088a90
lea rdx, str.__result_
mov r8d, ntohl
mov rcx, rax
call fcn.1401e2360
mov rcx, rax
mov edx, edi
call fcn.140038850
mov rcx, rbx
call fcn.140088400
jmp 0x140060bbf
movzx edx, byte [rsp + 0x1d7]
test dl, dl
mov rcx, qword [rsp + 0x1d0]
lea rax, [rcx + rcx - 2]
mov r8d, 0x14
cmovns rax, r8
cmp rax, r15
ja 0x140061308
test dl, dl
js 0x1400612a1
cmp rax, 0xb
jb 0x140060b01
cmp rdx, rax
cmova rax, rdx
or rax, 7
mov rdx, rax
mov rcx, rsi
call fcn.14005c3b0
mov ecx, r12d
mov r12d, ecx
mov rax, qword [rsp + 0x1d0]
and rax, r14
dec rax
cmp byte [rsp + 0x1d7], 0
cmovns rax, rdi
cmp rax, 0x8000
movsx edx, ax
mov eax, 0x7fff
cmovae edx, eax
mov dword [rsp + 0x1bc], edx
mov rcx, rsi
xor r8d, r8d
call fcn.14013c2c0
cmp byte [rsp + 0x1d7], 0
mov r8, rsi
jns 0x140060b59
mov r8, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1f8]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, ebx
lea r9, [rsp + 0x1bc]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x140060c09
cmp dword [rsp + 0x1bc], 0x7ffe
jbe 0x140060ab3
cmp byte [rsp + 0x1d7], 0
jns 0x140060bae
mov rcx, qword [rsp + 0x1c0]
call fcn.1401a0fa4
lea rcx, [rsp + 0x1d8]
mov rdx, qword [rcx + 8]
call fcn.1400630c0
lea rcx, [rsp + 0x1f0]
call fcn.140074840
lea rcx, [rsp + 0x218]
mov rdx, qword [rcx + 8]
call fcn.1400630c0
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1401a2750
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test eax, eax
je 0x1400611bb
cmp eax, 0x103
jne 0x140060b97
xor ebx, ebx
test r12b, 1
mov r12d, 0
jne 0x140060b07
jmp 0x140060b97
movabs r14, 0x7fffffffffffffff
lea rax, [rsp + 0x1e0]
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax - 8], rax
mov ecx, 0x210
call fcn.1401a0f68
lea rdi, [rsp + 0x1c0]
mov qword [rdi], rax
lea rcx, [r14 + 0x109]
mov qword [rdi + 0x10], rcx
mov qword [rdi + 8], 0x100
mov r8d, 0x202
mov rcx, rax
xor edx, edx
call fcn.1401a48a0
mov r15d, 0xa
lea rbx, [rsp + 0x1bc]
mov r12, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rsi, [rsp + 0x58]
xor r13d, r13d
xor ebp, ebp
jmp 0x140060e3f
lea rdx, [0x14032d09a]
lea rcx, [rsp + 0x1f0]
call fcn.140074200
test eax, eax
je 0x140060b97
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 2
call fcn.140151850
test al, al
je 0x140060b97
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstaller_setup_setup_util.cc
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov r8d, 0x1dc
mov r9d, 2
call fcn.140215d50
lea rcx, [rsp + 0x68]
lea rdx, str.Failed_to_delete_key
mov r8d, 0x15
call fcn.1401e2360
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.140088a90
mov rcx, rdi
call fcn.140215dd0
jmp 0x140060b97
and rcx, r14
dec rcx
cmp rcx, rax
jae 0x140060e3b
mov rdx, qword [rsp + 0x1c8]
cmp rdx, rax
cmova rax, rdx
mov rdx, rax
or rdx, 7
cmp rax, 0xb
cmovb rdx, r15
cmp rdx, rcx
jne 0x140060e33
jmp 0x140060e3b
add r14, 8
mov r14, qword [r14]
test r14, r14
mov rbx, r15
mov r15d, 0xa
je 0x140060f5e
mov r15, rbx
lea rbx, [r14 + 0x20]
mov rsi, rbp
mov rcx, rbp
mov rdx, rdi
mov r8, rbx
call fcn.140137800
cmp byte [rsp + 0x58], 0
js 0x140060d7a
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140137800
cmp byte [rsp + 0x58], 0
js 0x140060d76
inc r13d
mov rbx, r15
mov r15d, 0xa
mov r12, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
movabs r14, 0x7fffffffffffffff
mov rsi, rbp
mov ebp, dword [rsp + 0x4c]
jmp 0x140060e3f
movzx edx, byte [rsp + 0x1d7]
test dl, dl
mov rcx, qword [rsp + 0x1d0]
lea rax, [rcx + rcx - 2]
mov r8d, 0x14
cmovns rax, r8
lea r8, [r14 - 0x10]
cmp rax, r8
ja 0x140061308
test dl, dl
js 0x140060d3b
cmp rax, 0xb
jb 0x140060e3b
cmp rdx, rax
cmova rax, rdx
or rax, 7
mov rdx, rax
mov rcx, rdi
call fcn.14005c3b0
mov ecx, ebp
mov ebp, ecx
mov rax, qword [rsp + 0x1d0]
and rax, r14
dec rax
cmp byte [rsp + 0x1d7], 0
cmovns rax, r15
mov rcx, rax
shr rcx, 0x20
neg rcx
mov edx, 0
sbb edx, edx
or edx, eax
mov dword [rsp + 0x1bc], edx
mov rcx, rdi
xor r8d, r8d
call fcn.14013c2c0
cmp byte [rsp + 0x1d7], 0
mov r8, rdi
jns 0x140060e93
mov r8, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1f8]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, r13d
mov r9, rbx
call r12
test eax, eax
je 0x140060f2c
cmp eax, 0xea
je 0x140060de9
cmp eax, 0x103
jne 0x140060ed6
xor r13d, r13d
test bpl, 1
mov ebp, 0
jne 0x140060e3f
cmp qword [rsp + 0x1e8], 0
je 0x140060cab
lea rbp, [rsp + 0x1d8]
mov rdx, qword [rbp + 8]
mov rcx, rbp
call fcn.1400630c0
lea rax, [rsp + 0x1e0]
mov qword [rbp], rax
xorps xmm6, xmm6
movups xmmword [rbp + 8], xmm6
lea r13, [rsp + 0x68]
mov edi, 0xa
lea rsi, [rsp + 0x1c0]
lea r15, [r14 - 0x10]
xor ebx, ebx
xor r12d, r12d
jmp 0x140060b07
mov dword [rsp + 0x4c], ebp
mov rbp, rsi
mov edx, dword [rsp + 0x1bc]
mov rcx, rdi
xor r8d, r8d
call fcn.14013c2c0
mov r14, qword [rsp + 0x1e0]
test r14, r14
lea r12, [rsp + 0x237]
jne 0x140060d8f
movzx eax, byte [rsp + 0x1d7]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x1c0]
cmovns rax, rdi
mov qword [rsp + 0x1a8], rax
cmovs rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x1b0], rcx
lea rcx, [rsp + 0x1a8]
call fcn.140075b60
test al, al
je 0x14006101f
mov r15, rbx
movzx eax, byte [rsp + 0x1d7]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0x1c0]
cmovns rax, rdi
mov qword [rsp + 0x198], rax
cmovs rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x1a0], rcx
mov rcx, rbp
lea rdx, [rsp + 0x198]
call fcn.14013f0a0
mov r14, qword [rsp + 0x220]
test r14, r14
jne 0x14006108f
xor ebx, ebx
cmp byte [rsp + 0x6f], 0
jns 0x14006100e
mov rcx, qword [rsp + 0x58]
call fcn.1401a0fa4
test bl, bl
mov rbx, r15
mov r15d, 0xa
jne 0x14006114c
cmp byte [rsp + 0x1d7], 0
mov rdx, rdi
mov r12, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jns 0x14006103b
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x1f0]
call fcn.140074200
mov cl, 1
test eax, eax
movabs r14, 0x7fffffffffffffff
mov rsi, rbp
je 0x140060e3d
mov ecx, 2
call fcn.140151850
test al, al
jne 0x1400610e0
lea rcx, [rsp + 0x1d8]
mov rdx, rsi
mov r8, rdi
mov r9, rdi
call fcn.140063110
inc r13d
mov ebp, dword [rsp + 0x4c]
jmp 0x140060e3f
lea rbx, [r14 + 0x20]
mov rcx, r12
mov rsi, rbp
mov rdx, rbp
mov r8, rbx
call fcn.140137800
cmp byte [rsp + 0x237], 0
js 0x1400610d0
mov rcx, r12
mov rdx, rbx
mov r8, rsi
call fcn.140137800
cmp byte [rsp + 0x237], 0
mov bl, 1
jns 0x140060ffd
add r14, 8
mov r14, qword [r14]
xor ebx, ebx
test r14, r14
je 0x140060ffd
jmp 0x14006108f
mov rcx, rsi
lea rdx, str.....chromeinstaller_setup_setup_util.cc
mov r8d, 0x1cd
mov r9d, 2
call fcn.140087f20
mov r8d, 0x18
lea rcx, [rsp + 0x68]
lea rdx, str.Failed_to_delete_subkey
call fcn.1401e2360
mov rcx, rax
mov rdx, rdi
call fcn.140088a90
mov r8d, ntohl
mov rcx, rax
lea rdx, str._under_path
call fcn.1401e2360
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.140088a90
mov rcx, rsi
call fcn.140088400
jmp 0x14006106d
lea rcx, [rsp + 0x1d8]
mov rdx, rbp
mov r8, rdi
mov r9, rdi
call fcn.140063110
inc r13d
jmp 0x140060dcf
lea r13, [rdi + 0x20]
lea rcx, [rsp + 0x58]
mov rdx, rsi
mov r8, r13
call fcn.140137800
cmp byte [rsp + 0x58], 0
js 0x1400611b1
lea rcx, [rsp + 0x58]
mov rdx, r13
mov r8, rsi
call fcn.140137800
cmp byte [rsp + 0x58], 0
js 0x1400611ad
inc ebx
lea r13, [rsp + 0x68]
mov edi, 0xa
jmp 0x140060b07
add rdi, 8
lea r13, [rsp + 0x68]
mov rdi, qword [rdi]
jmp 0x1400611d5
mov edx, dword [rsp + 0x1bc]
mov rcx, rsi
xor r8d, r8d
call fcn.14013c2c0
mov rdi, qword [rsp + 0x1e0]
test rdi, rdi
jne 0x14006116a
cmp byte [rsp + 0x1d7], 0
mov rdx, rsi
mov edi, 0xa
jns 0x1400611f4
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x1f0]
call fcn.1400744c0
mov cl, 1
test eax, eax
je 0x140060b04
mov ecx, 2
call fcn.140151850
test al, al
jne 0x140061233
mov rcx, rbp
lea rdx, [rsp + 0x58]
mov r8, rsi
mov r9, rsi
call fcn.140063110
inc ebx
jmp 0x140060b07
lea rcx, [rsp + 0x58]
lea rdx, str.....chromeinstaller_setup_setup_util.cc
mov r8d, 0x20a
mov r9d, 2
call fcn.140087f20
mov r8d, 0x17
mov rcx, r13
lea rdx, str.Failed_to_delete_value
call fcn.1401e2360
mov rcx, rax
mov rdx, rsi
call fcn.140088a90
mov r8d, 8
mov rcx, rax
lea rdx, str._in_key
call fcn.1401e2360
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.140088a90
lea rcx, [rsp + 0x58]
call fcn.140088400
jmp 0x140061219
and rcx, r14
dec rcx
cmp rcx, rax
jae 0x140060b01
mov rdx, qword [rsp + 0x1c8]
cmp rdx, rax
cmova rax, rdx
mov rdx, rax
or rdx, 7
cmp rax, 0xb
cmovb rdx, rdi
cmp rdx, rcx
jne 0x140060af9
jmp 0x140060b01
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, 0xcf
call fcn.1401e43d0
lea rcx, [rsp + 0x1c0]
call fcn.1401e22a0
int3