Function at 0x140007de0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov r14, rcx
mov r15, qword [0x1400f7448]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x14014f010], 0
je 0x140007e38
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140007e54
cmp byte [rdi + 8], 0
je 0x140007f43
movzx ecx, byte [rdi + 0x70]
mov eax, ecx
and al, 1
je 0x140007ebb
mov rcx, qword [rdi + 0x78]
jmp 0x140007ebe
cmp byte [rdi + 0x18], 0
je 0x140007e42
mov byte [rdi + 0x18], 0
mov al, byte [rdi + 0x18]
mov byte [rdi + 8], al
mov rax, qword [rdi + 0x10]
mov qword [rdi], rax
jmp 0x140008055
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMozillaFirefoxLauncher
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140007f5d
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x79
jmp 0x140007f8f
shr rcx, 1
mov r12, qword [rdi]
lea rsi, [rdi + 0x70]
test rcx, rcx
jne 0x140007ef4
lea rdx, [rdi + 0x28]
mov rcx, rsi
call fcn.14007c6e0
lea rdx, str.Launcher
mov r8d, 9
mov rcx, rsi
call fcn.14007b270
mov al, byte [rdi + 0x70]
and al, 1
mov rbx, qword [rdi + 0x20]
mov qword [rsp + 0x58], r12
test al, al
je 0x140007f06
mov rsi, qword [rdi + 0x80]
jmp 0x140007f0a
add rsi, 2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140008020
cmp byte [rdi + 8], 0
je 0x140007f43
mov byte [rdi + 8], 0
cmp byte [rdi + 0x18], 0
je 0x140008055
movzx ecx, byte [rdi + 0x58]
mov eax, ecx
and al, 1
je 0x140007fab
mov rcx, qword [rdi + 0x60]
jmp 0x140007fae
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140007f71
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + 0x20], rbx
mov eax, dword [rsp + 0x54]
add eax, 0xffffffff
cmp eax, 1
jbe 0x140007e17
mov ecx, 0x80070507
mov eax, 0x88
mov byte [r14 + 0x10], 1
lea rdx, str._var_tmp_build_firefox_7913966da16e_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [r14], rdx
mov dword [r14 + 8], eax
mov dword [r14 + 0xc], ecx
jmp 0x14000805a
shr rcx, 1
mov rbx, qword [rdi + 0x10]
lea rsi, [rdi + 0x58]
test rcx, rcx
jne 0x140007fe1
lea rdx, [rdi + 0x28]
mov rcx, rsi
call fcn.14007c6e0
lea rdx, str.Browser
mov r8d, 8
mov rcx, rsi
call fcn.14007b270
mov al, byte [rdi + 0x58]
and al, 1
mov qword [rsp + 0x58], rbx
mov rcx, qword [rdi + 0x20]
test al, al
je 0x140007ff4
mov rsi, qword [rdi + 0x68]
jmp 0x140007ff8
add rsi, 2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
mov rdx, rsi
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000804b
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [r14 + 0x10], 1
lea rax, str._var_tmp_build_firefox_7913966da16e_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [r14], rax
mov dword [r14 + 8], 0x4e
mov dword [r14 + 0xc], ecx
jmp 0x14000805a
cmp byte [rdi + 0x18], 0
je 0x140008055
mov byte [rdi + 0x18], 0
mov byte [r14 + 0x10], 0
mov rax, qword [rsp + 0x60]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x14000807b
mov rax, r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400763e0
int3