Function at 0x1400195a0
Capabilities:
Set registry value

Disassembly:
test rcx, rcx
je 0x140019fa6
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 [0x1400c4a20]
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 0x140019634
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], r12d
mov r14d, 4
test bl, bl
jne 0x140019d5e
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 0x140019cf2
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.140065fe4
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, [0x1400a74e4]
mov rcx, rbx
call fcn.140065fe4
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 0x1400198e7
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, [0x1400a70c4]
lea rcx, [rbp - 0x50]
call fcn.14000559c
nop
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400197d0
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140005684
lea rcx, [0x1400a6488]
call fcn.140065fe4
mov r8, rax
lea rdx, [0x1400a6488]
lea rcx, [rbp - 0x50]
call fcn.140005684
lea rcx, str.Zoom.exe
call fcn.140065fe4
mov r8, rax
lea rdx, str.Zoom.exe
lea rcx, [rbp - 0x50]
call fcn.140005684
lea rcx, [0x1400a9098]
call fcn.140065fe4
mov r8, rax
lea rdx, [0x1400a9098]
lea rcx, [rbp - 0x50]
call fcn.140005684
lea rbx, [rbp - 0x50]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140019851
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x140019885
mov rcx, rbx
call fcn.140065fe4
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 0x1400198a2
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 0x14001994d
lea rdx, [rdx*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400198dd
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019fad
mov rcx, rbx
call fcn.1400222c0
jmp 0x14001994d
mov r9d, 0x273
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b798
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, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, edi
call fcn.140016ef0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b9c4
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 0x140019c42
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 0x140019bc5
mov r12d, ebx
test rdi, rdi
je 0x140019a15
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 0x140019bc5
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 0x140019c2f
mov eax, r12d
test rdi, rdi
je 0x140019a87
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 0x140019c2f
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
lea rdx, [0x1400a70c4]
lea rcx, [rbp - 0x30]
call fcn.14000559c
nop
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140019acf
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140005684
lea rcx, [0x1400a6488]
call fcn.140065fe4
mov r8, rax
lea rdx, [0x1400a6488]
lea rcx, [rbp - 0x30]
call fcn.140005684
lea rcx, str.Zoom.exe
call fcn.140065fe4
mov r8, rax
lea rdx, str.Zoom.exe
lea rcx, [rbp - 0x30]
call fcn.140005684
lea rcx, str._____url_1_
call fcn.140065fe4
mov r8, rax
lea rdx, str._____url_1_
lea rcx, [rbp - 0x30]
call fcn.140005684
lea rbx, [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140019b50
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140019b84
mov rcx, rbx
call fcn.140065fe4
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 0x140019c2f
lea rdx, [rdx*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140019bbb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019fb3
mov rcx, rbx
call fcn.1400222c0
jmp 0x140019c2f
mov r9d, 0x289
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b798
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, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, r12d
call fcn.140016ef0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b9c4
xor r12d, r12d
test rdi, rdi
je 0x140019cac
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
jmp 0x140019cac
mov r9d, 0x28e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_create_app_protocol_shell__ret:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, r12d
call fcn.140016ef0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b9c4
xor r12d, r12d
test r13, r13
je 0x140019cbd
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, r12
test rdi, rdi
je 0x140019ccc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x140019cdb
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r13, r13
je 0x140019ddc
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140019ddc
mov r9d, 0x293
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_create_app_protocol_home__ret:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, edi
call fcn.140016ef0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b9c4
nop
jmp 0x140019f72
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400182d8
mov edi, eax
test eax, eax
je 0x140019dd7
mov r9d, 0x29a
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_RecurseDeleteKey__ret:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, edi
call fcn.140016ef0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b9c4
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.14000559c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140065fe4
mov r8, rax
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x10]
call fcn.140005684
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 0x140019eb2
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 0x140019f1a
mov r9d, 0x2bc
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_set_WarnOnOpen:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, r14d
call fcn.140016ef0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b9c4
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140019f56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019f51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019fa7
call fcn.1400222c0
mov qword [rbp], r12
mov qword [rbp + 8], r15
mov word [rbp - 0x10], r12w
test rdi, rdi
je 0x140019f72
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x140019f80
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140080bf0
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.140065e1c
nop
call fcn.140065e1c
nop
call fcn.140065e1c
int3