Function at 0x1400fa690
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 r13, rdx
mov r12, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x278], rax
xor eax, eax
mov qword [rsp + 0x270], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x260], xmm0
lea r15, [rsp + 0x250]
movups xmmword [r15], xmm0
mov qword [r15 - 8], r15
lea rdx, [rsp + 0x244]
mov dword [rdx], eax
lea rbp, [rsp + 0x240]
mov dword [rbp], eax
lea rbx, [rsp + 0x23c]
mov dword [rbx], eax
lea rdi, [rsp + 0x238]
mov dword [rdi], eax
lea rsi, [rsp + 0x234]
mov dword [rsi], eax
mov rcx, qword [r13]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400fa7ba
mov esi, eax
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fa7b3
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x82
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_getting_info_of_key_to_backup__result:
mov r8d, 0x2e
call fcn.140006489
mov rcx, rax
mov edx, esi
call fcn.14001174c
mov rcx, rdi
call fcn.1400486f0
xor esi, esi
jmp 0x1400fb131
mov qword [rsp + 0x70], r12
mov edx, dword [rsp + 0x240]
mov eax, dword [rsp + 0x238]
cmp edx, eax
cmovb edx, eax
inc edx
lea rcx, [rsp + 0xd8]
call fcn.140066178
mov edx, dword [rsp + 0x23c]
test rdx, rdx
je 0x1400fac94
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x270]
sub rcx, rax
sar rcx, 3
movabs rbp, 0x6db6db6db6db6db7
imul rcx, rbp
cmp rcx, rdx
jae 0x1400fa864
lea r9, [rsp + 0x278]
mov r8, qword [r9 - 0x10]
sub r8, rax
sar r8, 3
movabs rax, 0x6db6db6db6db6db7
imul r8, rax
lea rsi, [rsp + 0xf0]
mov rcx, rsi
call fcn.1400fbb8a
lea rcx, [rsp + 0x260]
mov rdx, rsi
call fcn.1400fbbf0
mov rcx, rsi
call fcn.1400fbcaa
mov eax, dword [rsp + 0x234]
test eax, eax
mov esi, 1
cmovne esi, eax
xorps xmm6, xmm6
lea rdi, [rsp + 0xc0]
movaps xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov rcx, rdi
mov rdx, rsi
call fcn.140083b46
mov rbp, qword [rdi + 8]
xor r14d, r14d
mov rcx, rbp
xor edx, edx
mov r8, rsi
call fcn.14014adf0
add rbp, rsi
mov qword [rdi + 8], rbp
mov dword [rsp + 0xbc], r14d
mov dword [rsp + 0xb8], r14d
mov dword [rsp + 0xb4], r14d
mov sil, 1
cmp dword [rsp + 0x23c], r14d
je 0x1400fac71
mov qword [rsp + 0x60], r13
mov ecx, 0x18
lea rax, [rsp + 0x260]
add rax, rcx
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xf0]
add rcx, rax
mov qword [rsp + 0x68], rcx
lea r12, [rsp + 0xb4]
lea rdi, [rsp + 0xb8]
lea rsi, [rsp + 0xbc]
mov rbx, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r8, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe0]
sub rax, r8
shr rax, 1
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0xc0]
sub ebp, eax
mov dword [rsp + 0xb4], ebp
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov edx, r14d
mov r9, rsi
call rbx
test eax, eax
je 0x1400faa06
mov ebp, eax
cmp eax, 0xea
je 0x1400fa9a3
cmp ebp, 0x103
jne 0x1400fabe8
mov dword [rsp + 0x23c], r14d
jmp 0x1400fabcd
mov edx, dword [rsp + 0xb4]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rsp + 0xc0]
cmp rax, rdx
jae 0x1400fa9cf
sub rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140064458
mov edx, dword [rsp + 0xbc]
inc edx
mov rax, qword [rsp + 0xe0]
sub rax, qword [rsp + 0xd8]
sar rax, 1
cmp rax, rdx
jae 0x1400fabcd
lea rcx, [rsp + 0xd8]
call fcn.1400fb1c0
jmp 0x1400fabcd
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
mov dword [rsp + 0x120], 0
mov rbp, qword [rsp + 0x268]
mov rax, qword [rsp + 0x270]
cmp rbp, rax
jae 0x1400faa77
mov rcx, rbp
lea rdx, [rsp + 0xf0]
call fcn.14002a87c
lea rcx, [rbp + 0x18]
mov rdx, qword [rsp + 0x68]
call fcn.1400ba9ec
mov eax, dword [rsp + 0x120]
mov dword [rbp + 0x30], eax
add rbp, 0x38
mov qword [rsp + 0x268], rbp
jmp 0x1400fab41
lea r12, [rsp + 0xf0]
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x260]
sub rbp, rdx
sar rbp, 3
movabs rdi, 0x6db6db6db6db6db7
imul rbp, rdi
lea rcx, [rbp + 1]
movabs rsi, 0x492492492492492
cmp rcx, rsi
ja 0x1400fb17d
sub rax, rdx
sar rax, 3
imul rax, rdi
lea rdx, [rax + rax]
cmp rdx, rcx
cmovb rdx, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
cmovae rdx, rsi
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r8, rbp
mov r9, qword [rsp + 0x78]
call fcn.1400fbb8a
mov rbp, qword [rsp + 0x90]
mov rcx, rbp
mov rdx, r12
call fcn.14002a87c
lea rcx, [rbp + 0x18]
mov rdx, r15
call fcn.1400ba9ec
mov eax, dword [rsp + 0x120]
mov dword [rbp + 0x30], eax
add qword [rsp + 0x90], 0x38
lea rcx, [rsp + 0x260]
mov rdx, rsi
call fcn.1400fbbf0
mov rcx, rsi
call fcn.1400fbcaa
lea rcx, [rsp + 0xf0]
call fcn.1400fb18c
mov rbp, qword [rsp + 0x268]
mov r12d, dword [rsp + 0xb4]
mov r15, qword [rsp + 0xc0]
mov r13d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rbp - 0x38]
call fcn.14002aa4a
mov dword [rbp - 8], r13d
add rbp, 0xffffffffffffffe0
add r12, r15
mov rcx, rbp
mov rdx, r15
mov r8, r12
call fcn.1400831a4
inc r14d
lea r15, [rsp + 0x250]
lea rsi, [rsp + 0xb4]
mov r12, rsi
lea rdi, [rsp + 0xb8]
lea rsi, [rsp + 0xbc]
mov rbx, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp r14d, dword [rsp + 0x23c]
jae 0x1400fac69
mov rbp, qword [rsp + 0xc8]
jmp 0x1400fa923
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fac65
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xa7
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_backing_up_value
mov r8d, 0x18
call fcn.140006489
mov rcx, rax
mov edx, r14d
call fcn.14001196c
lea rdx, str.__result:
mov r8d, 0xa
mov rcx, rax
call fcn.140006489
mov rcx, rax
mov edx, ebp
call fcn.14001174c
mov rcx, rsi
call fcn.1400486f0
xor esi, esi
jmp 0x1400fac6c
mov sil, 1
mov r13, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400fac8b
mov qword [rsp + 0xc8], rcx
call fcn.140147c5c
test sil, sil
je 0x1400fb115
cmp dword [rsp + 0x244], 0
je 0x1400faec8
lea r12, [rsp + 0xbc]
mov dword [r12], 0
mov ebp, 0x20
lea rax, [rsp + 0x80]
lea rbx, [rax + rbp]
lea r14, [rsp + 0xf8]
lea rax, [rsp + 0xf0]
add rbp, rax
xorps xmm6, xmm6
mov rdi, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
mov r8, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe0]
sub rax, r8
shr rax, 1
mov dword [rsp + 0xbc], eax
mov rcx, qword [r13]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, esi
mov r9, r12
call rdi
test eax, eax
je 0x1400fad56
mov r15d, eax
cmp eax, 0xea
je 0x1400fad3b
cmp r15d, 0x103
jne 0x1400faf61
mov dword [rsp + 0x244], esi
jmp 0x1400fae05
mov edx, dword [rsp + 0xbc]
inc edx
lea rcx, [rsp + 0xd8]
call fcn.1400fb1c0
jmp 0x1400fae05
xor ecx, ecx
mov qword [rsp + 0x90], rcx
movaps xmmword [rsp + 0x80], xmm6
movups xmmword [rbx], xmm6
mov qword [rsp + 0x98], rbx
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf0], rax
mov qword [r14 + 0x10], rcx
movups xmmword [r14], xmm6
lea rax, [rsp + 0x118]
movups xmmword [rax], xmm6
mov qword [rsp + 0x110], rax
mov rcx, rbp
mov rdx, rbx
mov r8, rbx
call fcn.1400fb880
lea rcx, [rsp + 0x248]
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0xf0]
call fcn.1400fbe10
mov rdx, qword [rsp + 0x118]
mov rcx, rbp
call fcn.1400fbb26
mov rcx, r14
call fcn.1400fa644
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x98]
call fcn.1400fbb26
lea rcx, [rsp + 0x80]
call fcn.1400fa644
inc esi
cmp esi, dword [rsp + 0x244]
jb 0x1400face2
lea rcx, [rsp + 0x80]
call fcn.14005af40
mov rdi, qword [rsp + 0x248]
lea r15, [rsp + 0x250]
cmp r15, rdi
je 0x1400faebb
lea rbx, [rsp + 0x80]
lea rsi, [rdi + 0x20]
cmp byte [rdi + 0x37], 0
js 0x1400fae4f
mov r8, rsi
jmp 0x1400fae52
mov r8, qword [rsi]
mov rdx, qword [r13]
mov rcx, rbx
mov r9d, 0x20009
call fcn.14005b110
test eax, eax
jne 0x1400fb006
lea rcx, [rdi + 0x38]
mov rdx, rbx
call fcn.1400fa690
test al, al
je 0x1400fb08c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400fae96
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400fae89
jmp 0x1400faeb3
mov rax, qword [rdi + 0x10]
cmp qword [rax], rdi
je 0x1400faeb3
add rdi, 0x10
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
lea rdi, [rcx + 0x10]
cmp qword [rax], rcx
jne 0x1400faea3
mov rdi, rax
cmp r15, rax
jne 0x1400fae40
lea rcx, [rsp + 0x80]
call fcn.14005b1a0
movaps xmm0, xmmword [rsp + 0x260]
mov rdi, qword [rsp + 0x70]
movups xmm1, xmmword [rdi]
movups xmmword [rdi], xmm0
movaps xmmword [rsp + 0x260], xmm1
mov rax, qword [rdi + 0x10]
mov rcx, qword [rsp + 0x270]
mov qword [rdi + 0x10], rcx
mov qword [rsp + 0x270], rax
mov rax, qword [rdi + 0x18]
mov rcx, qword [rsp + 0x248]
mov qword [rdi + 0x18], rcx
mov qword [rsp + 0x248], rax
lea rdx, [rdi + 0x20]
mov rax, qword [rdi + 0x20]
mov rbp, qword [rsp + 0x250]
mov qword [rdi + 0x20], rbp
mov qword [rsp + 0x250], rax
mov rcx, qword [rdi + 0x28]
mov rbx, qword [rsp + 0x258]
mov qword [rdi + 0x28], rbx
mov qword [rsp + 0x258], rcx
test rbx, rbx
je 0x1400fafe7
mov qword [rbp + 0x10], rdx
mov rcx, qword [rsp + 0x258]
jmp 0x1400fafeb
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fb115
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0xc7
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_getting_name_of_subkey
mov r8d, 0x1e
call fcn.140006489
mov rcx, rax
mov edx, esi
call fcn.14001196c
lea rdx, str._for_backup__result:
mov r8d, 0x15
mov rcx, rax
call fcn.140006489
mov rcx, rax
mov edx, r15d
call fcn.14001174c
mov rcx, rdi
call fcn.1400486f0
jmp 0x1400fb115
mov qword [rdi + 0x18], rdx
test rcx, rcx
je 0x1400faff6
mov qword [rax + 0x10], r15
jmp 0x1400faffe
mov qword [rsp + 0x248], r15
mov sil, 1
jmp 0x1400fb117
mov ebp, eax
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fb108
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0xd7
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_opening_subkey__
mov r8d, 0x17
call fcn.140006489
cmp byte [rsi + 0x17], 0
jns 0x1400fb060
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400490b0
lea rdx, str.__for_backup__result:
mov r8d, 0x16
mov rcx, rax
call fcn.140006489
mov rcx, rax
mov edx, ebp
call fcn.14001174c
jmp 0x1400fb100
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fb108
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0xdc
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_backing_up_subkey__
mov r8d, 0x1a
call fcn.140006489
cmp byte [rsi + 0x17], 0
jns 0x1400fb0e0
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400490b0
lea rdx, [0x140179558]
mov r8d, 1
mov rcx, rax
call fcn.140006489
mov rcx, rdi
call fcn.1400486f0
lea rcx, [rsp + 0x80]
call fcn.14005b1a0
xor esi, esi
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x1400fb131
mov qword [rsp + 0xe0], rcx
call fcn.140147c5c
lea rcx, [rsp + 0x248]
mov rdx, qword [rcx + 8]
call fcn.1400fbb26
lea rcx, [rsp + 0x260]
call fcn.1400fa644
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140147fd0
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
lea rcx, [rsp + 0x260]
call fcn.14002c0ec
int3