Function at 0x1401043f0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
xor eax, eax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
lea rcx, [r11 - 0x40]
call fcn.14006c1e0
nop
mov rax, qword [rsp + 0x88]
shr rax, 0x2e
test al, 1
je 0x1401045f5
mov dword [rsp + 0x60], 1
mov ebp, 0x80004005
xor r14d, r14d
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140464a48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401044e5
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 4]
xor r8d, r8d
lea rdx, str.N360SupportedSpec
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebp, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebp, ebp
sete dil
lea rsi, [rbx + 0xb0]
mov rcx, qword [0x140464a48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
lea r9, str.Write_N360SupportedBySpec__d_to__s_reg_entry
movzx r8d, dil
mov edx, 1
mov rcx, rsi
call fcn.14011e570
test ebp, ebp
jne 0x1401045f8
mov rcx, qword [rbx + 0x2b8]
test rcx, rcx
je 0x1401045e1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004487d.0]
test al, al
je 0x1401045e1
mov rcx, qword [rbx + 0x2b8]
test rcx, rcx
je 0x140104567
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
movzx ebp, al
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPhysicallyInstalledSystemMemory]
mov rbx, qword [rsp + 0x68]
shr rbx, 0x14
mov dword [rsp + 0x20], ebx
lea r9, str.Installed_Memory_:__lld_Gigabytes
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14011e570
cmp ebx, 8
jb 0x1401045a2
test bpl, bpl
jne 0x1401045f8
lea r9, str.Updating_N360SupportedBySpec_flag_to_0___not_a_supported_device.
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14011e570
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, str.N360SupportedSpec
mov rdx, qword [0x140464a48]
mov rcx, 0xffffffff80000002
call fcn.140057160
cmp eax, 1
sete dil
jmp 0x1401045f8
lea r9, str.Can_not_update_N360SupportedBySpec.
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14011e570
mov dil, 1
lea rax, vtable.CMaxxAudioOptions.0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
lea rdx, [rax - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14010462f
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
movzx eax, dil
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret