Function at 0x14000e47c
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x17]
sub rsp, 0xb0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rbx, r9
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x14000e4b6
xor eax, eax
jmp 0x14000e80a
and qword [rbp - 0x41], 0
and qword [rbp - 0x39], 0
xor r14d, r14d
lea rdx, str.URL:
lea rcx, [rbp - 0x11]
call fcn.14000a380
nop
lea r8, str._Protocol
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14000a310
nop
lea rcx, [rbp - 0x11]
call fcn.140005628
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
mov eax, dword [rbp - 0x21]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r12d, [r14 + 1]
mov r9d, r12d
xor r8d, r8d
lea r13, [0x14009f26c]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000e57d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0xf5
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
lea edx, [r14 + 2]
lea rcx, [rbp - 0x49]
call fcn.14000b3b8
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.1400081a8
nop
lea rcx, [rbp - 0x49]
call fcn.14000b5e4
jmp 0x14000e7e0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x20], r13
mov r9d, r12d
xor r8d, r8d
lea rdx, str.URL_Protocol
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000e5e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0xfc
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x49]
call fcn.14000b3b8
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.1400081a8
nop
jmp 0x14000e56f
and qword [rsp + 0x40], 0
lea rax, [rbp - 0x41]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DefaultIcon
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000e668
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0x103
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x49]
call fcn.14000b3b8
nop
lea rdx, str.RegCreateKeyEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.1400081a8
nop
jmp 0x14000e56f
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000e675
mov rcx, qword [rdi]
mov eax, dword [rdi + 0x10]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, r12d
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000e6e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0x10a
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x49]
call fcn.14000b3b8
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.1400081a8
nop
jmp 0x14000e56f
and qword [rsp + 0x40], 0
lea rax, [rbp - 0x39]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.shellopencommand
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000e764
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, 0x111
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x49]
call fcn.14000b3b8
nop
lea rdx, str.RegCreateKeyEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.1400081a8
nop
jmp 0x14000e56f
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000e771
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x10]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, r12d
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000e7dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r9d, pe_nt_image_headers64
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludePBXProtocolInstaller.cpp
mov edx, 2
lea rcx, [rbp - 0x49]
call fcn.14000b3b8
nop
lea rdx, str.RegSetValueEx_fail_error_code:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov edx, ebx
call fcn.1400081a8
nop
jmp 0x14000e56f
mov r14d, r12d
lea rcx, [rbp - 0x31]
call fcn.140005628
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14000e7f8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14000e807
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140079240
add rsp, 0xb0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret