Function at 0x1401b63d0
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 qword [rsp + 0x68], rcx
mov rax, qword [0x14037e040]
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 r12, [rsp + 0x240]
movups xmmword [r12], xmm0
mov qword [r12 - 8], r12
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 0x1401b67a0
mov eax, dword [rsp + 0x230]
mov edx, dword [rsp + 0x228]
cmp eax, edx
cmova edx, eax
inc edx
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0xd0]
mov qword [rcx + 0x10], rax
movaps xmm6, xmmword [0x1402faf80]
movaps xmmword [rcx], xmm6
call fcn.1401aeca0
mov eax, dword [rsp + 0x22c]
test rax, rax
je 0x1401b6636
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 0x1401b6599
lea rdx, [rsp + 0x268]
mov rsi, qword [rdx - 0x10]
sub rsi, rcx
lea rbx, [rsp + 0xf0]
mov qword [rbx + 0x20], rdx
imul r14, rax, 0x38
mov rcx, r14
call fcn.14016b3ac
mov qword [rbx], rax
add rsi, rax
mov qword [rbx + 0x10], rsi
mov qword [rbx + 8], rsi
add rax, r14
mov qword [rbx + 0x18], rax
lea rcx, [rsp + 0x250]
mov rdx, rbx
call fcn.1401b7730
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
jmp 0x1401b6582
add rbx, 0xffffffffffffffc8
je 0x1401b678f
mov rcx, rbx
call fcn.1401b7030
cmp rbx, rsi
jne 0x1401b6570
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x1401b6599
call fcn.14016b3e8
lea rcx, [rsp + 0xb0]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmmword [rcx], xmm6
mov edx, dword [rsp + 0x224]
cmp edx, 1
adc edx, 0
call fcn.140109520
mov dword [rsp + 0xa8], 0
cmp dword [rsp + 0x22c], 0
je 0x1401b6602
xor ebx, ebx
lea rsi, [rsp + 0xa4]
lea r13, [rsp + 0xa8]
lea r14, [rsp + 0xac]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xorps xmm7, xmm7
jmp 0x1401b6cff
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1401b6636
mov rax, qword [rsp + 0xb8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x1401b678f
mov qword [rsp + 0xb8], rcx
call fcn.14016b3e8
cmp dword [rsp + 0x234], 0
je 0x1401b66a7
lea rsi, [rsp + 0x90]
xor ebx, ebx
xorps xmm7, xmm7
lea r13, [rsp + 0xac]
mov r12, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rbp, [rsp + 0xd0]
jmp 0x1401b68af
lea rcx, [rsp + 0x70]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmmword [rcx], xmm6
call fcn.14005e330
mov rsi, qword [rsp + 0x238]
lea r12, [rsp + 0x240]
cmp rsi, r12
jne 0x1401b6a30
lea rcx, [rsp + 0x70]
call fcn.14005e5f0
mov r10, qword [rsp + 0x68]
mov rax, qword [r10]
mov rcx, qword [rsp + 0x250]
mov qword [r10], rcx
mov qword [rsp + 0x250], rax
mov rax, qword [r10 + 8]
mov rcx, qword [rsp + 0x258]
mov qword [r10 + 8], rcx
mov qword [rsp + 0x258], rax
mov rax, qword [r10 + 0x10]
mov rcx, qword [rsp + 0x260]
mov qword [r10 + 0x10], rcx
mov qword [rsp + 0x260], rax
mov rax, qword [r10 + 0x18]
mov rcx, qword [rsp + 0x238]
mov qword [r10 + 0x18], rcx
mov qword [rsp + 0x238], rax
lea rdx, [r10 + 0x20]
mov rax, qword [r10 + 0x20]
mov r8, qword [rsp + 0x240]
mov qword [r10 + 0x20], r8
mov qword [rsp + 0x240], rax
mov rcx, qword [r10 + 0x28]
mov r9, qword [rsp + 0x248]
mov qword [r10 + 0x28], r9
mov qword [rsp + 0x248], rcx
test r9, r9
je 0x1401b6751
mov qword [r8 + 0x10], rdx
mov rcx, qword [rsp + 0x248]
jmp 0x1401b6755
mov qword [r10 + 0x18], rdx
test rcx, rcx
je 0x1401b6760
mov qword [rax + 0x10], r12
jmp 0x1401b6768
mov qword [rsp + 0x238], r12
mov sil, 1
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x1401b6801
mov rax, qword [rsp + 0xd8]
cmp rax, rcx
je 0x1401b6791
add rax, 0xfffffffffffffffe
jne 0x1401b6784
ud2
mov qword [rsp + 0xd8], rcx
call fcn.14016b3e8
jmp 0x1401b6801
mov ebx, eax
mov ecx, 2
call fcn.140124e30
test al, al
je 0x1401b67ff
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0x82
mov r9d, 2
call fcn.140073d90
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_getting_info_of_key_to_backup__result:
mov r8d, 0x2e
call fcn.1400fe0b0
mov rcx, rax
mov edx, ebx
call fcn.140025090
mov rcx, rsi
call fcn.140074360
xor esi, esi
lea rcx, [rsp + 0x238]
mov rdx, qword [rcx + 8]
call fcn.1401b7de0
mov rbx, qword [rsp + 0x250]
test rbx, rbx
je 0x1401b685b
mov rdi, qword [rsp + 0x258]
mov rcx, rbx
cmp rdi, rbx
je 0x1401b684e
add rdi, 0xffffffffffffffc8
je 0x1401b678f
mov rcx, rdi
call fcn.1401b7030
cmp rdi, rbx
jne 0x1401b682f
mov rcx, qword [rsp + 0x250]
mov qword [rsp + 0x258], rbx
call fcn.14016b3e8
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.14016c920
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
mov edx, dword [rsp + 0xac]
inc edx
mov rcx, rbp
call fcn.140037650
cmp ebx, dword [rsp + 0x234]
jae 0x1401b6669
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 0x1401b678f
mov rcx, qword [rdi]
movups xmmword [rsp + 0x30], xmm7
movups xmmword [rsp + 0x20], xmm7
mov edx, ebx
mov r9, r13
call r12
cmp eax, 0xea
je 0x1401b6891
mov r15d, eax
cmp eax, 0x103
jne 0x1401b6907
mov dword [rsp + 0x234], ebx
jmp 0x1401b68a2
test r15d, r15d
jne 0x1401b6f26
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 0x1401b678f
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xf8]
lea rdx, [rsp + 0x70]
call fcn.1401b7850
lea rcx, [rsp + 0x238]
lea rdx, [rsp + 0xb0]
lea r8, [rsp + 0xf0]
call fcn.1401b7e50
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x110]
call fcn.1401b7de0
mov r14, qword [rsp + 0xf8]
test r14, r14
je 0x1401b69d7
mov r15, qword [rsp + 0x100]
mov rcx, r14
cmp r15, r14
je 0x1401b69ca
add r15, 0xffffffffffffffc8
je 0x1401b678f
mov rcx, r15
call fcn.1401b7030
cmp r15, r14
jne 0x1401b69ab
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x100], r14
call fcn.14016b3e8
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.1401b7de0
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x1401b6a29
mov r15, qword [rsp + 0x78]
mov rcx, r14
cmp r15, r14
je 0x1401b6a1f
add r15, 0xffffffffffffffc8
je 0x1401b678f
mov rcx, r15
call fcn.1401b7030
cmp r15, r14
jne 0x1401b6a03
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x78], r14
call fcn.14016b3e8
inc ebx
jmp 0x1401b68a2
lea r14, [rsp + 0x70]
jmp 0x1401b6a4e
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1401b6a37
mov rsi, rax
cmp rax, r12
je 0x1401b669d
lea rbx, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
mov r8, rbx
jns 0x1401b6a5e
mov r8, qword [rbx]
mov rdx, qword [rdi]
mov rcx, r14
mov r9d, 0x20009
call fcn.14005e4d0
test eax, eax
jne 0x1401b6e96
lea rcx, [rsi + 0x38]
mov rdx, r14
call fcn.1401b63d0
test al, al
je 0x1401b6fa8
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x1401b6a37
mov rax, qword [rsi + 0x10]
cmp qword [rax], rsi
mov rsi, rax
jne 0x1401b6a94
jmp 0x1401b6a42
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x70], xmm7
mov rcx, qword [rsp + 0x250]
sub rbp, rcx
sar rbp, 3
movabs rdx, 0x6db6db6db6db6db7
imul rbp, rdx
lea rsi, [rbp + 1]
movabs r8, 0x492492492492492
cmp rsi, r8
lea r12, [rsp + 0xf0]
ja 0x1401b701c
sub rax, rcx
sar rax, 3
imul rax, rdx
lea rcx, [rax + rax]
cmp rcx, rsi
cmova rsi, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
cmovae rsi, r8
lea rax, [rsp + 0x268]
mov qword [rsp + 0x90], rax
test rsi, rsi
je 0x1401b6b3b
cmp rsi, r8
ja 0x1401b7021
imul rcx, rsi, 0x38
call fcn.14016b3ac
jmp 0x1401b6b3d
xor eax, eax
mov qword [rsp + 0x70], rax
imul rcx, rbp, 0x38
add rcx, rax
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x78], rcx
imul rdx, rsi, 0x38
add rdx, rax
mov qword [rsp + 0x88], rdx
mov rdx, r12
call fcn.1401b77e0
add qword [rsp + 0x80], 0x38
lea rcx, [rsp + 0x250]
lea rdx, [rsp + 0x70]
call fcn.1401b7730
mov rbp, qword [rsp + 0x258]
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
jmp 0x1401b6bb1
add r13, 0xffffffffffffffc8
je 0x1401b678f
mov rcx, r13
call fcn.1401b7030
cmp r13, rsi
jne 0x1401b6b9f
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401b6c22
call fcn.14016b3e8
jmp 0x1401b6c22
test ebp, ebp
jne 0x1401b6ddd
movaps xmmword [rsp + 0x110], xmm7
movaps xmmword [rsp + 0x100], xmm7
movaps xmmword [rsp + 0xf0], xmm7
mov dword [rsp + 0x120], 0
mov rbp, qword [rsp + 0x258]
mov rax, qword [rsp + 0x260]
cmp rbp, rax
jae 0x1401b6aa2
mov rcx, rbp
lea r12, [rsp + 0xf0]
mov rdx, r12
call fcn.1401b77e0
add rbp, 0x38
mov qword [rsp + 0x258], rbp
mov rcx, r12
call fcn.1401b7030
mov rbp, qword [rsp + 0x258]
cmp qword [rsp + 0x250], rbp
je 0x1401b678f
mov r13, qword [rsp + 0xb0]
cmp qword [rsp + 0xb8], r13
je 0x1401b678f
mov rdx, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rdx
je 0x1401b678f
mov r8d, dword [rsp + 0xac]
test r8, r8
sete al
test rdx, rdx
setne cl
or cl, al
je 0x1401b678f
lea rcx, [rbp - 0x38]
mov esi, dword [rsp + 0xa4]
mov r12d, dword [rsp + 0xa8]
call fcn.140044790
mov dword [rbp - 8], r12d
lea r12, [rsp + 0x240]
add rbp, 0xffffffffffffffe0
lea r8, [rsi + r13]
mov rcx, rbp
mov rdx, r13
mov r9, rsi
lea rsi, [rsp + 0xa4]
call fcn.14003b980
inc ebx
lea r13, [rsp + 0xa8]
jmp 0x1401b6cf2
mov ebp, eax
cmp eax, 0x103
jne 0x1401b6bc7
mov dword [rsp + 0x22c], ebx
cmp ebx, dword [rsp + 0x22c]
jae 0x1401b6602
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 0x1401b678f
cmp rcx, r8
je 0x1401b678f
mov rcx, qword [rdi]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0
mov edx, ebx
mov r9, r14
call r15
cmp eax, 0xea
jne 0x1401b6cde
mov edx, dword [rsp + 0xa4]
mov rax, qword [rsp + 0xb8]
sub rax, qword [rsp + 0xb0]
sub rdx, rax
jbe 0x1401b6da6
lea rcx, [rsp + 0xb0]
call fcn.1400ffee0
mov edx, dword [rsp + 0xac]
inc edx
mov rax, qword [rsp + 0xd8]
sub rax, qword [rsp + 0xd0]
sar rax, 1
cmp rax, rdx
jae 0x1401b6cf2
lea rcx, [rsp + 0xd0]
call fcn.140037650
jmp 0x1401b6cf2
mov ecx, 2
call fcn.140124e30
test al, al
je 0x1401b6e59
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xa8
mov r9d, 2
call fcn.140073d90
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_backing_up_value
mov r8d, 0x18
call fcn.1400fe0b0
mov rcx, rax
mov edx, ebx
call fcn.1400252e0
lea rdx, str.__result:
mov r8d, 0xa
mov rcx, rax
call fcn.1400fe0b0
mov rcx, rax
mov edx, ebp
call fcn.140025090
mov rcx, rsi
call fcn.140074360
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1401b6f1f
mov rax, qword [rsp + 0xb8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x1401b678f
mov qword [rsp + 0xb8], rcx
call fcn.14016b3e8
jmp 0x1401b6f1f
mov ebp, eax
mov ecx, 2
call fcn.140124e30
test al, al
je 0x1401b6f15
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xd8
mov r9d, 2
call fcn.140073d90
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_opening_subkey__
mov r8d, 0x17
call fcn.1400fe0b0
mov rcx, rax
mov rdx, rbx
call fcn.14006cff0
lea rdx, str.__for_backup__result:
mov r8d, 0x16
mov rcx, rax
call fcn.1400fe0b0
mov rcx, rax
mov edx, ebp
call fcn.140025090
mov rcx, rsi
call fcn.140074360
lea rcx, [rsp + 0x70]
call fcn.14005e5f0
xor esi, esi
jmp 0x1401b676b
mov ecx, 2
call fcn.140124e30
test al, al
je 0x1401b6f1f
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xc8
mov r9d, 2
call fcn.140073d90
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_getting_name_of_subkey
mov r8d, 0x1e
call fcn.1400fe0b0
mov rcx, rax
mov edx, ebx
call fcn.1400252e0
lea rdx, str._for_backup__result:
mov r8d, 0x15
mov rcx, rax
call fcn.1400fe0b0
mov rcx, rax
mov edx, r15d
call fcn.140025090
mov rcx, rsi
call fcn.140074360
jmp 0x1401b6f1f
mov ecx, 2
call fcn.140124e30
test al, al
je 0x1401b6f15
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xdd
mov r9d, 2
call fcn.140073d90
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_backing_up_subkey__
mov r8d, 0x1a
call fcn.1400fe0b0
mov rcx, rax
mov rdx, rbx
call fcn.14006cff0
lea rdx, [0x14030634b]
mov r8d, 1
mov rcx, rax
call fcn.1400fe0b0
jmp 0x1401b6f0d
call fcn.1401a62d0
call fcn.1401a62b0
int3