Function at 0x1402d1a30
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 [0x140430040]
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 0x1402d1e07
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 [0x1403d4b30]
movaps xmmword [rcx], xmm6
call fcn.1402ca140
mov eax, dword [rsp + 0x22c]
test rax, rax
je 0x1402d1c9d
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 0x1402d1c00
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.14027768c
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.1402d2dd0
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
cmp rsi, rbx
je 0x1402d1bee
add rbx, 0xffffffffffffffc8
je 0x1402d1df6
mov rcx, rbx
call fcn.1402d26a0
cmp rbx, rsi
jne 0x1402d1bd7
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x1402d1c00
call fcn.1402776c8
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.140200a50
mov dword [rsp + 0xa8], 0
cmp dword [rsp + 0x22c], 0
je 0x1402d1c69
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 0x1402d2373
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1402d1c9d
mov rax, qword [rsp + 0xb8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x1402d1df6
mov qword [rsp + 0xb8], rcx
call fcn.1402776c8
cmp dword [rsp + 0x234], 0
je 0x1402d1d0e
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 0x1402d1f20
lea rcx, [rsp + 0x70]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmmword [rcx], xmm6
call fcn.1400fd520
mov rsi, qword [rsp + 0x238]
lea r12, [rsp + 0x240]
cmp rsi, r12
jne 0x1402d20a1
lea rcx, [rsp + 0x70]
call fcn.1400fd810
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 0x1402d1db8
mov qword [r8 + 0x10], rdx
mov rcx, qword [rsp + 0x248]
jmp 0x1402d1dbc
mov qword [r10 + 0x18], rdx
test rcx, rcx
je 0x1402d1dc7
mov qword [rax + 0x10], r12
jmp 0x1402d1dcf
mov qword [rsp + 0x238], r12
mov sil, 1
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x1402d1e68
mov rax, qword [rsp + 0xd8]
cmp rax, rcx
je 0x1402d1df8
add rax, 0xfffffffffffffffe
jne 0x1402d1deb
ud2
mov qword [rsp + 0xd8], rcx
call fcn.1402776c8
jmp 0x1402d1e68
mov ebx, eax
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d1e66
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0x87
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_getting_info_of_key_to_backup__result:
mov r8d, reloc.WLDAP32.dll_Ordinal_46
call fcn.1401f8290
mov rcx, rax
mov edx, ebx
call fcn.1400c2d60
mov rcx, rsi
call fcn.14010e2d0
xor esi, esi
lea rcx, [rsp + 0x238]
mov rdx, qword [rcx + 8]
call fcn.1402d34b0
mov rbx, qword [rsp + 0x250]
test rbx, rbx
je 0x1402d1ec2
mov rdi, qword [rsp + 0x258]
mov rcx, rbx
cmp rbx, rdi
je 0x1402d1eb5
add rdi, 0xffffffffffffffc8
je 0x1402d1df6
mov rcx, rdi
call fcn.1402d26a0
cmp rdi, rbx
jne 0x1402d1e96
mov rcx, qword [rsp + 0x250]
mov qword [rsp + 0x258], rbx
call fcn.1402776c8
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x1402d1edc
call fcn.140278ca0
int3
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.1400d3980
cmp ebx, dword [rsp + 0x234]
jae 0x1402d1cd0
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 0x1402d1df6
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 0x1402d1f02
mov r15d, eax
cmp eax, 0x103
jne 0x1402d1f78
mov dword [rsp + 0x234], ebx
jmp 0x1402d1f13
test r15d, r15d
jne 0x1402d259a
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 0x1402d1df6
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xf8]
lea rdx, [rsp + 0x70]
call fcn.1402d2ef0
lea rcx, [rsp + 0x238]
lea rdx, [rsp + 0xb0]
lea r8, [rsp + 0xf0]
call fcn.1402d3520
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x110]
call fcn.1402d34b0
mov r14, qword [rsp + 0xf8]
test r14, r14
je 0x1402d2048
mov r15, qword [rsp + 0x100]
mov rcx, r14
cmp r14, r15
je 0x1402d203b
add r15, 0xffffffffffffffc8
je 0x1402d1df6
mov rcx, r15
call fcn.1402d26a0
cmp r15, r14
jne 0x1402d201c
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x100], r14
call fcn.1402776c8
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.1402d34b0
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x1402d209a
mov r15, qword [rsp + 0x78]
mov rcx, r14
cmp r14, r15
je 0x1402d2090
add r15, 0xffffffffffffffc8
je 0x1402d1df6
mov rcx, r15
call fcn.1402d26a0
cmp r15, r14
jne 0x1402d2074
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x78], r14
call fcn.1402776c8
inc ebx
jmp 0x1402d1f13
lea r14, [rsp + 0x70]
jmp 0x1402d20bf
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1402d20a8
mov rsi, rax
cmp rax, r12
je 0x1402d1d04
lea rbx, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
mov r8, rbx
jns 0x1402d20cf
mov r8, qword [rbx]
mov rdx, qword [rdi]
mov rcx, r14
mov r9d, 0x20009
call fcn.1400fd6e0
test eax, eax
jne 0x1402d250a
lea rcx, [rsi + 0x38]
mov rdx, r14
call fcn.1402d1a30
test al, al
je 0x1402d261c
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x1402d20a8
mov rax, qword [rsi + 0x10]
cmp rsi, qword [rax]
mov rsi, rax
jne 0x1402d2105
jmp 0x1402d20b3
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 0x1402d2690
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 0x1402d21ac
cmp rsi, r8
ja 0x1402d2695
imul rcx, rsi, 0x38
call fcn.14027768c
jmp 0x1402d21ae
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.1402d2e80
add qword [rsp + 0x80], 0x38
lea rcx, [rsp + 0x250]
lea rdx, [rsp + 0x70]
call fcn.1402d2dd0
mov rbp, qword [rsp + 0x258]
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
cmp rsi, r13
je 0x1402d222a
add r13, 0xffffffffffffffc8
je 0x1402d1df6
mov rcx, r13
call fcn.1402d26a0
cmp r13, rsi
jne 0x1402d2213
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1402d2296
call fcn.1402776c8
jmp 0x1402d2296
test ebp, ebp
jne 0x1402d2451
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 0x1402d2113
mov rcx, rbp
lea r12, [rsp + 0xf0]
mov rdx, r12
call fcn.1402d2e80
add rbp, 0x38
mov qword [rsp + 0x258], rbp
mov rcx, r12
call fcn.1402d26a0
mov rbp, qword [rsp + 0x258]
cmp qword [rsp + 0x250], rbp
je 0x1402d1df6
mov r13, qword [rsp + 0xb0]
cmp qword [rsp + 0xb8], r13
je 0x1402d1df6
mov rdx, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], rdx
je 0x1402d1df6
mov r8d, dword [rsp + 0xac]
test r8, r8
sete al
test rdx, rdx
setne cl
or cl, al
je 0x1402d1df6
lea rcx, [rbp - 0x38]
mov esi, dword [rsp + 0xa4]
mov r12d, dword [rsp + 0xa8]
call fcn.1400e8820
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.1402020c0
inc ebx
lea r13, [rsp + 0xa8]
jmp 0x1402d2366
mov ebp, eax
cmp eax, 0x103
jne 0x1402d223b
mov dword [rsp + 0x22c], ebx
cmp ebx, dword [rsp + 0x22c]
jae 0x1402d1c69
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 0x1402d1df6
cmp rcx, r8
je 0x1402d1df6
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 0x1402d2352
mov edx, dword [rsp + 0xa4]
mov rax, qword [rsp + 0xb8]
sub rax, qword [rsp + 0xb0]
sub rdx, rax
jbe 0x1402d241a
lea rcx, [rsp + 0xb0]
call fcn.1401fa330
mov edx, dword [rsp + 0xac]
inc edx
mov rax, qword [rsp + 0xd8]
sub rax, qword [rsp + 0xd0]
sar rax, 1
cmp rax, rdx
jae 0x1402d2366
lea rcx, [rsp + 0xd0]
call fcn.1400d3980
jmp 0x1402d2366
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d24cd
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xad
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_backing_up_value
mov r8d, Ordinal_27
call fcn.1401f8290
mov rcx, rax
mov edx, ebx
call fcn.1400c2fb0
lea rdx, str.__result:
mov r8d, 0xa
mov rcx, rax
call fcn.1401f8290
mov rcx, rax
mov edx, ebp
call fcn.1400c2d60
mov rcx, rsi
call fcn.14010e2d0
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1402d2593
mov rax, qword [rsp + 0xb8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x1402d1df6
mov qword [rsp + 0xb8], rcx
call fcn.1402776c8
jmp 0x1402d2593
mov ebp, eax
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d2589
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xdd
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_opening_subkey__
mov r8d, reloc.WS2_32.dll_socket
call fcn.1401f8290
mov rcx, rax
mov rdx, rbx
call fcn.14010a6f0
lea rdx, str.__for_backup__result:
mov r8d, Ordinal_27
mov rcx, rax
call fcn.1401f8290
mov rcx, rax
mov edx, ebp
call fcn.1400c2d60
mov rcx, rsi
call fcn.14010e2d0
lea rcx, [rsp + 0x70]
call fcn.1400fd810
xor esi, esi
jmp 0x1402d1dd2
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d2593
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, Ordinal_208
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_getting_name_of_subkey
mov r8d, 0x1e
call fcn.1401f8290
mov rcx, rax
mov edx, ebx
call fcn.1400c2fb0
lea rdx, str._for_backup__result:
mov r8d, reloc.WS2_32.dll_setsockopt
mov rcx, rax
call fcn.1401f8290
mov rcx, rax
mov edx, r15d
call fcn.1400c2d60
mov rcx, rsi
call fcn.14010e2d0
jmp 0x1402d2593
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d2589
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r8d, 0xe2
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_backing_up_subkey__
mov r8d, reloc.WLDAP32.dll_Ordinal_26
call fcn.1401f8290
mov rcx, rax
mov rdx, rbx
call fcn.14010a6f0
lea rdx, [0x1403dbb97]
mov r8d, 1
mov rcx, rax
call fcn.1401f8290
jmp 0x1402d2581
call fcn.1402b9a30
call fcn.1402b9a10
int3