Function at 0x14004f280
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r8, rcx
lea rdi, [rcx + 0x10]
mov rcx, rdi
call fcn.1400296e4
test al, al
jne 0x14004f51e
lea rsi, [r8 + 0x120]
mov rcx, rsi
call fcn.1400296e4
test al, al
jne 0x14004f51e
lea r14, [r8 + 0x230]
mov rcx, r14
call fcn.1400296e4
test al, al
jne 0x14004f51e
xor ebx, ebx
mov qword [rsp + 0x38], rbx
and dword [rsp + 0x40], ebx
and qword [rsp + 0x48], rbx
mov rcx, rdi
call fcn.140029560
mov rdx, rax
mov rcx, r8
call fcn.14004e8dc
and qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004f4c6
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
and dword [rsp + 0x40], eax
and qword [rsp + 0x50], 0
and dword [rsp + 0x58], eax
and qword [rsp + 0x60], 0
mov rcx, rsi
call fcn.140029560
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004f3ab
test rbx, rbx
je 0x14004f39c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
and dword [rsp + 0x40], 0
xor edi, edi
test eax, eax
jne 0x14004f46f
mov rcx, r14
call fcn.140029560
mov rsi, rax
cmp byte [0x1400beb08], dil
jne 0x14004f404
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004f3f4
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400beb00], rax
jmp 0x14004f3fb
mov rax, qword [0x1400beb00]
mov byte [0x1400beb08], 1
jmp 0x14004f40b
mov rax, qword [0x1400beb00]
mov rdx, rsi
mov rcx, rbx
test rax, rax
je 0x14004f424
xor r9d, r9d
xor r8d, r8d
call qword [case.0x14002b511.0]
jmp 0x14004f42a
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14004f4b4
mov edi, 0x271e
or r8d, 0xffffffff
lea rdx, str.DeleteSubKey_failed
lea rcx, [rsp + 0x70]
call fcn.1400293e4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x70]
mov edx, 9
mov ecx, edi
call fcn.140045cd4
nop
jmp 0x14004f4aa
mov edi, 0x271b
or r8d, 0xffffffff
lea rdx, str.Open_zoom_dir_failed
lea rcx, [rsp + 0x70]
call fcn.1400293e4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x70]
mov edx, 9
mov ecx, edi
call fcn.140045cd4
nop
lea rcx, [rsp + 0x70]
call fcn.1400294e0
test rbx, rbx
je 0x14004f4c4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x14004f50c
or r8d, 0xffffffff
lea rdx, str.Open_Path_failed
lea rcx, [rsp + 0x70]
call fcn.1400293e4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x70]
mov edx, 9
mov edi, 0x271b
mov ecx, edi
call fcn.140045cd4
nop
lea rcx, [rsp + 0x70]
call fcn.1400294e0
nop
test rbx, rbx
je 0x14004f51a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14004f58a
or r8d, 0xffffffff
lea rdx, [0x14009f26c]
lea rcx, [rbp + 0x80]
call fcn.1400293e4
nop
or r8d, 0xffffffff
lea rdx, str.Remove_reg_job_needs_path__zoom_dir_and_key
lea rcx, [rsp + 0x70]
call fcn.1400293e4
nop
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x70]
lea edx, [r9 + 9]
mov ebx, 0x2712
mov ecx, ebx
call fcn.140045cd4
nop
lea rcx, [rsp + 0x70]
call fcn.1400294e0
nop
lea rcx, [rbp + 0x80]
call fcn.1400294e0
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140079240
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret