Function at 0x1400012d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r15, r8
xor r8d, r8d
mov r14, rdx
lea edx, [r8 + 2]
mov rsi, rcx
mov r12d, r9d
lea ecx, [rdx + 4]
call fcn.140001190
test al, al
je 0x14000136c
xor r8d, r8d
lea edx, [r8 + 2]
lea ecx, [rdx + 4]
call fcn.140001190
test al, al
je 0x14000136c
lea rcx, str.Kernel32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14000136c
lea rdx, str.SetProcessMitigationPolicy
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000136c
mov r8d, 4
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 7
lea ecx, [r8 - 3]
call rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x38]
xor edi, edi
test eax, eax
lea edx, [rdi + 1]
lea r8d, [rdi + 2]
cmove rcx, rdi
mov qword [rsp + 0x38], rcx
lea ecx, [rdi + 5]
call fcn.140001190
test al, al
jne 0x1400013c4
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
lea r9d, [rdi + 0x10]
lea r8, [0x140012960]
lea rdx, str.iTunes_requires_Windows_XP_SP2_or_later._n_nPlease_make_sure_compatibility_mode_is_disabled_in_the_Compatibility_tab_of_the_properties_for_iTunes.exe.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [rdi + 1]
jmp 0x140001612
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x208
mov qword [rsp + 0x4a0], rbx
call fcn.140004ab0
lea rax, [rsp + 0x40]
lea rdx, str.SoftwareApple_Inc.Apple_Application_Support
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400015ef
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.InstallDir
xor r8d, r8d
mov dword [rsp + 0x30], 0x206
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400015ef
cmp word [rsp + 0x70], di
je 0x1400015ef
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x140001484
lea rdx, str.Error_1
jmp 0x1400015f6
test byte [rsp + 0x48], 0x10
je 0x140001478
cmp word [rsp + 0x70], di
je 0x140001605
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400014c6
lea rdx, str.SetDllDirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400014c6
lea rcx, [rsp + 0x70]
call rax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x1400014e3
lea rdx, str.Error_5
lea rcx, str.iTunes_was_not_installed_correctly.__Please_reinstall_iTunes._n_n_s__Windows_error__d_
jmp 0x1400015fd
lea rdx, [rbp + 0x180]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x140001517
lea rdx, str.Error_3
lea rcx, str.iTunes_was_not_installed_correctly.__Please_reinstall_iTunes._n_n_s__Windows_error__d_
jmp 0x1400015fd
lea rcx, [rbp + 0x180]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x14000153e
xor r8d, r8d
lea rdx, str.Error_4
lea rcx, str.iTunes_was_not_installed_correctly.__Please_reinstall_iTunes._n_n_s__Windows_error__d_
jmp 0x140001600
lea rdx, str.iTunes.dll
lea rcx, [rbp + 0x180]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x14000156c
xor r8d, r8d
lea rdx, str.Error_6
lea rcx, str.iTunes_was_not_installed_correctly.__Please_reinstall_iTunes._n_n_s__Windows_error__d_
jmp 0x140001600
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
jne 0x140001597
lea rdx, str.Error_7
lea rcx, str.iTunes_was_not_installed_correctly.__Please_reinstall_iTunes._n_n_s__Windows_error__d_
jmp 0x1400015fd
lea rdx, str.iTunesMainEntryPoint
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
jne 0x1400015c5
lea rdx, str.Error_8
lea rcx, str.iTunes_was_not_installed_correctly.__Please_reinstall_iTunes._n_n_s__Windows_error__d_
jmp 0x1400015fd
call fcn.140001250
test al, al
jne 0x1400015d5
call fcn.140001000
jmp 0x140001605
mov rax, qword [rsp + 0x38]
mov r9d, r12d
mov r8, r15
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call rbx
jmp 0x14000160a
lea rdx, str.Error_2
lea rcx, str.Apple_Application_Support_was_not_found._n_nApple_Application_Support_is_required_to_run_iTunes._Please_uninstall_iTunes__then_install_iTunes_again._n_n_s__Windows_error__d_
mov r8d, eax
call fcn.140001070
mov eax, 1
mov rbx, qword [rsp + 0x4a0]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140001650
add rsp, 0x4a8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret