Function at 0x1400e1d90
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 [0x14042f038]
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 0x1400e1e99
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.1402017c0
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov rdx, r14
mov r8, r12
mov r9, rbx
call fcn.1402c0280
mov rax, qword [rsp + 0x1e0]
test rax, rax
je 0x1400e263c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400e1e6e
mov r12, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400e1e61
jmp 0x1400e1e7b
mov r12, qword [rax + 0x10]
cmp qword [r12], rax
mov rax, r12
jne 0x1400e1e6e
cmp byte [rsp + 0x5f], 0
jns 0x1400e1e8c
mov rcx, qword [rsp + 0x48]
call fcn.14024ac18
add r13, 0x18
cmp r13, rbp
jne 0x1400e1dfd
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x1e0]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1403be790]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.140102c30
cmp byte [rsi + 0x17], 0
mov r8, rsi
jns 0x1400e1ecd
mov r8, qword [rsi]
mov rcx, rbx
mov rdx, rdi
mov r9d, ntohl
call fcn.140102dd0
test eax, eax
je 0x1400e1f71
mov edi, eax
mov ecx, 2
call fcn.1401ee3d0
cmp edi, 2
je 0x1400e259a
test al, al
je 0x1400e259a
lea rdx, str.....chromeinstaller_setup_setup_util.cc
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov r8d, 0x192
mov r9d, 2
call fcn.1400ee420
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_open
mov r8d, 0xf
call fcn.1402885e0
mov rcx, rax
mov rdx, rsi
call fcn.1400eee50
lea rdx, str.__result_
mov r8d, ntohl
mov rcx, rax
call fcn.1402885e0
mov rcx, rax
mov edx, edi
call fcn.140098a90
mov rcx, rbx
call fcn.1400ee910
jmp 0x1400e259a
movabs r12, 0x7fffffffffffffff
lea rax, [rsp + 0x1d0]
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax - 8], rax
mov ecx, 0x210
call fcn.14024abdc
lea rdi, [rsp + 0x1b0]
mov qword [rdi], rax
lea rcx, [r12 + 0x109]
mov qword [rdi + 0x10], rcx
mov qword [rdi + 8], 0x100
mov r8d, 0x202
mov rcx, rax
xor edx, edx
call fcn.14024e4f0
mov r15d, 0xa
lea r14, [rsp + 0x1ac]
mov r13, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor ebx, ebx
xor ebp, ebp
mov rax, qword [rsp + 0x1c0]
and rax, r12
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.1401eb900
cmp byte [rsp + 0x1c7], 0
mov r8, rdi
jns 0x1400e2033
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 r13
test eax, eax
je 0x1400e20d7
cmp eax, 0xea
je 0x1400e207d
cmp eax, 0x103
jne 0x1400e22da
xor ebx, ebx
test bpl, 1
mov ebp, 0
jne 0x1400e1fdf
jmp 0x1400e22da
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, [r12 - 0x10]
cmp rax, r8
ja 0x1400e2668
test dl, dl
js 0x1400e2231
cmp rax, 0xb
jb 0x1400e20d0
cmp rdx, rax
cmova rax, rdx
or rax, 7
mov rdx, rax
mov rcx, rdi
call fcn.1400d3c90
mov ecx, ebp
jmp 0x1400e21fd
mov edx, dword [rsp + 0x1ac]
mov rcx, rdi
xor r8d, r8d
call fcn.1401eb900
lea rcx, [rsp + 0x1c8]
mov rdx, rdi
call fcn.1400e4660
test rax, rax
jne 0x1400e222a
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.140101830
test al, al
je 0x1400e21d5
mov r15, r14
mov r14, r13
mov r13, 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.1402017c0
lea rcx, [rsp + 0x200]
mov rdx, r12
call fcn.1400e4660
mov r12, rax
cmp byte [rsp + 0x5f], 0
jns 0x1400e21c1
mov rcx, qword [rsp + 0x48]
call fcn.14024ac18
test r12, r12
mov r12, r13
mov r13, r14
mov r14, r15
mov r15d, 0xa
jne 0x1400e2212
cmp byte [rsp + 0x1c7], 0
mov rdx, rdi
jns 0x1400e21ea
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x1e0]
call fcn.140102f70
mov cl, 1
test eax, eax
jne 0x1400e2204
mov ebp, ecx
jmp 0x1400e1fdf
mov ecx, 2
call fcn.1401ee3d0
test al, al
jne 0x1400e226c
lea rcx, [rsp + 0x1c8]
lea rdx, [rsp + 0x48]
mov r8, rdi
mov r9, rdi
call fcn.1400e4780
inc ebx
jmp 0x1400e1fdf
and rcx, r12
dec rcx
cmp rcx, rax
jae 0x1400e20d0
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 0x1400e20c8
jmp 0x1400e20d0
lea rcx, [rsp + 0x48]
lea rdx, str.....chromeinstaller_setup_setup_util.cc
mov r8d, 0x1cd
mov r9d, 2
call fcn.1400ee420
mov r8d, 0x18
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_delete_subkey
call fcn.1402885e0
mov rcx, rax
mov rdx, rdi
call fcn.1400eee50
mov r8d, ntohl
mov rcx, rax
lea rdx, str._under_path
call fcn.1402885e0
mov rcx, rax
mov rdx, rsi
call fcn.1400eee50
lea rcx, [rsp + 0x48]
call fcn.1400ee910
jmp 0x1400e2212
cmp qword [rsp + 0x1d8], 0
je 0x1400e2544
lea rdi, [rsp + 0x1c8]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.1400e45e0
lea rax, [rsp + 0x1d0]
mov qword [rdi], rax
xorps xmm6, xmm6
movups xmmword [rdi + 8], xmm6
mov ebp, 0xa
lea r14, [rsp + 0x1b0]
mov r15, r12
lea r13, [r12 - 0x10]
xor ebx, ebx
xor r12d, r12d
mov rax, qword [rsp + 0x1c0]
and rax, r15
dec rax
cmp byte [rsp + 0x1c7], 0
cmovns rax, rbp
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.1401eb900
cmp byte [rsp + 0x1c7], 0
mov r8, r14
jns 0x1400e237b
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 0x1400e240a
cmp dword [rsp + 0x1ac], 0x7ffe
ja 0x1400e2572
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, r13
ja 0x1400e2668
test dl, dl
js 0x1400e2430
cmp rax, 0xb
jb 0x1400e23ff
cmp rdx, rax
cmova rax, rdx
or rax, 7
mov rdx, rax
mov rcx, r14
call fcn.1400d3c90
mov ecx, r12d
mov r12d, ecx
jmp 0x1400e2329
test eax, eax
je 0x1400e2460
cmp eax, 0x103
jne 0x1400e2572
xor ebx, ebx
test r12b, 1
mov r12d, 0
jne 0x1400e2329
jmp 0x1400e2572
and rcx, r15
dec rcx
cmp rcx, rax
jae 0x1400e23ff
mov rdx, qword [rsp + 0x1b8]
cmp rdx, rax
cmova rax, rdx
mov rdx, rax
or rdx, 7
cmp rax, 0xb
cmovb rdx, rbp
cmp rdx, rcx
jne 0x1400e23f7
jmp 0x1400e23ff
mov edx, dword [rsp + 0x1ac]
mov rcx, r14
xor r8d, r8d
call fcn.1401eb900
mov rcx, rdi
mov rdx, r14
call fcn.1400e4660
test rax, rax
jne 0x1400e24cf
cmp byte [rsp + 0x1c7], 0
mov rdx, r14
jns 0x1400e2497
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x1e0]
call fcn.140103230
mov cl, 1
test eax, eax
je 0x1400e2402
mov ecx, 2
call fcn.1401ee3d0
test al, al
jne 0x1400e24d6
mov rcx, rdi
lea rdx, [rsp + 0x48]
mov r8, r14
mov r9, r14
call fcn.1400e4780
inc ebx
jmp 0x1400e2329
lea rcx, [rsp + 0x48]
lea rdx, str.....chromeinstaller_setup_setup_util.cc
mov r8d, 0x20a
mov r9d, 2
call fcn.1400ee420
mov r8d, 0x17
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_delete_value
call fcn.1402885e0
mov rcx, rax
mov rdx, r14
call fcn.1400eee50
mov r8d, 8
mov rcx, rax
lea rdx, str._in_key
call fcn.1402885e0
mov rcx, rax
mov rdx, rsi
call fcn.1400eee50
lea rcx, [rsp + 0x48]
call fcn.1400ee910
jmp 0x1400e24bc
lea rdx, [0x1403c08da]
lea rcx, [rsp + 0x1e0]
call fcn.140102f70
test eax, eax
je 0x1400e2572
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 2
call fcn.1401ee3d0
test al, al
jne 0x1400e25e4
cmp byte [rsp + 0x1c7], 0
jns 0x1400e2589
mov rcx, qword [rsp + 0x1b0]
call fcn.14024ac18
lea rcx, [rsp + 0x1c8]
mov rdx, qword [rcx + 8]
call fcn.1400e45e0
lea rcx, [rsp + 0x1e0]
call fcn.140102ef0
lea rcx, [rsp + 0x200]
mov rdx, qword [rcx + 8]
call fcn.1400e45e0
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.14024c3c0
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, 0x1dc
mov r9d, 2
call fcn.1402c61f0
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_to_delete_key
mov r8d, 0x15
call fcn.1402885e0
mov rcx, rax
mov rdx, rsi
call fcn.1400eee50
mov rcx, rdi
call fcn.1402c6270
jmp 0x1400e2572
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.14028c680
call fcn.140264f20
int3