Function at 0x1400079a0
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 [0x1400f6380]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x14012c008], 0
je 0x1400079f7
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140007a13
cmp byte [rdi + 8], 0
je 0x140007b03
movzx ecx, byte [rdi + 0x70]
mov eax, ecx
and al, 1
jne 0x140007a7a
shr rcx, 1
jmp 0x140007a7e
cmp byte [rdi + 0x18], 0
je 0x140007a01
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 0x140007c15
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 0x140007b1c
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x79
jmp 0x140007b4e
mov rcx, qword [rdi + 0x78]
mov r12, qword [rdi]
lea rsi, [rdi + 0x70]
test rcx, rcx
jne 0x140007ab4
lea rdx, [rdi + 0x28]
mov rcx, rsi
call fcn.14007bb60
lea rdx, str.Launcher
mov r8d, 9
mov rcx, rsi
call fcn.14007a800
mov al, byte [rdi + 0x70]
and al, 1
mov rbx, qword [rdi + 0x20]
mov qword [rsp + 0x58], r12
test al, al
je 0x140007ac6
mov rsi, qword [rdi + 0x80]
jmp 0x140007aca
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 0x140007be0
cmp byte [rdi + 8], 0
je 0x140007b03
mov byte [rdi + 8], 0
cmp byte [rdi + 0x18], 0
je 0x140007c15
movzx ecx, byte [rdi + 0x58]
mov eax, ecx
and al, 1
jne 0x140007b6a
shr rcx, 1
jmp 0x140007b6e
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140007b30
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + 0x20], rbx
mov eax, dword [rsp + 0x54]
add eax, 0xffffffff
cmp eax, 1
jbe 0x1400079d7
mov ecx, 0x80070507
mov eax, 0x88
mov byte [r14 + 0x10], 1
lea rdx, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [r14], rdx
mov dword [r14 + 8], eax
mov dword [r14 + 0xc], ecx
jmp 0x140007c1a
mov rcx, qword [rdi + 0x60]
mov rbx, qword [rdi + 0x10]
lea rsi, [rdi + 0x58]
test rcx, rcx
jne 0x140007ba1
lea rdx, [rdi + 0x28]
mov rcx, rsi
call fcn.14007bb60
lea rdx, str.Browser
mov r8d, 8
mov rcx, rsi
call fcn.14007a800
mov al, byte [rdi + 0x58]
and al, 1
mov qword [rsp + 0x58], rbx
mov rcx, qword [rdi + 0x20]
test al, al
je 0x140007bb4
mov rsi, qword [rdi + 0x68]
jmp 0x140007bb8
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 0x140007c0b
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [r14 + 0x10], 1
lea rax, str._var_tmp_build_firefox_cc4c8eaff833_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [r14], rax
mov dword [r14 + 8], 0x4e
mov dword [r14 + 0xc], ecx
jmp 0x140007c1a
cmp byte [rdi + 0x18], 0
je 0x140007c15
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 0x140007c3b
mov rax, r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140072349
int3