Function at 0x14015b500
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, 0x298
movaps xmmword [rsp + 0x280], xmm7
movaps xmmword [rsp + 0x270], xmm6
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14034e040]
xor rax, rsp
mov qword [rsp + 0x268], rax
xor eax, eax
mov qword [rsp + 0x260], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x250], xmm0
lea r15, [rsp + 0x240]
movups xmmword [r15], xmm0
mov qword [r15 - 8], r15
lea rdx, [rsp + 0x234]
mov dword [rdx], eax
lea r8, [rsp + 0x230]
mov dword [r8], eax
lea r9, [rsp + 0x22c]
mov dword [r9], eax
lea r10, [rsp + 0x228]
mov dword [r10], eax
lea r11, [rsp + 0x224]
mov dword [r11], eax
mov rcx, qword [rdi]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14015b8de
mov eax, dword [rsp + 0x230]
mov edx, dword [rsp + 0x228]
cmp eax, edx
cmova edx, eax
inc edx
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0xd0]
mov qword [rcx + 0x10], r12
movaps xmm6, xmmword [0x1402cdfe0]
movaps xmmword [rcx], xmm6
call fcn.140154170
mov eax, dword [rsp + 0x22c]
test rax, rax
mov qword [rsp + 0x68], rbx
je 0x14015b774
mov rcx, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x260]
sub rdx, rcx
sar rdx, 3
movabs r8, 0x6db6db6db6db6db7
imul rdx, r8
cmp rdx, rax
jae 0x14015b6ca
lea rdx, [rsp + 0x268]
mov r14, qword [rdx - 0x10]
sub r14, rcx
lea rsi, [rsp + 0xf0]
mov qword [rsi + 0x20], rdx
imul rbx, rax, 0x38
mov rcx, rbx
call fcn.14010f3f0
mov qword [rsi], rax
add r14, rax
mov qword [rsi + 0x10], r14
mov qword [rsi + 8], r14
add rax, rbx
mov qword [rsi + 0x18], rax
lea rcx, [rsp + 0x250]
mov rdx, rsi
call fcn.14015c870
mov rbx, qword [rsi + 8]
mov rsi, qword [rsi + 0x10]
jmp 0x14015b6b3
add rsi, 0xffffffffffffffc8
je 0x14015b8cd
mov rcx, rsi
call fcn.14015c170
cmp rsi, rbx
jne 0x14015b6a1
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14015b6ca
call fcn.14010f42c
lea rcx, [rsp + 0xb0]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
mov edx, dword [rsp + 0x224]
cmp edx, 1
adc edx, 0
call fcn.1400d5b40
mov dword [rsp + 0xa8], 0
cmp dword [rsp + 0x22c], 0
je 0x14015b733
movabs r15, 0x492492492492492
xor ebx, ebx
lea r13, [rsp + 0xa4]
lea r14, [rsp + 0xa8]
lea r12, [rsp + 0xac]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xorps xmm7, xmm7
jmp 0x14015be40
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
lea r15, [rsp + 0x240]
mov rbx, qword [rsp + 0x68]
je 0x14015b774
mov rax, qword [rsp + 0xb8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14015b8cd
mov qword [rsp + 0xb8], rcx
call fcn.14010f42c
cmp dword [rsp + 0x234], 0
je 0x14015b7ea
lea rsi, [rsp + 0x90]
xor ebx, ebx
xorps xmm7, xmm7
lea r13, [rsp + 0xac]
mov r14, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea r12, [rsp + 0xd0]
jmp 0x14015bb00
lea rcx, [rsp + 0x70]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmmword [rcx], xmm6
call fcn.14005a2d0
mov r14, qword [rsp + 0x238]
lea r15, [rsp + 0x240]
cmp r14, r15
jne 0x14015bb6e
lea rcx, [rsp + 0x70]
call fcn.14005a370
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x250]
mov qword [rbx], rcx
mov qword [rsp + 0x250], rax
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x258]
mov qword [rbx + 8], rcx
mov qword [rsp + 0x258], rax
mov rax, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x260]
mov qword [rbx + 0x10], rcx
mov qword [rsp + 0x260], rax
mov rax, qword [rbx + 0x18]
mov rcx, qword [rsp + 0x238]
mov qword [rbx + 0x18], rcx
mov qword [rsp + 0x238], rax
lea rdx, [rbx + 0x20]
mov rax, qword [rbx + 0x20]
mov r8, qword [rsp + 0x240]
mov qword [rbx + 0x20], r8
mov qword [rsp + 0x240], rax
mov rcx, qword [rbx + 0x28]
mov r9, qword [rsp + 0x248]
mov qword [rbx + 0x28], r9
mov qword [rsp + 0x248], rcx
test r9, r9
je 0x14015b88f
mov qword [r8 + 0x10], rdx
mov rcx, qword [rsp + 0x248]
jmp 0x14015b893
mov qword [rbx + 0x18], rdx
test rcx, rcx
je 0x14015b89e
mov qword [rax + 0x10], r15
jmp 0x14015b8a6
mov qword [rsp + 0x238], r15
mov sil, 1
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14015b93f
mov rax, qword [rsp + 0xd8]
cmp rax, rcx
je 0x14015b8cf
add rax, 0xfffffffffffffffe
jne 0x14015b8c2
ud2
mov qword [rsp + 0xd8], rcx
call fcn.14010f42c
jmp 0x14015b93f
mov esi, eax
mov ecx, 2
call fcn.14006a140
test al, al
je 0x14015b93d
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x82
mov r9d, 2
call fcn.14018d7b0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_getting_info_of_key_to_backup__result:
mov r8d, 0x2e
call fcn.1400cdd30
mov rcx, rax
mov edx, esi
call fcn.140149ec0
mov rcx, rdi
call fcn.14018dbe0
xor esi, esi
lea rcx, [rsp + 0x238]
mov rdx, qword [rcx + 8]
call fcn.14015ce70
mov rbx, qword [rsp + 0x250]
test rbx, rbx
je 0x14015b999
mov rdi, qword [rsp + 0x258]
mov rcx, rbx
cmp rdi, rbx
je 0x14015b98c
add rdi, 0xffffffffffffffc8
je 0x14015b8cd
mov rcx, rdi
call fcn.14015c170
cmp rdi, rbx
jne 0x14015b96d
mov rcx, qword [rsp + 0x250]
mov qword [rsp + 0x258], rbx
call fcn.14010f42c
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.140110970
mov eax, esi
movaps xmm6, xmmword [rsp + 0x270]
movaps xmm7, xmmword [rsp + 0x280]
add rsp, 0x298
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmmword [rsp + 0x70], xmm7
mov qword [rsp + 0x80], 0
movups xmmword [rsi], xmm7
mov qword [rsp + 0x88], rsi
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rax
je 0x14015b8cd
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xf8]
lea rdx, [rsp + 0x70]
call fcn.14015c990
lea rcx, [rsp + 0x238]
lea rdx, [rsp + 0xb0]
lea r8, [rsp + 0xf0]
call fcn.14015cee0
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x110]
call fcn.14015ce70
mov r15, qword [rsp + 0xf8]
test r15, r15
je 0x14015ba96
mov rbp, qword [rsp + 0x100]
mov rcx, r15
cmp rbp, r15
je 0x14015ba89
add rbp, 0xffffffffffffffc8
je 0x14015b8cd
mov rcx, rbp
call fcn.14015c170
cmp rbp, r15
jne 0x14015ba6a
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x100], r15
call fcn.14010f42c
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.14015ce70
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x14015bae8
mov rbp, qword [rsp + 0x78]
mov rcx, r15
cmp rbp, r15
je 0x14015bade
add rbp, 0xffffffffffffffc8
je 0x14015b8cd
mov rcx, rbp
call fcn.14015c170
cmp rbp, r15
jne 0x14015bac2
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x78], r15
call fcn.14010f42c
inc ebx
jmp 0x14015baf3
mov dword [rsp + 0x234], ebx
cmp ebx, dword [rsp + 0x234]
jae 0x14015b7a7
mov r8, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd8]
mov rcx, rax
sub rcx, r8
shr rcx, 1
mov dword [rsp + 0xac], ecx
cmp rax, r8
je 0x14015b8cd
mov rcx, qword [rdi]
movups xmmword [rsp + 0x30], xmm7
movups xmmword [rsp + 0x20], xmm7
mov edx, ebx
mov r9, r13
call r14
cmp eax, 0x103
je 0x14015baec
mov ebp, eax
test eax, eax
je 0x14015b9cf
cmp ebp, 0xea
jne 0x14015c066
mov edx, dword [rsp + 0xac]
inc edx
mov rcx, r12
call fcn.14014f530
jmp 0x14015baf3
lea rbx, [rsp + 0x70]
jmp 0x14015bb8d
mov rax, qword [r14 + 0x10]
cmp qword [rax], r14
mov r14, rax
jne 0x14015bb75
mov r14, rax
cmp rax, r15
je 0x14015b7db
lea rsi, [r14 + 0x20]
cmp byte [r14 + 0x37], 0
mov r8, rsi
jns 0x14015bb9e
mov r8, qword [rsi]
mov rdx, qword [rdi]
mov rcx, rbx
mov r9d, 0x20009
call fcn.14005a2f0
test eax, eax
jne 0x14015bfd6
lea rcx, [r14 + 0x38]
mov rdx, rbx
call fcn.14015b500
test al, al
je 0x14015c0e7
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14015bb75
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14015bbd4
jmp 0x14015bb81
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x70], xmm7
mov rcx, qword [rsp + 0x250]
sub rsi, rcx
sar rsi, 3
movabs rdx, 0x6db6db6db6db6db7
imul rsi, rdx
lea r12, [rsi + 1]
cmp r12, r15
lea r14, [rsp + 0xf0]
ja 0x14015c15b
sub rax, rcx
sar rax, 3
imul rax, rdx
lea rcx, [rax + rax]
cmp rcx, r12
cmova r12, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
cmovae r12, r15
lea rax, [rsp + 0x268]
mov qword [rsp + 0x90], rax
test r12, r12
je 0x14015bc70
cmp r12, r15
ja 0x14015c160
imul rcx, r12, 0x38
call fcn.14010f3f0
jmp 0x14015bc72
xor eax, eax
mov qword [rsp + 0x70], rax
imul rcx, rsi, 0x38
add rcx, rax
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x78], rcx
imul rdx, r12, 0x38
add rdx, rax
mov qword [rsp + 0x88], rdx
mov rdx, r14
call fcn.14015c920
add qword [rsp + 0x80], 0x38
lea rcx, [rsp + 0x250]
lea rdx, [rsp + 0x70]
call fcn.14015c870
mov rsi, qword [rsp + 0x258]
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
jmp 0x14015bce6
add rbp, 0xffffffffffffffc8
je 0x14015b8cd
mov rcx, rbp
call fcn.14015c170
cmp rbp, r12
jne 0x14015bcd4
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14015bd57
call fcn.14010f42c
jmp 0x14015bd57
test esi, esi
jne 0x14015bf1d
movaps xmmword [rsp + 0x110], xmm7
movaps xmmword [rsp + 0x100], xmm7
movaps xmmword [rsp + 0xf0], xmm7
mov dword [rsp + 0x120], 0
mov rsi, qword [rsp + 0x258]
mov rax, qword [rsp + 0x260]
cmp rsi, rax
jae 0x14015bbe1
mov rcx, rsi
lea r14, [rsp + 0xf0]
mov rdx, r14
call fcn.14015c920
add rsi, 0x38
mov qword [rsp + 0x258], rsi
mov rcx, r14
call fcn.14015c170
mov rsi, qword [rsp + 0x258]
cmp qword [rsp + 0x250], rsi
je 0x14015b8cd
mov rbp, qword [rsp + 0xb0]
cmp qword [rsp + 0xb8], rbp
je 0x14015b8cd
mov rdx, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rdx
je 0x14015b8cd
mov r8d, dword [rsp + 0xac]
test r8, r8
sete al
test rdx, rdx
setne cl
or cl, al
je 0x14015b8cd
lea rcx, [rsi - 0x38]
mov r12d, dword [rsp + 0xa4]
mov r14, r13
mov r13, r15
mov r15d, dword [rsp + 0xa8]
call fcn.140044a80
mov dword [rsi - 8], r15d
mov r15, r13
mov r13, r14
lea r14, [rsp + 0xa8]
add rsi, 0xffffffffffffffe0
lea r8, [r12 + rbp]
mov rcx, rsi
mov rdx, rbp
mov r9, r12
lea r12, [rsp + 0xac]
call fcn.14003a1e0
inc ebx
mov rbp, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x14015be33
mov esi, eax
cmp eax, 0x103
jne 0x14015bcfc
mov dword [rsp + 0x22c], ebx
cmp ebx, dword [rsp + 0x22c]
jae 0x14015b733
mov r8, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
sub rax, r8
shr rax, 1
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov r9d, edx
sub r9d, eax
mov dword [rsp + 0xa4], r9d
cmp rdx, rax
je 0x14015b8cd
cmp rcx, r8
je 0x14015b8cd
mov rcx, qword [rdi]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
mov edx, ebx
mov r9, r12
call rbp
cmp eax, 0xea
jne 0x14015be1f
mov edx, dword [rsp + 0xa4]
mov rax, qword [rsp + 0xb8]
sub rax, qword [rsp + 0xb0]
sub rdx, rax
jbe 0x14015bee6
lea rcx, [rsp + 0xb0]
call fcn.1400cf160
mov edx, dword [rsp + 0xac]
inc edx
mov rax, qword [rsp + 0xd8]
sub rax, qword [rsp + 0xd0]
sar rax, 1
cmp rax, rdx
jae 0x14015be33
lea rcx, [rsp + 0xd0]
call fcn.14014f530
jmp 0x14015be33
mov ecx, 2
call fcn.14006a140
test al, al
je 0x14015bf99
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0xa8
mov r9d, 2
call fcn.14018d7b0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_backing_up_value
mov r8d, 0x18
call fcn.1400cdd30
mov rcx, rax
mov edx, ebx
call fcn.14014a100
lea rdx, str.__result:
mov r8d, 0xa
mov rcx, rax
call fcn.1400cdd30
mov rcx, rax
mov edx, esi
call fcn.140149ec0
mov rcx, rdi
call fcn.14018dbe0
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x14015c05f
mov rax, qword [rsp + 0xb8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14015b8cd
mov qword [rsp + 0xb8], rcx
call fcn.14010f42c
jmp 0x14015c05f
mov ebp, eax
mov ecx, 2
call fcn.14006a140
test al, al
je 0x14015c055
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0xd8
mov r9d, 2
call fcn.14018d7b0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_opening_subkey__
mov r8d, 0x17
call fcn.1400cdd30
mov rcx, rax
mov rdx, rsi
call fcn.1401895c0
lea rdx, str.__for_backup__result:
mov r8d, 0x16
mov rcx, rax
call fcn.1400cdd30
mov rcx, rax
mov edx, ebp
call fcn.140149ec0
mov rcx, rdi
call fcn.14018dbe0
lea rcx, [rsp + 0x70]
call fcn.14005a370
xor esi, esi
jmp 0x14015b8a9
mov ecx, 2
call fcn.14006a140
test al, al
je 0x14015c05f
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xc8
mov r9d, 2
call fcn.14018d7b0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_getting_name_of_subkey
mov r8d, 0x1e
call fcn.1400cdd30
mov rcx, rax
mov edx, ebx
call fcn.14014a100
lea rdx, str._for_backup__result:
mov r8d, 0x15
mov rcx, rax
call fcn.1400cdd30
mov rcx, rax
mov edx, ebp
call fcn.140149ec0
mov rcx, rsi
call fcn.14018dbe0
jmp 0x14015c05f
mov ecx, 2
call fcn.14006a140
test al, al
je 0x14015c055
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0xdd
mov r9d, 2
call fcn.14018d7b0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_backing_up_subkey__
mov r8d, 0x1a
call fcn.1400cdd30
mov rcx, rax
mov rdx, rsi
call fcn.1401895c0
lea rdx, [0x1402d905f]
mov r8d, 1
mov rcx, rax
call fcn.1400cdd30
jmp 0x14015c04d
call fcn.14014aee0
call fcn.14014aec0
int3