Function at 0x140037070
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1400ed1f8]
xor rax, rsp
mov qword [rbp + 0x120], rax
movzx r15d, r8b
mov r14, rdx
mov rbx, rcx
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [0x1400f4070]
sub rax, rcx
cmp rax, 1
jb 0x1400373a9
lea r9, [0x1400f4060]
cmp qword [0x1400f4078], 8
cmovae r9, qword [0x1400f4060]
mov qword [rsp + 0x30], 1
lea rax, [0x1400c4b50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
call fcn.14000c1d0
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14003710e
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140007c50
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14003718d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400373af
call fcn.14005ce30
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov rdx, 0xffffffff80000001
mov r9d, 0x20006
lea rcx, [rsp + 0x68]
call fcn.140003a20
mov esi, eax
mov rdi, qword [rsp + 0x68]
test eax, eax
je 0x140037253
lea rax, str.c:jenkinsworkspacehemist_mc_extn_browserhost_PR_34_2mc_extn_browserhost_srcmc_extn_browserhostVolatileRegCache.cpp
mov qword [rsp + 0x20], rax
lea r9, str.CVolatileRegCache::Write
mov r8d, 0x65
mov dl, 4
lea rcx, [rbp - 0x70]
call fcn.140004ac0
nop
lea rbx, [rax + 0xa8]
lea rdx, str.Error_opening_registry_hive
mov rcx, rbx
call fcn.14000aa80
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rbx
call fcn.14000c660
lea rdx, str.._Error:
mov rcx, rbx
call fcn.14000aa80
mov edx, esi
mov rcx, rbx
call fcn.140007780
nop
lea rcx, [rbp - 0x70]
call fcn.140004d50
jmp 0x14003732e
cmp qword [r14 + 0x18], 8
jb 0x14003725d
mov r14, qword [r14]
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
je 0x14003730d
lea rax, str.c:jenkinsworkspacehemist_mc_extn_browserhost_PR_34_2mc_extn_browserhost_srcmc_extn_browserhostVolatileRegCache.cpp
mov qword [rsp + 0x20], rax
lea r9, str.CVolatileRegCache::Write
mov r8d, 0x6c
mov dl, 4
lea rcx, [rbp - 0x70]
call fcn.140004ac0
nop
lea rbx, [rax + 0xa8]
lea rdx, str.Error_writting_to_volatile_registry_hive
mov rcx, rbx
call fcn.14000aa80
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rbx
call fcn.14000c660
lea rdx, str.._Error:
mov rcx, rbx
call fcn.14000aa80
mov edx, esi
mov rcx, rbx
call fcn.140007780
nop
lea rcx, [rbp - 0x70]
call fcn.140004d50
jmp 0x14003732e
test rdi, rdi
je 0x140037323
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ebx
call fcn.1400373c0
mov esi, ebx
test rdi, rdi
je 0x14003733d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14003737b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037376
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400373a3
call fcn.14005ce30
mov eax, esi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140068e00
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008c3ec
int3
call fcn.1400025e0
nop
call fcn.14008c3ec
nop
int3