Function at 0x140079c54
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400d33c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor eax, eax
mov qword [rbp - 0x10], rcx
xorps xmm0, xmm0
lea ecx, [rax + 0x68]
mov rdi, rdx
mov qword [rbp - 0x30], rdx
movdqu xmmword [rbp - 0x48], xmm0
mov esi, eax
mov dword [rsp + 0x70], eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
call fcn.140091088
xor edx, edx
test rax, rax
je 0x14007a406
lea rcx, [rax + 8]
mov qword [rax], rax
test rcx, rcx
je 0x140079cc5
mov qword [rcx], rax
lea rcx, [rax + 0x10]
test rcx, rcx
je 0x140079cd1
mov qword [rcx], rax
mov word [rax + 0x18], 0x101
mov rcx, qword [rdi]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x7c]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov ebx, 1
mov dword [rsp + 0x7c], edx
mov dword [rbp - 0x80], edx
mov dword [rsp + 0x68], edx
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x7c], edx
mov dword [rbp - 0x64], edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor r8d, r8d
mov edi, eax
test eax, eax
je 0x140079d9c
call fcn.1400096a0
cmp eax, 2
jg 0x140079d85
lea r9d, [rbx + 1]
lea r8d, [rbx + 0x7d]
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rbp + 0x30]
mov esi, ebx
call fcn.1400097c0
lea rdx, str.Failed_getting_info_of_key_to_backup__result:
lea rcx, [rax + 8]
call fcn.140008810
mov edx, edi
mov rcx, rax
call fcn.14000a1c0
test bl, sil
je 0x140079d93
lea rcx, [rbp + 0x30]
call fcn.140009830
xor eax, eax
mov bl, al
jmp 0x14007a2c5
mov eax, dword [rbp - 0x7c]
lea rdx, [rbp - 0x80]
xorps xmm0, xmm0
cmp dword [rbp - 0x80], eax
lea rcx, [rbp - 0x7c]
mov qword [rbp - 0x50], r8
movdqu xmmword [rbp - 0x60], xmm0
cmovae rcx, rdx
mov eax, dword [rcx]
lea rcx, [rbp - 0x60]
add eax, ebx
mov edi, eax
mov edx, eax
mov qword [rsp + 0x70], rdi
call fcn.140012230
xor r8d, r8d
test al, al
je 0x140079dfd
test rdi, rdi
je 0x140079df1
mov rdi, qword [rbp - 0x60]
mov rcx, qword [rsp + 0x70]
movzx eax, r8w
rep stosw word [rdi], ax
mov rdi, qword [rsp + 0x70]
mov rax, qword [rbp - 0x58]
lea rcx, [rax + rdi*2]
mov qword [rbp - 0x58], rcx
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14007a03d
mov edx, eax
movabs rax, 0x3ffffffffffffff
cmp rdx, rax
ja 0x14007a40c
lea rcx, [rbp - 0x48]
call fcn.14007ab50
mov eax, dword [rbp - 0x64]
mov edx, ebx
test eax, eax
lea rcx, [rbp - 0x28]
cmovne edx, eax
call fcn.1400799b0
mov rdi, qword [rbp - 0x28]
xor r8d, r8d
mov ecx, r8d
mov dword [rsp + 0x60], r8d
mov dword [rbp - 0x68], r8d
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x64], ecx
cmp dword [rsp + 0x68], r8d
jbe 0x14007a02d
mov rax, qword [rbp - 0x58]
mov edx, ecx
lea r9, [rsp + 0x60]
sub rax, qword [rbp - 0x60]
sar rax, 1
mov qword [rbp - 8], rax
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x20]
sub eax, edi
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], r8
mov rcx, qword [rax]
mov r8, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor r8d, r8d
mov dword [rsp + 0x70], eax
mov edx, eax
test eax, eax
je 0x140079f13
sub edx, 0xea
jne 0x140079f98
mov rax, qword [rbp - 0x20]
mov edx, dword [rsp + 0x78]
sub rax, rdi
cmp rdx, rax
jbe 0x140079ee8
lea rcx, [rbp - 0x28]
call fcn.140063424
mov rdi, qword [rbp - 0x28]
mov edx, dword [rsp + 0x60]
inc edx
cmp rdx, qword [rbp - 8]
jbe 0x140079efd
lea rcx, [rbp - 0x60]
call fcn.14002aa80
mov ecx, dword [rsp + 0x64]
xor r8d, r8d
cmp ecx, dword [rsp + 0x68]
jae 0x14007a02d
jmp 0x140079e61
xorps xmm0, xmm0
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x48]
mov qword [rbp + 0x158], 7
mov qword [rbp + 0x150], r8
mov word [rbp + 0x140], r8w
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r8
mov dword [rbp + 0x178], r8d
call fcn.14007b224
lea rcx, [rbp + 0x140]
call fcn.140079c00
mov eax, dword [rsp + 0x78]
mov rcx, qword [rbp - 0x40]
mov r9d, dword [rbp - 0x68]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rbp - 0x60]
mov dword [rsp + 0x28], eax
add rcx, 0xffffffffffffffc0
mov qword [rsp + 0x20], rdi
call fcn.14007a5b4
mov ecx, dword [rsp + 0x64]
add ecx, ebx
mov dword [rsp + 0x64], ecx
jmp 0x140079f01
cmp edx, 0x19
je 0x14007a025
call fcn.1400096a0
cmp eax, 2
jg 0x14007a000
mov esi, 2
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rbp + 0x30]
mov r9d, esi
mov r8d, 0xa3
call fcn.1400097c0
lea rdx, str.Failed_backing_up_value
lea rcx, [rax + 8]
call fcn.140008810
mov edx, dword [rsp + 0x64]
mov rcx, rax
call fcn.14000a360
lea rdx, str.__result:
mov rcx, rax
call fcn.140008810
mov edx, dword [rsp + 0x70]
mov rcx, rax
call fcn.14000a1c0
test sil, 2
je 0x14007a00f
lea rcx, [rbp + 0x30]
call fcn.140009830
test rdi, rdi
je 0x14007a19a
mov rcx, rdi
call fcn.1400910f4
jmp 0x14007a19a
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
test rdi, rdi
je 0x14007a03d
mov rcx, rdi
call fcn.1400910f4
xor r8d, r8d
mov eax, dword [rsp + 0x7c]
test eax, eax
je 0x14007a24e
mov dword [rsp + 0x60], r8d
mov edi, r8d
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r8
sub rax, qword [rbp - 0x60]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r8
mov r8, qword [rbp - 0x60]
sar rax, 1
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov rax, qword [rbp - 0x30]
mov edx, edi
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x70], eax
mov edx, eax
test eax, eax
je 0x14007a0b3
sub edx, 0xea
jne 0x14007a128
mov edx, dword [rsp + 0x60]
lea rcx, [rbp - 0x60]
inc edx
call fcn.14002aa80
jmp 0x14007a116
lea rcx, [rbp + 8]
call fcn.140079a9c
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x148]
mov qword [rbp + 0x140], rdx
mov rdx, rax
call fcn.140079a28
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x78]
call fcn.140079260
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x78]
lea r9, [rax + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.1400796ec
lea rcx, [rbp + 0x148]
call fcn.140079b60
lea rcx, [rbp + 8]
call fcn.140079b60
add edi, ebx
cmp edi, dword [rsp + 0x7c]
jae 0x14007a1a5
xor r8d, r8d
jmp 0x14007a051
cmp edx, 0x19
je 0x14007a1a1
call fcn.1400096a0
cmp eax, 2
jg 0x14007a18b
mov esi, 8
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rbp + 0x30]
lea r9d, [rsi - 6]
mov r8d, 0xc3
call fcn.1400097c0
lea rdx, str.Failed_getting_name_of_subkey
lea rcx, [rax + 8]
call fcn.140008810
mov edx, edi
mov rcx, rax
call fcn.14000a360
lea rdx, str._for_backup__result:
mov rcx, rax
call fcn.140008810
mov edx, dword [rsp + 0x70]
mov rcx, rax
call fcn.14000a1c0
test sil, 8
je 0x14007a19a
lea rcx, [rbp + 0x30]
call fcn.140009830
xor bl, bl
jmp 0x14007a2b4
mov dword [rsp + 0x7c], edi
lea rcx, [rbp - 0x28]
call fcn.140018600
mov rax, qword [rbp - 0x78]
mov rdi, qword [rax]
cmp rdi, rax
je 0x14007a245
lea r8, [rdi + 0x20]
cmp qword [r8 + 0x18], 8
jb 0x14007a1cc
mov r8, qword [r8]
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x28]
mov r9d, 0x20009
mov rdx, qword [rax]
call fcn.140018890
mov dword [rsp + 0x70], eax
test eax, eax
jne 0x14007a379
lea rcx, [rdi + 0x40]
lea rdx, [rbp - 0x28]
call fcn.140079c54
xor ecx, ecx
test al, al
je 0x14007a312
cmp byte [rdi + 0x19], cl
jne 0x14007a23b
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], cl
jne 0x14007a220
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], cl
je 0x14007a213
jmp 0x14007a23b
mov rax, qword [rdi + 8]
jmp 0x14007a233
cmp rdi, qword [rax + 0x10]
jne 0x14007a238
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], cl
je 0x14007a226
mov rdi, rax
cmp rdi, qword [rbp - 0x78]
jne 0x14007a1be
lea rcx, [rbp - 0x28]
call fcn.140018670
mov rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x48]
cmp rdx, rax
je 0x14007a289
mov rcx, qword [rdx]
mov rax, qword [rbp - 0x48]
mov qword [rdx], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x48], rcx
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x40], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [rbp - 0x38], rcx
lea rdi, [rdx + 0x18]
lea rax, [rbp - 0x78]
cmp rdi, rax
je 0x14007a2b4
mov rdx, qword [rdi]
mov rax, qword [rbp - 0x78]
mov qword [rdi], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x78], rdx
mov rdx, qword [rdi + 8]
mov qword [rdi + 8], rax
mov qword [rbp - 0x70], rdx
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x14007a2c5
mov rcx, rax
call fcn.1400910f4
mov r8, qword [rbp - 0x78]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x78]
mov r9, r8
mov r8, qword [r8]
call fcn.14007aca0
mov rcx, qword [rbp - 0x78]
call fcn.1400910f4
lea rcx, [rbp - 0x48]
call fcn.140079b08
mov al, bl
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140091a70
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
call fcn.1400096a0
cmp eax, 2
jg 0x14007a373
mov esi, 0x40
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rbp + 0x30]
lea r9d, [rsi - 0x3e]
mov r8d, 0xd8
call fcn.1400097c0
lea rdx, str.Failed_backing_up_subkey__
add rdi, 0x20
lea rcx, [rax + 8]
call fcn.140008810
cmp qword [rdi + 0x18], 8
jb 0x14007a359
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000a0a0
lea rdx, [0x1400c4df4]
mov rcx, rax
call fcn.140008810
test sil, 0x40
jmp 0x14007a3e9
call fcn.1400096a0
cmp eax, 2
jg 0x14007a3e5
mov esi, 0x20
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rbp + 0x30]
lea r9d, [rsi - 0x1e]
mov r8d, 0xd3
call fcn.1400097c0
lea rdx, str.Failed_opening_subkey__
add rdi, rsi
lea rcx, [rax + 8]
call fcn.140008810
cmp qword [rdi + 0x18], 8
jb 0x14007a3bf
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000a0a0
lea rdx, str.__for_backup__result:
mov rcx, rax
call fcn.140008810
mov edx, dword [rsp + 0x70]
mov rcx, rax
call fcn.14000a1c0
test sil, 0x20
je 0x14007a3f4
lea rcx, [rbp + 0x30]
call fcn.140009830
lea rcx, [rbp - 0x28]
call fcn.140018670
xor eax, eax
mov bl, al
jmp 0x14007a2b4
call fcn.140090410
int3
lea rcx, str.vector_T__too_long
call fcn.140090454
int3