Function at 0x1402d26f0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x180
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x1402d2787
xor r14d, r14d
mov r15, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1402d275f
mov rdx, rbx
cmove rdx, r14
sub eax, ecx
mov r9d, dword [rbx + 0x30]
mov rcx, qword [rsi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call r15
test eax, eax
jne 0x1402d2834
add rbx, 0x38
cmp rbx, qword [rdi + 8]
je 0x1402d2787
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
cmp rax, rcx
mov r8, rcx
cmove r8, r14
cmp byte [rbx + 0x17], 0
jns 0x1402d272e
cmp qword [rbx + 8], 0
je 0x1402d2783
mov rdx, qword [rbx]
jmp 0x1402d2735
xor edx, edx
jmp 0x1402d2735
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x30]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1403d4b30]
movaps xmmword [rcx], xmm0
call fcn.1400fd520
mov r12, qword [rdi + 0x18]
add rdi, 0x20
mov bl, 1
cmp r12, rdi
je 0x1402d292f
lea r15, [rsp + 0x30]
jmp 0x1402d27da
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1402d27c3
mov r12, rax
cmp rax, rdi
je 0x1402d292f
lea r14, [r12 + 0x20]
cmp byte [r12 + 0x37], 0
mov r8, r14
jns 0x1402d27ed
mov r8, qword [r14]
mov rdx, qword [rsi]
mov rcx, r15
mov r9d, 0x20006
call fcn.1400fd630
test eax, eax
jne 0x1402d28b4
lea rcx, [r12 + 0x38]
mov rdx, r15
call fcn.1402d26f0
test al, al
je 0x1402d2967
mov rcx, qword [r12 + 8]
test rcx, rcx
jne 0x1402d27c3
mov rax, qword [r12 + 0x10]
cmp r12, qword [rax]
mov r12, rax
jne 0x1402d2825
jmp 0x1402d27ce
mov ebp, eax
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d28ad
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0xfa
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_value__
mov r8d, Ordinal_27
call fcn.1401f8290
mov rcx, rax
mov rdx, rbx
call fcn.14010a6f0
lea rdx, str.___result:
mov r8d, recv
mov rcx, rax
call fcn.1401f8290
mov rcx, rax
mov edx, ebp
call fcn.1400c2d60
mov rcx, rsi
call fcn.14010e2d0
xor ebx, ebx
jmp 0x1402d2939
mov ebp, eax
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d292d
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x108
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_creating_subkey__
mov r8d, Ordinal_27
call fcn.1401f8290
mov rcx, rax
mov rdx, r14
call fcn.14010a6f0
lea rdx, str.___result:
mov r8d, recv
mov rcx, rax
call fcn.1401f8290
mov rcx, rax
mov edx, ebp
call fcn.1400c2d60
mov rcx, rsi
call fcn.14010e2d0
xor ebx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400fd810
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x1402d2953
call fcn.140278ca0
int3
mov eax, ebx
add rsp, 0x180
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402d292d
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x10d
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_subkey__
mov r8d, reloc.WS2_32.dll_socket
call fcn.1401f8290
mov rcx, rax
mov rdx, r14
call fcn.14010a6f0
lea rdx, str.___result:
mov r8d, recv
mov rcx, rax
call fcn.1401f8290
xor ebx, ebx
mov rcx, rax
xor edx, edx
call fcn.1400c2d60
mov rcx, rsi
call fcn.14010e2d0
jmp 0x1402d292f