Function at 0x140168a60
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
xor bl, bl
mov qword [rbp + 0x40], r14
call fcn.140169a90
mov rcx, qword [rsi + 0x10]
xor edx, edx
mov rdi, rax
call fcn.140136220
mov rcx, qword [rsi + 0x10]
test al, al
je 0x140168aa3
call fcn.1401675e0
jmp 0x140168aa8
call fcn.140167350
mov rcx, rdi
call fcn.140133430
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x140168acb
test rax, rax
je 0x140168acb
mov rdx, rax
call qword [sym.imp.CoreFoundation.dll_CFEqual]
cmp al, 1
jmp 0x140168ace
cmp rcx, rax
sete al
test al, al
jne 0x140168af2
xor ecx, ecx
call fcn.14015c940
mov rcx, qword [rsi + 0x28]
mov rdi, rax
test rcx, rcx
je 0x140168aee
call qword [sym.imp.CoreFoundation.dll_CFRelease]
mov qword [rsi + 0x28], rdi
mov rcx, qword [rsi + 0x10]
call fcn.140167590
mov rcx, qword [rsi + 0x28]
mov qword [rbp + 0x38], rax
test rcx, rcx
je 0x140168b1e
test rax, rax
je 0x140168b1e
mov rdx, rax
call qword [sym.imp.CoreFoundation.dll_CFEqual]
cmp al, 1
mov rax, qword [rbp + 0x38]
jmp 0x140168b21
cmp rcx, rax
sete cl
test cl, cl
jne 0x140168b71
mov rdx, qword [rsi + 0x28]
mov r8, rax
mov rcx, qword [rsi + 0x10]
call fcn.140167a20
test al, al
movzx ebx, bl
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_e8876a2772ed12ef3ab324d3790a7476___void__struct___CFString_const____ptr64_.0
mov ecx, 1
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x38]
cmovne ebx, ecx
mov rcx, qword [rsi + 0x28]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
call fcn.14011a900
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x140168b7f
mov rcx, rax
call qword [sym.imp.CoreFoundation.dll_CFRelease]
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x38], r14
cmp byte [rax + 0xd1], r14b
je 0x140168c07
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140135fd0
test al, al
jne 0x140168bee
mov rdi, qword [rbp + 0x40]
lea rcx, str.Ensure_peer_registration_while_repairing_failed:___
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
lea rcx, [0x1402c5200]
mov rbx, rax
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov qword [rsp + 0x30], rdi
lea r9, [0x1402c5170]
mov rdx, rax
mov qword [rsp + 0x28], rbx
lea r8, [0x1402c51e0]
mov dword [rsp + 0x20], 0x88
mov ecx, 3
call fcn.140109c60
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140168bfd
call qword [sym.imp.CoreFoundation.dll_CFRelease]
mov rax, qword [rsi + 0x10]
mov bl, 1
mov qword [rbp + 0x40], r14
cmp byte [rax + 0xd0], r14b
je 0x140168ca4
mov rcx, rax
call fcn.140136d70
mov rcx, qword [rsi + 0x10]
call fcn.140135d20
mov rcx, qword [rsi + 0x10]
lea rdx, [rbp + 0x48]
mov qword [rbp + 0x48], r14
mov rcx, qword [rcx + 0xb8]
call fcn.140173960
test al, al
jne 0x140168c8f
mov rdi, qword [rbp + 0x48]
lea rcx, str.flush_circle_failed___
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
lea rcx, [0x1402c52c0]
mov rbx, rax
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov qword [rsp + 0x30], rdi
lea r9, [0x1402c5230]
mov rdx, rax
mov qword [rsp + 0x28], rbx
lea r8, str.SOSAccountTransactionFinish
mov dword [rsp + 0x20], 0x96
mov ecx, 3
call fcn.140109c60
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140168c9e
call qword [sym.imp.CoreFoundation.dll_CFRelease]
mov rax, qword [rsi + 0x10]
mov bl, 1
test bl, bl
je 0x140168cb4
mov rcx, rax
call fcn.140179300
mov rax, qword [rsi + 0x10]
cmp byte [rax + 0xd2], r14b
je 0x140168cc9
mov rcx, rax
call fcn.14016ba70
mov rax, qword [rsi + 0x10]
mov byte [rax + 0xd2], r14b
mov rax, qword [rsi + 0x10]
mov byte [rax + 0xd0], r14b
mov rax, qword [rsi + 0x10]
mov byte [rax + 0xd1], r14b
mov rcx, qword [rsi + 0x10]
call fcn.1401360b0
mov rcx, qword [rsi + 0x10]
xor edx, edx
call fcn.140136220
mov rcx, qword [rsi + 0x10]
mov byte [rbp + 0x30], al
call fcn.140169a90
test rax, rax
je 0x140168d18
mov rcx, rax
call fcn.14015d9d0
mov rbx, rax
jmp 0x140168d1b
mov rbx, r14
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_a076599346d34c072b57e202a88e811f___void__struct___CFString_const____ptr64_.0
mov rcx, rbx
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
call fcn.14011a900
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x140168d60
test rbx, rbx
je 0x140168d60
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.CoreFoundation.dll_CFEqual]
cmp al, 1
jmp 0x140168d63
cmp rax, rbx
sete al
test al, al
je 0x140168d7b
movzx eax, byte [rbp + 0x30]
cmp byte [rsi + 0x18], al
jne 0x140168d7b
mov ecx, dword [0x14037dc20]
jmp 0x140168d9e
mov rcx, qword [str.com.apple.security.secureobjectsync.viewschanged]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x140274000]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, r14d
mov dword [0x14037dc20], ecx
mov rdx, qword [rsi + 0x10]
movzx eax, byte [rdx + 0x48]
cmp byte [rsi + 0x38], al
jne 0x140168de3
mov r8, qword [rsi + 0x40]
mov rax, qword [rdx + 0x50]
test r8, r8
je 0x140168dd3
test rax, rax
je 0x140168dd3
mov rdx, rax
mov rcx, r8
call qword [sym.imp.CoreFoundation.dll_CFEqual]
mov ecx, dword [0x14037dc20]
cmp al, 1
jmp 0x140168dd6
cmp r8, rax
sete al
test al, al
je 0x140168de3
test ecx, ecx
jg 0x140168e1b
jmp 0x140168e04
lea rcx, str.com.apple.security.publickeynotavailable
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x140274000]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [0x14037dc20], r14d
mov rcx, qword [rsi + 0x10]
call fcn.140136800
mov rcx, qword [rsi + 0x10]
call fcn.140136a40
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
dec ecx
mov dword [0x14037dc20], ecx
test rbx, rbx
je 0x140168e31
mov rcx, rbx
call qword [sym.imp.CoreFoundation.dll_CFRelease]
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret