Function at 0x140083a5c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x250
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov ebx, ecx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
mov edi, 1
call sub.msvcrt.dll_memset
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x140083ad2
test byte [rcx + 0x1c], 2
je 0x140083ad2
cmp byte [rcx + 0x19], 5
jb 0x140083ad2
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x23]
lea r8, [0x140097208]
call fcn.14000459c
lea r9, str.SoftwareMicrosoftFaxSetupOriginal_Setup_Data
mov dword [rsp + 0x20], ebx
lea r8, str._s_010d
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.140004520
mov ebx, eax
test eax, eax
jns 0x140083b4f
mov rcx, qword [str._0_n_]
cmp rcx, r14
je 0x140083b29
test byte [rcx + 0x1c], 2
je 0x140083b29
cmp byte [rcx + 0x19], 2
jb 0x140083b29
mov rcx, qword [rcx + 0x10]
lea r8, [0x140097208]
mov edx, 0x25
mov r9d, eax
call fcn.1400045c8
mov eax, ebx
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x140083b3a
movzx ebx, bx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140083cdc
mov r12, 0xffffffff80000002
lea rdx, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x20019
xor r8d, r8d
call fcn.14006f790
mov rbx, rax
test rax, rax
jne 0x140083bdc
mov r9d, 0x20019
lea rdx, str.SoftwareMicrosoftFaxSetupOriginal_Setup_Data
xor r8d, r8d
mov rcx, r12
xor edi, edi
call fcn.14006f790
mov rbx, rax
test rax, rax
jne 0x140083bdc
mov rax, qword [str._0_n_]
cmp rax, r14
je 0x140083b48
test byte [rax + 0x1c], 2
je 0x140083b48
cmp byte [rax + 0x19], 2
jb 0x140083b48
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea edx, [rdi + 0x26]
mov r9d, eax
lea r8, [0x140097208]
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x140083b48
lea rcx, [0x1400926f8]
call fcn.14006bd20
lea r9, [0x140092f18]
mov qword [rsi + 0x10], rax
lea r8, str.CSID
mov edx, 1
mov rcx, rbx
call fcn.14006e5dc
lea r9, [0x140092f18]
mov qword [rsi], rax
lea r8, str.TSID
mov edx, 1
mov rcx, rbx
call fcn.14006e5dc
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsi + 8], rax
lea rdx, str.Rings
mov rcx, rbx
call fcn.14006f53c
neg eax
lea r8, [rsp + 0x30]
lea rdx, str.Flags
sbb ecx, ecx
xor r9d, r9d
and ecx, dword [rsp + 0x30]
and dword [rsp + 0x30], 0
mov dword [rsi + 0x18], ecx
mov rcx, rbx
call fcn.14006f53c
neg eax
mov rcx, rbx
sbb edx, edx
and edx, dword [rsp + 0x30]
mov dword [rsi + 0x1c], edx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp edi, 1
jne 0x140083cd7
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140083cd7
mov rcx, qword [str._0_n_]
cmp rcx, r14
je 0x140083cd7
test byte [rcx + 0x1c], 2
je 0x140083cd7
cmp byte [rcx + 0x19], 2
jb 0x140083cd7
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x26]
mov r9d, eax
lea r8, [0x140097208]
call fcn.140004994
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140001b10
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret