Function at 0x140131ae0
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 [0x140267e38]
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 0x140131c0a
mov esi, eax
mov ecx, 2
call fcn.140060b40
test al, al
je 0x140131c03
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.140060c10
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_getting_info_of_key_to_backup__result:
mov r8d, 0x2e
call fcn.140007184
mov rcx, rax
mov edx, esi
call fcn.1400222d6
mov rcx, rdi
call fcn.140061070
xor esi, esi
jmp 0x140132581
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.14008ec68
mov edx, dword [rsp + 0x23c]
test rdx, rdx
je 0x1401320e4
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 0x140131cb4
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.140132fda
lea rcx, [rsp + 0x260]
mov rdx, rsi
call fcn.140133040
mov rcx, rsi
call fcn.1401330fa
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.1400acba8
mov rbp, qword [rdi + 8]
xor r14d, r14d
mov rcx, rbp
xor edx, edx
mov r8, rsi
call fcn.1401cd0e0
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 0x1401320c1
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 0x140131e56
mov ebp, eax
cmp eax, 0xea
je 0x140131df3
cmp ebp, 0x103
jne 0x140132038
mov dword [rsp + 0x23c], r14d
jmp 0x14013201d
mov edx, dword [rsp + 0xb4]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rsp + 0xc0]
cmp rax, rdx
jae 0x140131e1f
sub rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14001c3c0
mov edx, dword [rsp + 0xbc]
inc edx
mov rax, qword [rsp + 0xe0]
sub rax, qword [rsp + 0xd8]
sar rax, 1
cmp rax, rdx
jae 0x14013201d
lea rcx, [rsp + 0xd8]
call fcn.140132610
jmp 0x14013201d
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 0x140131ec7
mov rcx, rbp
lea rdx, [rsp + 0xf0]
call fcn.14003b7ee
lea rcx, [rbp + 0x18]
mov rdx, qword [rsp + 0x68]
call fcn.1400f73a8
mov eax, dword [rsp + 0x120]
mov dword [rbp + 0x30], eax
add rbp, 0x38
mov qword [rsp + 0x268], rbp
jmp 0x140131f91
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 0x1401325cd
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.140132fda
mov rbp, qword [rsp + 0x90]
mov rcx, rbp
mov rdx, r12
call fcn.14003b7ee
lea rcx, [rbp + 0x18]
mov rdx, r15
call fcn.1400f73a8
mov eax, dword [rsp + 0x120]
mov dword [rbp + 0x30], eax
add qword [rsp + 0x90], 0x38
lea rcx, [rsp + 0x260]
mov rdx, rsi
call fcn.140133040
mov rcx, rsi
call fcn.1401330fa
lea rcx, [rsp + 0xf0]
call fcn.1401325dc
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.14003b9bc
mov dword [rbp - 8], r13d
add rbp, 0xffffffffffffffe0
add r12, r15
mov rcx, rbp
mov rdx, r15
mov r8, r12
call fcn.1400aed28
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 0x1401320b9
mov rbp, qword [rsp + 0xc8]
jmp 0x140131d73
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1401320b5
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.140060c10
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_backing_up_value
mov r8d, 0x18
call fcn.140007184
mov rcx, rax
mov edx, r14d
call fcn.1400224f6
lea rdx, str.__result:
mov r8d, 0xa
mov rcx, rax
call fcn.140007184
mov rcx, rax
mov edx, ebp
call fcn.1400222d6
mov rcx, rsi
call fcn.140061070
xor esi, esi
jmp 0x1401320bc
mov sil, 1
mov r13, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1401320db
mov qword [rsp + 0xc8], rcx
call fcn.1401c9f6c
test sil, sil
je 0x140132565
cmp dword [rsp + 0x244], 0
je 0x140132318
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 0x1401321a6
mov r15d, eax
cmp eax, 0xea
je 0x14013218b
cmp r15d, 0x103
jne 0x1401323b1
mov dword [rsp + 0x244], esi
jmp 0x140132255
mov edx, dword [rsp + 0xbc]
inc edx
lea rcx, [rsp + 0xd8]
call fcn.140132610
jmp 0x140132255
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.140132cd0
lea rcx, [rsp + 0x248]
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0xf0]
call fcn.140133260
mov rdx, qword [rsp + 0x118]
mov rcx, rbp
call fcn.140132f76
mov rcx, r14
call fcn.140131a94
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x98]
call fcn.140132f76
lea rcx, [rsp + 0x80]
call fcn.140131a94
inc esi
cmp esi, dword [rsp + 0x244]
jb 0x140132132
lea rcx, [rsp + 0x80]
call fcn.140080110
mov rdi, qword [rsp + 0x248]
lea r15, [rsp + 0x250]
cmp r15, rdi
je 0x14013230b
lea rbx, [rsp + 0x80]
lea rsi, [rdi + 0x20]
cmp byte [rdi + 0x37], 0
js 0x14013229f
mov r8, rsi
jmp 0x1401322a2
mov r8, qword [rsi]
mov rdx, qword [r13]
mov rcx, rbx
mov r9d, 0x20009
call fcn.1400802e0
test eax, eax
jne 0x140132456
lea rcx, [rdi + 0x38]
mov rdx, rbx
call fcn.140131ae0
test al, al
je 0x1401324dc
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1401322e6
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1401322d9
jmp 0x140132303
mov rax, qword [rdi + 0x10]
cmp qword [rax], rdi
je 0x140132303
add rdi, 0x10
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
lea rdi, [rcx + 0x10]
cmp qword [rax], rcx
jne 0x1401322f3
mov rdi, rax
cmp r15, rax
jne 0x140132290
lea rcx, [rsp + 0x80]
call fcn.140080370
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 0x140132437
mov qword [rbp + 0x10], rdx
mov rcx, qword [rsp + 0x258]
jmp 0x14013243b
mov ecx, 2
call fcn.140060b40
test al, al
je 0x140132565
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.140060c10
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_getting_name_of_subkey
mov r8d, 0x1e
call fcn.140007184
mov rcx, rax
mov edx, esi
call fcn.1400224f6
lea rdx, str._for_backup__result:
mov r8d, 0x15
mov rcx, rax
call fcn.140007184
mov rcx, rax
mov edx, r15d
call fcn.1400222d6
mov rcx, rdi
call fcn.140061070
jmp 0x140132565
mov qword [rdi + 0x18], rdx
test rcx, rcx
je 0x140132446
mov qword [rax + 0x10], r15
jmp 0x14013244e
mov qword [rsp + 0x248], r15
mov sil, 1
jmp 0x140132567
mov ebp, eax
mov ecx, 2
call fcn.140060b40
test al, al
je 0x140132558
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.140060c10
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_opening_subkey__
mov r8d, 0x17
call fcn.140007184
cmp byte [rsi + 0x17], 0
jns 0x1401324b0
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140061a30
lea rdx, str.__for_backup__result:
mov r8d, 0x16
mov rcx, rax
call fcn.140007184
mov rcx, rax
mov edx, ebp
call fcn.1400222d6
jmp 0x140132550
mov ecx, 2
call fcn.140060b40
test al, al
je 0x140132558
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.140060c10
lea rcx, [rsp + 0xf8]
lea rdx, str.Failed_backing_up_subkey__
mov r8d, 0x1a
call fcn.140007184
cmp byte [rsi + 0x17], 0
jns 0x140132530
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140061a30
lea rdx, [0x140200b60]
mov r8d, 1
mov rcx, rax
call fcn.140007184
mov rcx, rdi
call fcn.140061070
lea rcx, [rsp + 0x80]
call fcn.140080370
xor esi, esi
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140132581
mov qword [rsp + 0xe0], rcx
call fcn.1401c9f6c
lea rcx, [rsp + 0x248]
mov rdx, qword [rcx + 8]
call fcn.140132f76
lea rcx, [rsp + 0x260]
call fcn.140131a94
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401ca2e0
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.14003d05c
int3