Function at 0x140018968
Capabilities:
Set registry value

Disassembly:
test rcx, rcx
je 0x14001936e
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov bl, r9b
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x58], rcx
xor r12d, r12d
mov esi, r12d
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SoftwareClasses
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400189fc
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], r12d
mov r14d, 4
test bl, bl
jne 0x140019126
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x1400190ba
mov r13, qword [rsp + 0x58]
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], r12d
lea rbx, str.URL:Zoom_Launcher
mov rcx, rbx
call fcn.14005e694
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
lea edi, [r14 - 3]
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [0x14009f26c]
mov rcx, rbx
call fcn.14005e694
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, edi
xor r8d, r8d
lea rdx, str.URL_Protocol
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
lea rdx, str.UseOriginalUrlEncoding
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r14, r12
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x60], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DefaultIcon
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x140018caf
mov r14, qword [rsp + 0x58]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
lea rdx, [0x1400a0afc]
lea rcx, [rbp - 0x50]
call fcn.1400055a4
nop
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140018b98
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x50]
call fcn.14000568c
lea rcx, [0x14009e290]
call fcn.14005e694
mov r8, rax
lea rdx, [0x14009e290]
lea rcx, [rbp - 0x50]
call fcn.14000568c
lea rcx, str.Zoom.exe
call fcn.14005e694
mov r8, rax
lea rdx, str.Zoom.exe
lea rcx, [rbp - 0x50]
call fcn.14000568c
lea rcx, [0x1400a1228]
call fcn.14005e694
mov r8, rax
lea rdx, [0x1400a1228]
lea rcx, [rbp - 0x50]
call fcn.14000568c
lea rbx, [rbp - 0x50]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140018c19
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x140018c4d
mov rcx, rbx
call fcn.14005e694
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x50]
test r14, r14
je 0x140018c6a
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, r12
mov qword [rbp - 0x70], r12
mov rdx, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x50]
mov dword [rbp - 0x68], r12d
cmp rdx, 8
jb 0x140018d15
lea rdx, [rdx*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140018ca5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019375
mov rcx, rbx
call fcn.140028010
jmp 0x140018d15
mov r9d, 0x284
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_create_app_protocol_home__defaultIcon__ret:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, edi
call fcn.14001effc
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b5e4
mov rdi, r12
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x48], r12d
mov qword [rbp - 0x40], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.shell
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r12d, eax
xor ebx, ebx
test eax, eax
jne 0x14001900a
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x50], rdi
mov dword [rbp - 0x48], ebx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.open
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r12d, eax
test eax, eax
jne 0x140018f8d
mov r12d, ebx
test rdi, rdi
je 0x140018ddd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, eax
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x50], rdi
mov dword [rbp - 0x48], ebx
test r12d, r12d
jne 0x140018f8d
xor r12d, r12d
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.command
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140018ff7
mov eax, r12d
test rdi, rdi
je 0x140018e4f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x50], rdi
mov dword [rbp - 0x48], r12d
test eax, eax
jne 0x140018ff7
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
lea rdx, [0x1400a0afc]
lea rcx, [rbp - 0x30]
call fcn.1400055a4
nop
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140018e97
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x30]
call fcn.14000568c
lea rcx, [0x14009e290]
call fcn.14005e694
mov r8, rax
lea rdx, [0x14009e290]
lea rcx, [rbp - 0x30]
call fcn.14000568c
lea rcx, str.Zoom.exe
call fcn.14005e694
mov r8, rax
lea rdx, str.Zoom.exe
lea rcx, [rbp - 0x30]
call fcn.14000568c
lea rcx, str._____url_1_
call fcn.14005e694
mov r8, rax
lea rdx, str._____url_1_
lea rcx, [rbp - 0x30]
call fcn.14000568c
lea rbx, [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140018f18
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140018f4c
mov rcx, rbx
call fcn.14005e694
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140018ff7
lea rdx, [rdx*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140018f83
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001937b
mov rcx, rbx
call fcn.140028010
jmp 0x140018ff7
mov r9d, 0x29a
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_create_app_protocol___shell_open_command__ret:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, r12d
call fcn.14001effc
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b5e4
xor r12d, r12d
test rdi, rdi
je 0x140019074
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
jmp 0x140019074
mov r9d, 0x29f
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_create_app_protocol_shell__ret:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, r12d
call fcn.14001effc
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b5e4
xor r12d, r12d
test r13, r13
je 0x140019085
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, r12
test rdi, rdi
je 0x140019094
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x1400190a3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r13, r13
je 0x1400191a4
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400191a4
mov r9d, 0x2a4
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_create_app_protocol_home__ret:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, edi
call fcn.14001effc
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b5e4
nop
jmp 0x14001933a
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140017084
mov edi, eax
test eax, eax
je 0x14001919f
mov r9d, 0x2ab
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_RecurseDeleteKey__ret:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, edi
call fcn.14001effc
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b5e4
mov rsi, qword [rsp + 0x60]
mov rdi, r12
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x10], r12
mov qword [rbp], r12
mov r15d, 7
mov qword [rbp + 8], r15
mov word [rbp - 0x10], r12w
lea rdx, str.SoftwareMicrosoftInternet_ExplorerProtocolExecute_
lea rcx, [rbp - 0x10]
call fcn.1400055a4
nop
mov rcx, qword [rbp - 0x58]
call fcn.14005e694
mov r8, rax
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x10]
call fcn.14000568c
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r14d, eax
test eax, eax
jne 0x14001927a
mov rdi, qword [rsp + 0x58]
mov dword [rsp + 0x50], r12d
lea r9d, [r15 - 3]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.WarnOnOpen
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1400192e2
mov r9d, 0x2cd
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_set_WarnOnOpen:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, r14d
call fcn.14001effc
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b5e4
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14001931e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019319
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001936f
call fcn.140028010
mov qword [rbp], r12
mov qword [rbp + 8], r15
mov word [rbp - 0x10], r12w
test rdi, rdi
je 0x14001933a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x140019348
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140079240
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005e4cc
nop
call fcn.14005e4cc
nop
call fcn.14005e4cc
int3