Function at 0x14003db30
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], xmm6
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x278], rax
xor eax, eax
mov qword [rsp + 0x260], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x250], xmm6
lea rcx, [rsp + 0x240]
movups xmmword [rcx], xmm6
mov qword [rcx - 8], rcx
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], xmm6
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 0x14003dfa7
mov ecx, dword [rsp + 0x230]
mov eax, dword [rsp + 0x228]
cmp ecx, eax
cmova eax, ecx
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], 0
inc eax
mov qword [rsp + 0x68], rdi
je 0x14003dc78
mov edi, eax
lea rsi, [rdi + rdi]
mov rcx, rsi
call fcn.1401a088c
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rax
lea rcx, [rax + rdi*2]
mov qword [rsp + 0xe0], rcx
test rax, rax
je 0x14003e50f
mov word [rax], 0
add rax, 2
add rsi, 0xfffffffffffffffe
jne 0x14003dc53
mov qword [rsp + 0xd8], rcx
mov rdi, qword [rsp + 0x68]
mov eax, dword [rsp + 0x22c]
test rax, rax
mov qword [rsp + 0x70], r15
jne 0x14003dcc8
cmp dword [rsp + 0x234], 0
je 0x14003dd48
lea r15, [rsp + 0xf0]
xor ebx, ebx
xorps xmm6, xmm6
lea r13, [rsp + 0xcc]
mov r12, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rbp, [rsp + 0xd0]
lea r14, [rsp + 0x90]
jmp 0x14003de78
imul rsi, rax, 0x38
mov rcx, rsi
call fcn.1401a088c
add rsi, rax
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x258], rax
mov qword [rsp + 0x260], rsi
mov esi, dword [rsp + 0x224]
cmp esi, 1
adc esi, 0
mov rcx, rsi
call fcn.1401a088c
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov rcx, rax
add rcx, rsi
mov qword [rsp + 0xa0], rcx
test rax, rax
je 0x14003e50f
mov byte [rax], 0
inc rax
dec rsi
jne 0x14003dd22
jmp 0x14003e4ae
lea rcx, [rsp + 0x90]
call fcn.140060360
mov rax, qword [r15]
mov rcx, qword [rsp + 0x250]
mov qword [r15], rcx
mov qword [rsp + 0x250], rax
mov rax, qword [r15 + 8]
mov rcx, qword [rsp + 0x258]
mov qword [r15 + 8], rcx
mov qword [rsp + 0x258], rax
mov rax, qword [r15 + 0x10]
mov rcx, qword [rsp + 0x260]
mov qword [r15 + 0x10], rcx
mov qword [rsp + 0x260], rax
mov rax, qword [r15 + 0x18]
mov rcx, qword [rsp + 0x238]
mov qword [r15 + 0x18], rcx
mov qword [rsp + 0x238], rax
lea rdx, [r15 + 0x20]
mov rax, qword [r15 + 0x20]
mov r8, qword [rsp + 0x240]
mov qword [r15 + 0x20], r8
mov qword [rsp + 0x240], rax
mov rcx, qword [r15 + 0x28]
mov r9, qword [rsp + 0x248]
mov qword [r15 + 0x28], r9
mov qword [rsp + 0x248], rcx
test r9, r9
je 0x14003dded
mov qword [r8 + 0x10], rdx
mov rcx, qword [rsp + 0x248]
jmp 0x14003ddf1
mov qword [r15 + 0x18], rdx
test rcx, rcx
jne 0x14003de08
lea rax, [rsp + 0x240]
mov qword [rsp + 0x238], rax
jmp 0x14003de14
lea rcx, [rsp + 0x240]
mov qword [rax + 0x10], rcx
mov sil, 1
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14003e008
mov rax, qword [rsp + 0xd8]
jmp 0x14003df93
mov ecx, dword [rsp + 0xcc]
inc ecx
mov r8, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd8]
mov r9, rax
sub r9, r8
sar r9, 1
mov rdx, rcx
sub rdx, r9
jbe 0x14003e869
mov rcx, rbp
call fcn.140036ba0
cmp ebx, dword [rsp + 0x234]
jae 0x14003e53b
mov r8, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd8]
mov rcx, rax
sub rcx, r8
shr rcx, 1
mov dword [rsp + 0xcc], ecx
cmp rax, r8
je 0x14003e4e3
mov rcx, qword [rdi]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, ebx
mov r9, r13
call r12
cmp eax, 0xea
je 0x14003de35
mov esi, eax
cmp eax, 0x103
jne 0x14003ded3
mov dword [rsp + 0x234], ebx
jmp 0x14003de6b
test esi, esi
jne 0x14003e78e
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0xb0]
movups xmmword [rax], xmm6
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rax
je 0x14003e4e3
mov qword [rsp + 0xe8], rax
mov rcx, r15
mov rdx, r14
call fcn.14003ea70
lea rcx, [rsp + 0x238]
lea rdx, [rsp + 0x268]
lea r8, [rsp + 0xe8]
call fcn.1401e9e00
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x108]
call fcn.1401e9db0
mov rcx, r15
call fcn.1401e9120
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xa8]
call fcn.1401e9db0
mov rcx, r14
call fcn.1401e9120
inc ebx
jmp 0x14003de6b
add rax, 0xfffffffffffffffe
je 0x14003e65e
cmp rax, rcx
jne 0x14003df89
mov qword [rsp + 0xd8], rcx
call fcn.1401a08c8
jmp 0x14003e008
mov esi, eax
mov ecx, 2
call fcn.14014c5f0
test al, al
je 0x14003e006
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov r8d, 0x82
mov r9d, 2
call fcn.140075d80
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_getting_info_of_key_to_backup__result:
mov r8d, 0x2e
call fcn.1401daa50
mov rcx, rax
mov edx, esi
call fcn.140025500
mov rcx, rdi
call fcn.1400763d0
xor esi, esi
lea rcx, [rsp + 0x238]
mov rdx, qword [rcx + 8]
call fcn.1401e9db0
lea rcx, [rsp + 0x250]
call fcn.1401e9120
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401a2070
mov eax, esi
movaps xmm6, xmmword [rsp + 0x280]
add rsp, 0x298
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdi + 0x10]
cmp qword [rax], rdi
mov rdi, rax
jne 0x14003e054
mov rdi, rax
lea rcx, [rsp + 0x240]
cmp rax, rcx
je 0x14003dd3b
lea rsi, [rdi + 0x20]
cmp byte [rdi + 0x37], 0
mov r8, rsi
jns 0x14003e084
mov r8, qword [rsi]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
mov rcx, rbx
mov r9d, 0x20009
call fcn.140060240
test eax, eax
jne 0x14003e68a
lea rcx, [rdi + 0x38]
mov rdx, rbx
call fcn.14003db30
test al, al
je 0x14003e707
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003e054
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14003e0bf
jmp 0x14003e060
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmmword [rdi + rsi - 0x20], xmm6
mov qword [rdi + rsi - 0x10], 0
mov r12, qword [r13 + rsi - 0x20]
mov r14, qword [r13 + rsi - 0x18]
sub r14, r12
je 0x14003e12b
js 0x14003e891
mov rcx, r14
call fcn.1401a088c
mov qword [rdi + rsi - 0x20], rax
mov qword [rdi + rsi - 0x18], rax
lea rbp, [rax + r14]
mov qword [rdi + rsi - 0x10], rbp
mov rcx, rax
mov rdx, r12
mov r8, r14
call fcn.1401a3b10
mov qword [rdi + rsi - 0x18], rbp
mov eax, dword [r13 + rsi - 8]
mov dword [rdi + rsi - 8], eax
add rsi, 0xffffffffffffffc8
cmp rbx, r15
je 0x14003e171
lea rcx, [rdi + rsi]
add rcx, 0xffffffffffffffc8
je 0x14003e50f
lea rbx, [rsi + r13]
add rbx, 0xffffffffffffffc8
cmp byte [rbx + 0x17], 0
jns 0x14003e0cc
mov rdx, qword [r13 + rsi - 0x38]
mov r8, qword [r13 + rsi - 0x30]
call fcn.14004ad20
jmp 0x14003e0da
mov r13, qword [rsp + 0x250]
mov r14, qword [rsp + 0x258]
add rdi, rsi
mov qword [rsp + 0x250], rdi
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x258], rbx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x260], rax
cmp r14, r13
mov r15, qword [rsp + 0x70]
je 0x14003e1db
add r14, 0xffffffffffffffc8
mov rcx, r14
call fcn.1401e9830
cmp r14, r13
jne 0x14003e1b3
jmp 0x14003e1db
mov qword [rsp + 0x250], rdi
mov qword [rsp + 0x260], rax
mov r15, qword [rsp + 0x70]
test r13, r13
je 0x14003e20e
mov rcx, r13
call fcn.1401a08c8
jmp 0x14003e20e
test r13, r13
je 0x14003e50f
lea rbx, [r13 + 0x38]
movups xmmword [r13 + 0x20], xmm6
movups xmmword [r13 + 0x10], xmm6
movups xmmword [r13], xmm6
mov dword [r13 + 0x30], 0
mov qword [rsp + 0x258], rbx
cmp qword [rsp + 0x250], rbx
je 0x14003e80f
mov rsi, qword [rsp + 0x90]
cmp qword [rsp + 0x98], rsi
je 0x14003e4e3
mov rdx, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rdx
je 0x14003e4e3
mov r13d, dword [rsp + 0xc8]
mov r8d, dword [rsp + 0x268]
mov edi, dword [rsp + 0xcc]
test rdx, rdx
jne 0x14003e275
test r8d, r8d
jne 0x14003e89e
lea rcx, [rbx - 0x38]
call fcn.14004af90
mov dword [rbx - 8], edi
add rbx, 0xffffffffffffffe0
lea r8, [rsi + r13]
mov rcx, rbx
mov rdx, rsi
mov r9, r13
call fcn.14003e8d0
mov rbx, qword [rsp + 0x88]
inc ebx
mov rdi, qword [rsp + 0x68]
lea r14, [rsp + 0xcc]
lea r12, [rsp + 0xc8]
lea r13, [rsp + 0x268]
jmp 0x14003e2d3
cmp esi, 0x103
jne 0x14003e58b
mov dword [rsp + 0x22c], ebx
cmp ebx, dword [rsp + 0x22c]
jae 0x14003e633
mov r8, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
sub rax, r8
shr rax, 1
mov dword [rsp + 0x268], eax
mov rax, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov r9d, edx
sub r9d, eax
mov dword [rsp + 0xc8], r9d
cmp rdx, rax
je 0x14003e4e3
cmp rcx, r8
je 0x14003e4e3
mov rcx, qword [rdi]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
mov edx, ebx
mov r9, r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14003e3c7
mov esi, eax
cmp eax, 0xea
jne 0x14003e2c0
mov edx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0x98]
sub rax, qword [rsp + 0x90]
cmp rax, rdx
jae 0x14003e390
lea rcx, [rsp + 0x90]
call fcn.14012b3a0
mov edx, dword [rsp + 0x268]
inc edx
mov rax, qword [rsp + 0xd8]
sub rax, qword [rsp + 0xd0]
sar rax, 1
sub rdx, rax
jbe 0x14003e2d3
lea rcx, [rsp + 0xd0]
call fcn.140036ba0
jmp 0x14003e2d3
mov qword [rsp + 0x88], rbx
mov r13, qword [rsp + 0x258]
mov rax, qword [rsp + 0x260]
cmp r13, rax
jb 0x14003e1ea
mov r15, qword [rsp + 0x250]
mov rsi, r13
sub rsi, r15
sar rsi, 3
movabs rcx, 0x6db6db6db6db6db7
imul rsi, rcx
lea rbx, [rsi + 1]
movabs rdx, 0x492492492492492
cmp rbx, rdx
ja 0x14003e84d
sub rax, r15
sar rax, 3
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rbx
cmova rbx, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
cmovae rbx, rdx
test rbx, rbx
je 0x14003e4aa
cmp rbx, rdx
ja 0x14003e864
imul rcx, rbx, 0x38
call fcn.1401a088c
imul rdi, rsi, 0x38
add rdi, rax
je 0x14003e50f
mov rcx, rax
imul rax, rbx, 0x38
add rcx, rax
mov rax, rcx
lea rbx, [rdi + 0x38]
movups xmmword [rdi + 0x20], xmm6
movups xmmword [rdi + 0x10], xmm6
movups xmmword [rdi], xmm6
mov dword [rdi + 0x30], 0
cmp r13, r15
je 0x14003e1c6
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rbx
xor esi, esi
jmp 0x14003e13d
xor eax, eax
jmp 0x14003e45d
lea rax, [rsp + 0x90]
mov qword [rax + 8], rcx
lea r14, [rsp + 0xcc]
mov dword [r14], 0
xor ebx, ebx
lea r12, [rsp + 0xc8]
lea r13, [rsp + 0x268]
xorps xmm6, xmm6
jmp 0x14003e2e0
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, str.__n___size__
mov r8d, 0x601
call fcn.1401de150
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401de150
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x90]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1402fd120]
movaps xmmword [rcx], xmm0
call fcn.1400600a0
mov rdi, qword [rsp + 0x238]
lea rax, [rsp + 0x240]
cmp rdi, rax
mov r15, qword [rsp + 0x70]
je 0x14003dd3b
lea rbx, [rsp + 0x90]
jmp 0x14003e074
mov ecx, 2
call fcn.14014c5f0
test al, al
je 0x14003e607
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov r8d, 0xa8
mov r9d, 2
call fcn.140075d80
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_backing_up_value
mov r8d, 0x18
call fcn.1401daa50
mov rcx, rax
mov edx, ebx
call fcn.140025740
lea rdx, str.__result:
mov r8d, 0xa
mov rcx, rax
call fcn.1401daa50
mov rcx, rax
mov edx, esi
call fcn.140025500
mov rcx, rdi
call fcn.1400763d0
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14003e787
mov rax, qword [rsp + 0x98]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14003e65e
jmp 0x14003e852
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14003dc89
mov rax, qword [rsp + 0x98]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x14003e83b
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1401de150
mov ebp, eax
mov ecx, 2
call fcn.14014c5f0
test al, al
je 0x14003e77a
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov r8d, 0xd8
mov r9d, 2
call fcn.140075d80
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_opening_subkey__
mov r8d, 0x17
call fcn.1401daa50
mov rcx, rax
mov rdx, rsi
call fcn.14006f680
lea rdx, str.__for_backup__result:
mov r8d, 0x16
mov rcx, rax
call fcn.1401daa50
mov rcx, rax
mov edx, ebp
call fcn.140025500
jmp 0x14003e772
mov ecx, 2
call fcn.14014c5f0
test al, al
je 0x14003e77a
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov r8d, 0xdd
mov r9d, 2
call fcn.140075d80
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_backing_up_subkey__
mov r8d, 0x1a
call fcn.1401daa50
mov rcx, rax
mov rdx, rsi
call fcn.14006f680
lea rdx, [0x140308c6e]
mov r8d, 1
mov rcx, rax
call fcn.1401daa50
mov rcx, rdi
call fcn.1400763d0
lea rcx, [rsp + 0x90]
call fcn.140060360
xor esi, esi
jmp 0x14003de17
mov ecx, 2
call fcn.14014c5f0
test al, al
je 0x14003e787
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rdi, [rsp + 0xe8]
mov rcx, rdi
mov r8d, 0xc8
mov r9d, 2
call fcn.140075d80
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_getting_name_of_subkey
mov r8d, 0x1e
call fcn.1401daa50
mov rcx, rax
mov edx, ebx
call fcn.140025740
lea rdx, str._for_backup__result:
mov r8d, 0x15
mov rcx, rax
call fcn.1401daa50
mov rcx, rax
mov edx, esi
call fcn.140025500
mov rcx, rdi
call fcn.1400763d0
jmp 0x14003e787
lea rax, str.back___called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, str._empty__
mov r8d, 0x278
call fcn.1401de150
mov qword [rsp + 0x98], rcx
call fcn.1401a08c8
jmp 0x14003dc89
call fcn.1401da9f0
mov qword [rsp + 0x98], rcx
call fcn.1401a08c8
jmp 0x14003e787
call fcn.1401da9d0
jae 0x14003e887
lea rcx, [r8 + rcx*2]
cmp rax, rcx
je 0x14003e87f
add rax, 0xfffffffffffffffe
jne 0x14003e86f
jmp 0x14003e65e
mov qword [rsp + 0xd8], rcx
mov rdi, qword [rsp + 0x68]
jmp 0x14003de6b
lea rcx, [rsi + rdi]
add rcx, 0xffffffffffffffe0
call fcn.1401da9f0
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__n__0____s___nullptr
mov r8d, 0x988
call fcn.1401de150
int3