Function at 0x14003a608
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 [0x1401b6b28]
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 0x14003a6dd
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.14004f9b0
mov rcx, r12
mov rdx, rbx
call fcn.14003cbe6
cmp byte [rsp + 0x87], sil
jns 0x14003a6d4
mov rcx, qword [rsp + 0x70]
call fcn.140147c5c
add rdi, 0x18
cmp rbp, rdi
jne 0x14003a688
lea rsi, [rsp + 0x208]
mov rcx, rsi
call fcn.14005af40
cmp byte [r13 + 0x17], 0
mov r8, r13
jns 0x14003a6fb
mov r8, qword [r13]
mov rcx, rsi
mov rdx, r14
mov r9d, ntohl
call fcn.14005b110
test eax, eax
je 0x14003a7aa
mov edi, eax
mov ecx, 2
call fcn.1400481e0
cmp edi, 2
je 0x14003ade5
test al, al
je 0x14003ade5
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r8d, 0x231
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x78]
lea rdx, str.Failed_to_open
mov r8d, 0xf
call fcn.140006489
cmp byte [r13 + 0x17], 0
jns 0x14003a773
mov r13, qword [r13]
mov rcx, rax
mov rdx, r13
call fcn.1400490b0
lea rdx, str.__result_
mov r8d, ntohl
mov rcx, rax
call fcn.140006489
mov rcx, rax
mov edx, edi
call fcn.14001174c
mov rcx, rbx
call fcn.1400486f0
jmp 0x14003ade5
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.140147c20
lea rbx, [rsp + 0x1d8]
mov qword [rbx], rax
movaps xmm0, xmmword [0x14017aab0]
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.14014adf0
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.14002aaf0
cmp byte [rsp + 0x1ef], r14b
mov r8, rbx
jns 0x14003a895
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 0x14003a8dd
cmp byte [rsp + 0x1ef], 0
mov rax, qword [rsp + 0x1e8]
lea rdx, [rax + rax - 2]
cmovns rdx, rbp
mov rcx, rbx
call fcn.14002abe0
jmp 0x14003a83e
test eax, eax
je 0x14003a907
cmp eax, 0x103
jne 0x14003aadd
xor r13d, r13d
test byte [rsp + 0x4c], 1
mov dword [rsp + 0x4c], 0
jne 0x14003a83e
jmp 0x14003aadd
mov edx, dword [rsp + 0x1d4]
mov rcx, rbx
xor r8d, r8d
call fcn.14002aaf0
lea rcx, [rsp + 0x1f0]
mov rdx, rbx
call fcn.14003d1e6
test rax, rax
jne 0x14003aad5
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.1400503a0
test al, al
je 0x14003a9ef
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.14004f9b0
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x70]
call fcn.14003d1e6
cmp byte [rsp + 0x87], r14b
jns 0x14003a9e6
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
call fcn.140147c5c
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x14003aabd
cmp byte [rsp + 0x1ef], 0
mov rdx, rbx
jns 0x14003aa04
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x208]
call fcn.14005b440
test eax, eax
jne 0x14003aa20
mov al, 1
mov dword [rsp + 0x4c], eax
jmp 0x14003a83e
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14003aabd
lea rcx, [rsp + 0x70]
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
mov r8d, 0x26c
mov r9d, 2
call fcn.140048290
mov r8d, 0x18
mov rcx, qword [rsp + 0x60]
lea rdx, str.Failed_to_delete_subkey
call fcn.140006489
cmp byte [rsp + 0x1ef], r14b
mov rdx, rbx
jns 0x14003aa7b
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call fcn.1400490b0
mov r8d, ntohl
mov rcx, rax
lea rdx, str._under_path
call fcn.140006489
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x17], r14b
jns 0x14003aaab
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
mov rcx, rax
call fcn.1400490b0
lea rcx, [rsp + 0x70]
call fcn.1400486f0
lea rcx, [rsp + 0x1f0]
lea rdx, [rsp + 0x70]
mov r8, rbx
mov r9, rbx
call fcn.14003d2a4
inc r13d
jmp 0x14003a83e
cmp qword [rsp + 0x200], 0
je 0x14003ad2e
lea rdi, [rsp + 0x1f0]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14003cb9c
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.14002aaf0
cmp byte [rsp + 0x1ef], dil
mov r8, rbp
jns 0x14003ab8d
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 0x14003abeb
cmp dword [rsp + 0x1d4], 0x7ffe
ja 0x14003adbd
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.14002abe0
jmp 0x14003ab3f
test eax, eax
je 0x14003ac15
cmp eax, 0x103
jne 0x14003adbd
xor r14d, r14d
test byte [rsp + 0x4c], 1
mov dword [rsp + 0x4c], 0
jne 0x14003ab3f
jmp 0x14003adbd
mov edx, dword [rsp + 0x1d4]
mov rcx, rbp
xor r8d, r8d
call fcn.14002aaf0
lea rcx, [rsp + 0x1f0]
mov rdx, rbp
call fcn.14003d1e6
test rax, rax
jne 0x14003ad26
cmp byte [rsp + 0x1ef], 0
mov rdx, rbp
jns 0x14003ac55
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x208]
call fcn.14005b880
test eax, eax
jne 0x14003ac71
mov al, 1
mov dword [rsp + 0x4c], eax
jmp 0x14003ab3f
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14003ad0e
lea rcx, [rsp + 0x70]
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
mov r8d, 0x2a9
mov r9d, 2
call fcn.140048290
mov r8d, 0x17
lea rcx, [rsp + 0x78]
lea rdx, str.Failed_to_delete_value
call fcn.140006489
cmp byte [rsp + 0x1ef], dil
mov rdx, rbp
jns 0x14003accc
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call fcn.1400490b0
mov r8d, 8
mov rcx, rax
lea rdx, str._in_key
call fcn.140006489
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x17], dil
jns 0x14003acfc
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
mov rcx, rax
call fcn.1400490b0
lea rcx, [rsp + 0x70]
call fcn.1400486f0
lea rcx, [rsp + 0x1f0]
lea rdx, [rsp + 0x70]
mov r8, rbp
mov r9, rbp
call fcn.14003d2a4
inc r14d
jmp 0x14003ab3f
lea rdx, [0x14017555a]
lea rcx, [rsp + 0x208]
call fcn.14005b440
test eax, eax
je 0x14003adbd
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14003adbd
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, 0x27b
mov r9d, 2
call fcn.140048f30
lea rcx, [rsp + 0x80]
lea rdx, str.Failed_to_delete_key
mov r8d, 0x15
call fcn.140006489
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x17], 0
jns 0x14003adad
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400490b0
mov rcx, rsi
call fcn.140049000
cmp byte [rsp + 0x1ef], 0
jns 0x14003add4
mov rcx, qword [rsp + 0x1d8]
call fcn.140147c5c
lea rcx, [rsp + 0x1f0]
mov rdx, qword [rcx + 8]
call fcn.14003cb9c
lea rcx, [rsp + 0x208]
call fcn.14005b1a0
lea rcx, [rsp + 0x230]
mov rdx, qword [rcx + 8]
call fcn.14003cb9c
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140147fd0
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