Function at 0x14007b0c0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 8], 0
mov r14, r9
and qword [rbp - 0x10], 0
mov rsi, r8
mov rdi, rdx
mov r15, rcx
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
mov r12d, 2
cmp rcx, rax
je 0x14007b12f
test byte [rcx + 0x1c], r12b
je 0x14007b12f
cmp byte [rcx + 0x19], 5
jb 0x14007b12f
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x67]
lea r8, [0x14008c658]
call fcn.140001024
lea rax, [rbp - 8]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftFaxDevice_Providers
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007b199
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14007b521
test byte [rcx + 0x1c], r12b
je 0x14007b521
cmp byte [rcx + 0x19], r12b
jb 0x14007b521
mov edx, 0x6a
mov r9d, ebx
jmp 0x14007b511
and qword [rsp + 0x40], 0
lea rax, [rbp - 0x10]
mov rcx, qword [rbp - 8]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, r15
mov dword [rsp + 0x28], 0x2000000
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007b226
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14007b435
test byte [rcx + 0x1c], r12b
je 0x14007b435
cmp byte [rcx + 0x19], r12b
jb 0x14007b435
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x6b
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001328
jmp 0x14007b435
mov rcx, qword [rbp - 0x10]
lea r8, str.FriendlyName
mov r9, rdi
mov edx, 1
call fcn.14006b268
test eax, eax
jne 0x14007b298
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14007b435
test byte [rcx + 0x1c], r12b
je 0x14007b435
cmp byte [rcx + 0x19], r12b
jb 0x14007b435
mov edx, 0x6c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov r9d, eax
call fcn.140001050
jmp 0x14007b435
mov rcx, qword [rbp - 0x10]
lea r8, str.ImageName
mov r9, rsi
mov edx, r12d
call fcn.14006b268
test eax, eax
jne 0x14007b2f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14007b435
test byte [rcx + 0x1c], r12b
je 0x14007b435
cmp byte [rcx + 0x19], r12b
jb 0x14007b435
mov edx, 0x6d
jmp 0x14007b280
mov rcx, qword [rbp - 0x10]
lea r8, str.ProviderName
mov esi, 1
mov r9, r14
mov edx, esi
call fcn.14006b268
test eax, eax
jne 0x14007b353
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14007b435
test byte [rcx + 0x1c], r12b
je 0x14007b435
cmp byte [rcx + 0x19], r12b
jb 0x14007b435
mov edx, 0x6e
jmp 0x14007b280
mov rcx, qword [rbp - 0x10]
lea r8, str.GUID
mov r9, r15
mov edx, esi
call fcn.14006b268
test eax, eax
jne 0x14007b3af
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14007b435
test byte [rcx + 0x1c], r12b
je 0x14007b435
cmp byte [rcx + 0x19], r12b
jb 0x14007b435
mov edx, 0x6f
jmp 0x14007b280
mov r8d, dword [rbp + 0x40]
lea rdx, str.APIVersion
mov rcx, qword [rbp - 0x10]
call fcn.14006b18c
test eax, eax
jne 0x14007b3fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14007b435
test byte [rcx + 0x1c], r12b
je 0x14007b435
cmp byte [rcx + 0x19], r12b
jb 0x14007b435
mov edx, 0x70
jmp 0x14007b280
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14007b48f
test byte [rcx + 0x1c], r12b
je 0x14007b48f
cmp byte [rcx + 0x19], 5
jb 0x14007b48f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x71
mov r9, rdi
call fcn.1400011fc
test ebx, ebx
je 0x14007b48f
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14007b4d8
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14007b48f
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x14007b48f
test byte [rcx + 0x1c], r12b
je 0x14007b48f
cmp byte [rcx + 0x19], r12b
jb 0x14007b48f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x72
mov r9d, eax
call fcn.140001050
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14007b4d8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test eax, eax
je 0x14007b4d8
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x14007b4d8
test byte [rcx + 0x1c], r12b
je 0x14007b4d8
cmp byte [rcx + 0x19], r12b
jb 0x14007b4d8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x73
mov r9d, eax
call fcn.140001050
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14007b521
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test eax, eax
je 0x14007b521
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x14007b521
test byte [rcx + 0x1c], r12b
je 0x14007b521
cmp byte [rcx + 0x19], r12b
jb 0x14007b521
mov edx, 0x74
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
call fcn.140001050
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret