Function at 0x14005060e
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, 0x268
movaps xmmword [rsp + 0x250], xmm6
mov r13, rdx
mov r14, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rax, [rsp + 0x238]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax - 8], rax
lea rcx, [rsp + 0x230]
mov qword [rsp + 0x220], rcx
mov qword [rsp + 0x228], rax
mov rdi, qword [r8]
mov rbp, qword [r8 + 8]
cmp rdi, rbp
je 0x1400506e3
lea rbx, [rsp + 0x70]
lea r15, [rsp + 0x208]
lea r12, [rsp + 0x220]
xor esi, esi
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
mov qword [rsp + 0x208], rcx
cmovs rax, qword [rdi + 8]
mov qword [rsp + 0x210], rax
mov rcx, rbx
mov rdx, r15
call fcn.14006c090
mov rcx, r12
mov rdx, rbx
call fcn.1400526f8
cmp byte [rsp + 0x87], sil
jns 0x1400506da
mov rcx, qword [rsp + 0x70]
call fcn.1401c9f6c
add rdi, 0x18
cmp rbp, rdi
jne 0x14005068e
lea rsi, [rsp + 0x208]
mov rcx, rsi
call fcn.140080110
cmp byte [r13 + 0x17], 0
mov r8, r13
jns 0x140050701
mov r8, qword [r13]
mov rcx, rsi
mov rdx, r14
mov r9d, 0xb
call fcn.1400802e0
test eax, eax
je 0x1400507b0
mov edi, eax
mov ecx, 2
call fcn.140060b40
cmp edi, 2
je 0x140050deb
test al, al
je 0x140050deb
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r8d, 0x2a6
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0x78]
lea rdx, str.Failed_to_open
mov r8d, 0xf
call fcn.140007184
cmp byte [r13 + 0x17], 0
jns 0x140050779
mov r13, qword [r13]
mov rcx, rax
mov rdx, r13
call fcn.140061a30
lea rdx, str.__result_
mov r8d, 0xb
mov rcx, rax
call fcn.140007184
mov rcx, rax
mov edx, edi
call fcn.1400222d6
mov rcx, rbx
call fcn.140061070
jmp 0x140050deb
mov qword [rsp + 0x50], r13
movabs rsi, 0x7fffffffffffffff
mov edi, 8
lea rcx, [rsp + 0x1f0]
lea rax, [rcx + rdi]
xorps xmm6, xmm6
movups xmmword [rcx + 8], xmm6
mov qword [rsp + 0x68], rax
mov qword [rcx], rax
mov ecx, 0x210
call fcn.1401c9f10
lea rbx, [rsp + 0x1d8]
mov qword [rbx], rax
movaps xmm0, xmmword [0x140207b50]
movups xmmword [rbx + 8], xmm0
lea rcx, [rsp + 0x70]
add rdi, rcx
mov qword [rsp + 0x60], rdi
xor r14d, r14d
mov r8d, 0x202
mov rcx, rax
xor edx, edx
call fcn.1401cd0e0
mov r12d, 0xa
lea rdi, [rsp + 0x1d4]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebp, 0x14
xor r13d, r13d
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x1e8]
and rax, rsi
dec rax
cmp byte [rsp + 0x1ef], r14b
cmovns rax, r12
mov rcx, rax
shr rcx, 0x20
cmp rcx, 1
mov edx, 0
sbb edx, edx
not edx
or edx, eax
mov dword [rsp + 0x1d4], edx
mov rcx, rbx
xor r8d, r8d
call fcn.14003ba62
cmp byte [rsp + 0x1ef], r14b
mov r8, rbx
jns 0x14005089b
mov r8, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x208]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, r13d
mov r9, rdi
call r15
cmp eax, 0xea
jne 0x1400508e3
cmp byte [rsp + 0x1ef], 0
mov rax, qword [rsp + 0x1e8]
lea rdx, [rax + rax - 2]
cmovns rdx, rbp
mov rcx, rbx
call fcn.14003bb52
jmp 0x140050844
test eax, eax
je 0x14005090d
cmp eax, 0x103
jne 0x140050ae3
xor r13d, r13d
test byte [rsp + 0x4c], 1
mov dword [rsp + 0x4c], 0
jne 0x140050844
jmp 0x140050ae3
mov edx, dword [rsp + 0x1d4]
mov rcx, rbx
xor r8d, r8d
call fcn.14003ba62
lea rcx, [rsp + 0x1f0]
mov rdx, rbx
call fcn.140052b22
test rax, rax
jne 0x140050adb
movzx eax, byte [rsp + 0x1ef]
test al, al
mov rcx, qword [rsp + 0x1d8]
cmovns rcx, rbx
mov qword [rsp + 0x1c0], rcx
cmovs rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1c8], rax
lea rcx, [rsp + 0x1c0]
call fcn.14006ca80
test al, al
je 0x1400509f5
movzx eax, byte [rsp + 0x1ef]
test al, al
mov rcx, qword [rsp + 0x1d8]
cmovns rcx, rbx
mov qword [rsp + 0x1b0], rcx
cmovs rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x70]
mov rcx, rax
lea rdx, [rsp + 0x1b0]
call fcn.14006c090
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x70]
call fcn.140052b22
cmp byte [rsp + 0x87], r14b
jns 0x1400509ec
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
call fcn.1401c9f6c
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140050ac3
cmp byte [rsp + 0x1ef], 0
mov rdx, rbx
jns 0x140050a0a
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x208]
call fcn.140080610
test eax, eax
jne 0x140050a26
mov al, 1
mov dword [rsp + 0x4c], eax
jmp 0x140050844
mov ecx, 2
call fcn.140060b40
test al, al
je 0x140050ac3
lea rcx, [rsp + 0x70]
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
mov r8d, 0x2e1
mov r9d, 2
call fcn.140060c10
mov r8d, 0x18
mov rcx, qword [rsp + 0x60]
lea rdx, str.Failed_to_delete_subkey
call fcn.140007184
cmp byte [rsp + 0x1ef], r14b
mov rdx, rbx
jns 0x140050a81
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call fcn.140061a30
mov r8d, 0xc
mov rcx, rax
lea rdx, str._under_path
call fcn.140007184
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x17], r14b
jns 0x140050ab1
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
mov rcx, rax
call fcn.140061a30
lea rcx, [rsp + 0x70]
call fcn.140061070
lea rcx, [rsp + 0x1f0]
lea rdx, [rsp + 0x70]
mov r8, rbx
mov r9, rbx
call fcn.140052be0
inc r13d
jmp 0x140050844
cmp qword [rsp + 0x200], 0
je 0x140050d34
lea rdi, [rsp + 0x1f0]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.1400120b8
mov rax, qword [rsp + 0x68]
mov qword [rdi], rax
xorps xmm6, xmm6
movups xmmword [rdi + 8], xmm6
xor edi, edi
mov r12d, 0xa
mov r13d, 0x7fff
lea rbp, [rsp + 0x1d8]
lea rbx, [rsp + 0x1d4]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor r14d, r14d
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x1e8]
and rax, rsi
dec rax
cmp byte [rsp + 0x1ef], dil
cmovns rax, r12
cmp rax, 0x8000
movsx edx, ax
cmovae edx, r13d
mov dword [rsp + 0x1d4], edx
mov rcx, rbp
xor r8d, r8d
call fcn.14003ba62
cmp byte [rsp + 0x1ef], dil
mov r8, rbp
jns 0x140050b93
mov r8, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x208]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, r14d
mov r9, rbx
call r15
cmp eax, 0xea
jne 0x140050bf1
cmp dword [rsp + 0x1d4], 0x7ffe
ja 0x140050dc3
cmp byte [rsp + 0x1ef], 0
mov rax, qword [rsp + 0x1e8]
lea rdx, [rax + rax - 2]
mov eax, 0x14
cmovns rdx, rax
mov rcx, rbp
call fcn.14003bb52
jmp 0x140050b45
test eax, eax
je 0x140050c1b
cmp eax, 0x103
jne 0x140050dc3
xor r14d, r14d
test byte [rsp + 0x4c], 1
mov dword [rsp + 0x4c], 0
jne 0x140050b45
jmp 0x140050dc3
mov edx, dword [rsp + 0x1d4]
mov rcx, rbp
xor r8d, r8d
call fcn.14003ba62
lea rcx, [rsp + 0x1f0]
mov rdx, rbp
call fcn.140052b22
test rax, rax
jne 0x140050d2c
cmp byte [rsp + 0x1ef], 0
mov rdx, rbp
jns 0x140050c5b
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x208]
call fcn.140080a50
test eax, eax
jne 0x140050c77
mov al, 1
mov dword [rsp + 0x4c], eax
jmp 0x140050b45
mov ecx, 2
call fcn.140060b40
test al, al
je 0x140050d14
lea rcx, [rsp + 0x70]
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
mov r8d, 0x31e
mov r9d, 2
call fcn.140060c10
mov r8d, 0x17
lea rcx, [rsp + 0x78]
lea rdx, str.Failed_to_delete_value
call fcn.140007184
cmp byte [rsp + 0x1ef], dil
mov rdx, rbp
jns 0x140050cd2
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call fcn.140061a30
mov r8d, 8
mov rcx, rax
lea rdx, str._in_key
call fcn.140007184
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x17], dil
jns 0x140050d02
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
mov rcx, rax
call fcn.140061a30
lea rcx, [rsp + 0x70]
call fcn.140061070
lea rcx, [rsp + 0x1f0]
lea rdx, [rsp + 0x70]
mov r8, rbp
mov r9, rbp
call fcn.140052be0
inc r14d
jmp 0x140050b45
lea rdx, [0x1401ffafa]
lea rcx, [rsp + 0x208]
call fcn.140080610
test eax, eax
je 0x140050dc3
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 2
call fcn.140060b40
test al, al
je 0x140050dc3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
lea rsi, [rsp + 0x70]
mov rcx, rsi
mov r8d, 0x2f0
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x80]
lea rdx, str.Failed_to_delete_key
mov r8d, 0x15
call fcn.140007184
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x17], 0
jns 0x140050db3
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140061a30
mov rcx, rsi
call fcn.140061980
cmp byte [rsp + 0x1ef], 0
jns 0x140050dda
mov rcx, qword [rsp + 0x1d8]
call fcn.1401c9f6c
lea rcx, [rsp + 0x1f0]
mov rdx, qword [rcx + 8]
call fcn.1400120b8
lea rcx, [rsp + 0x208]
call fcn.140080370
lea rcx, [rsp + 0x230]
mov rdx, qword [rcx + 8]
call fcn.1400120b8
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401ca2e0
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret