Function at 0x140013514
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x778]
sub rsp, 0x878
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rsi, r9
mov r15, r8
mov rdi, rdx
mov r14, rcx
mov ebx, dword [rbp + 0x7e0]
mov r9d, 0x2ea
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x34]
call fcn.14000e788
nop
lea rdx, str.Start_DelProgId...
lea rcx, [0x1400ba1e0]
call fcn.14001447c
nop
lea rcx, [rsp + 0x34]
call fcn.14000e9b4
mov r8, rdi
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x70]
call fcn.14000d750
nop
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
mov qword [rsp + 0x20], rsi
mov r9d, ebx
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call fcn.14001398c
mov r12, rax
mov dword [rsp + 0x20], r13d
mov r9, rsi
mov r8d, ebx
lea rdx, [rsp + 0x70]
call fcn.140013b84
mov rbx, rax
test rax, rax
je 0x1400137bc
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x30], r13d
mov esi, 0x7d0
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14007c100
mov dword [rsp + 0x34], 0x7ce
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.DefaultIcon
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400136d9
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14009b60c]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400136ce
cmp dword [rsp + 0x30], 1
jne 0x1400136ce
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.1400089b4
mov r9d, 0x2fb
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14000e788
nop
lea rdx, str.DelProgId_DefaultIcon:
lea rcx, [0x1400ba1e0]
call fcn.14001447c
mov rcx, rax
mov rdx, r14
call fcn.14000d5f8
nop
lea rcx, [rsp + 0x38]
call fcn.14000e9b4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x30], r13d
lea rdi, [rbp - 0x70]
xor eax, eax
mov rcx, rsi
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 0x7ce
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.shellopencommand
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400137b3
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14009b60c]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400137a8
cmp dword [rsp + 0x30], 1
jne 0x1400137a8
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.1400089b4
mov r9d, 0x309
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsIncludePBXProtocolInstaller.cpp
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14000e788
nop
lea rdx, str.DelProgId_cmd:
lea rcx, [0x1400ba1e0]
call fcn.14001447c
mov rcx, rax
mov rdx, r15
call fcn.14000d5f8
nop
lea rcx, [rsp + 0x38]
call fcn.14000e9b4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov rdx, r12
mov rcx, r14
call fcn.140012e94
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140013817
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013812
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013858
call fcn.14002a8f0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
lea rcx, [rsp + 0x70]
call fcn.140008a38
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x878
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140058698
nop
int3