Function at 0x140003360
Capabilities:
Enumerate processes
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14003f198]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14d, r14d
mov ebx, r14d
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], r14
mov edx, 0x1388
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000361c
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x64]
call fcn.14000c160
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
lea edi, [r14 + 1]
cmp rax, 0xffffffffffffffff
je 0x140003472
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140003469
lea rcx, [rbp - 0x74]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140003410
test rax, rax
je 0x140003457
lea rcx, [rbp - 0x74]
call fcn.140010c98
lea rdx, [rbp + 0x90]
sub rdx, rax
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140003431
mov rdx, qword [str.itunes.exe]
lea rcx, [rbp + 0x90]
call fcn.140010e1c
test rax, rax
jne 0x140003466
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
jmp 0x1400033fc
mov edi, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14000361c
call fcn.140008ed0
mov edi, r14d
test eax, eax
sete dil
test edi, edi
je 0x14000361c
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, qword [str.SoftwareClientsMediaiTunesInstallInfo]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400034d5
mov eax, r14d
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], 0x200
test eax, eax
jne 0x140003556
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, qword [str.IconsVisible]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000353b
cmp dword [rsp + 0x3c], 4
jne 0x14000353b
cmp dword [rsp + 0x30], eax
jne 0x14000353b
lea r8, [0x14002e7c8]
lea rdx, str.CItunesHelperMsgListener::Launch_iTunes_____iTunes_is_disabled.
lea ecx, [rax + 4]
call fcn.1400065b0
mov edi, r14d
test rbx, rbx
je 0x140003551
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [str.SoftwareApple_Computer__Inc.iTunesPreferences]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400035a6
mov eax, r14d
test rbx, rbx
je 0x140003597
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r14d
test eax, eax
jne 0x14000361f
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, qword [str.DontAutomaticallySyncIPods]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140003609
cmp dword [rsp + 0x3c], 4
jne 0x140003609
cmp dword [rsp + 0x38], 1
jne 0x140003609
lea r8, [0x14002e7c8]
lea rdx, str.CItunesHelperMsgListener::Launch_iTunes_____disable_auto_sync_pref_is_set.
lea ecx, [rax + 4]
call fcn.1400065b0
mov edi, r14d
test rbx, rbx
je 0x14000361f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
jmp 0x14000361f
mov edi, r14d
test rbx, rbx
je 0x14000362d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14000a0a0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret