Function at 0x180079060
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov r14, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [0x1800a82b8], 0
je 0x18007963e
mov rsi, rdx
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.18001b8f0
cmp byte [rdi + 8], 0
jne 0x180079658
lea rdi, [rsp + 0x48]
mov r15, qword [rdi]
mov rcx, rdi
call fcn.18001b840
cmp byte [rdi + 8], 0
jne 0x180079661
mov r12, qword [rsp + 0x48]
mov ebx, dword [rsi]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.ScreenX
mov r8d, 8
mov rcx, rdi
call fcn.18001bd10
mov dword [rsp + 0x40], ebx
cmp qword [rsp + 0x60], 8
mov rdx, rdi
jb 0x18007911f
mov rdx, qword [rsp + 0x48]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 4
mov rcx, r15
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
mov r13d, 8
test ebp, ebp
jne 0x180079651
mov ebp, dword [rsi + 4]
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, [0x18009b208]
mov r8d, 8
mov rcx, rdi
call fcn.18001bd10
mov dword [rsp + 0x40], ebp
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x1800791ab
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 4
mov rcx, r15
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
test ebp, ebp
jne 0x180079651
mov ebp, dword [rsi + 8]
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.Width
mov r8d, 6
mov rcx, rdi
call fcn.18001bd10
mov dword [rsp + 0x40], ebp
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x18007922c
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 4
mov rcx, r15
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
test ebp, ebp
jne 0x180079651
mov ebp, dword [rsi + 0xc]
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.Height
mov r8d, 7
mov rcx, rdi
call fcn.18001bd10
mov dword [rsp + 0x40], ebp
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x1800792ad
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 4
mov rcx, r15
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
test ebp, ebp
jne 0x180079651
movzx ebp, byte [rsi + 0x50]
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.Maximized
mov r8d, 0xa
mov rcx, rdi
call fcn.18001bd10
mov dword [rsp + 0x40], ebp
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x18007932f
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 4
mov rcx, r15
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
test ebp, ebp
jne 0x180079651
movzx eax, byte [rsi + 0x51]
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x52], 0
cmove ecx, eax
mov eax, ecx
or eax, 4
cmp byte [rsi + 0x53], 0
cmove eax, ecx
mov ecx, dword [rsi + 0x54]
mov edx, eax
or edx, 8
cmp ecx, 1
cmovne edx, eax
mov ebp, edx
or ebp, 0x10
cmp ecx, 2
cmovne ebp, edx
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.Flags
mov r8d, 6
mov rcx, rdi
call fcn.18001bd10
mov dword [rsp + 0x40], ebp
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x1800793e2
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 4
mov rcx, r15
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
test ebp, ebp
jne 0x180079651
movsd xmm6, qword [rsi + 0x30]
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.CssToDevPixelScaling
mov r8d, 0x15
mov rcx, rdi
call fcn.18001bd10
movsd qword [rsp + 0x40], xmm6
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x180079467
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 8
mov rcx, r15
xor r8d, r8d
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
test ebp, ebp
jne 0x180079651
mov qword [rsp + 0x38], r14
movabs r14, 0xff0000000000
lea rdi, [rsi + 0x10]
lea rbp, [rsp + 0x48]
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 7
mov word [rbp], 0
mov rcx, rbp
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.UrlbarCSSSpan
mov r8d, 0xe
mov rcx, rbp
call fcn.18001bd10
mov dword [rsp + 0x20], 1
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, r15
mov r8, rbp
mov r9, rdi
call fcn.180079670
mov r13, qword [rbx]
mov rcx, rbp
call fcn.18001b7d0
test r13, r14
je 0x18007964c
lea rdi, [rsi + 0x20]
lea rbx, [rsp + 0x48]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 7
mov word [rbx], 0
mov rcx, rbx
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.SearchbarCSSSpan
mov r8d, 0x11
mov rcx, rbx
call fcn.18001bd10
mov dword [rsp + 0x20], 1
lea rbp, [rsp + 0x40]
mov rcx, rbp
mov rdx, r15
mov r8, rbx
mov r9, rdi
call fcn.180079670
mov r13, qword [rbp]
mov rcx, rbx
call fcn.18001b7d0
test r13, r14
je 0x18007964c
mov ebx, dword [rsi + 0x40]
mov rsi, qword [rsi + 0x38]
lea rdi, [rsp + 0x48]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rdi
mov rdx, r12
call fcn.18001b9a0
lea rdx, str.SpringsCSSSpan
mov r8d, 0xf
mov rcx, rdi
call fcn.18001bd10
mov dword [rsp + 0x20], ebx
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, r15
mov r8, rdi
mov r9, rsi
call fcn.180079670
mov r13, qword [rbx]
mov rcx, rdi
call fcn.18001b7d0
mov al, 1
test r13, r14
mov r14, qword [rsp + 0x38]
je 0x180079651
mov byte [r14 + 5], al
test r12, r12
je 0x18007960c
mov rcx, r12
call sym.mozglue.dll__aligned_free
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18004bde0
mov rax, r14
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r14], 2
mov byte [r14 + 5], 0
jmp 0x180079615
mov r14, qword [rsp + 0x38]
mov dword [r14], r13d
xor eax, eax
jmp 0x1800795fb
mov eax, dword [rsp + 0x48]
mov dword [r14], eax
jmp 0x180079645
mov eax, dword [rsp + 0x48]
mov dword [r14], eax
mov byte [r14 + 5], 0
jmp 0x18007960c