Function at 0x14008f1f0
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rdi, rdx
mov rbx, rcx
xor bpl, bpl
xor r12d, r12d
mov rcx, qword [0x140375f58]
test rcx, rcx
je 0x14008f237
call fcn.14008fdb0
mov rcx, qword [0x140375f58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [0x140375f58], r12
mov rcx, qword [0x140375f60]
test rcx, rcx
je 0x14008f260
mov rax, qword [rcx]
call qword [rax + 0x100]
mov rcx, qword [0x140375f60]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [0x140375f60], r12
lea rax, [0x140375f60]
mov qword [rsp + 0x20], rax
lea r9, [0x14028cc48]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x14028cc58]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp qword [0x140375f60], r12
je 0x14008f4f3
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
mov word [rsp + 0x50], ax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x58], rax
lea rcx, str.https:__setup.icloud.com_setup_ws_1_directLogin
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
mov ecx, 0x20
call fcn.1400e69ec
mov rdi, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x14008f304
lea rax, vtable.BrowserEvent.0
mov qword [rdi], rax
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov dword [rdi + 0x18], r12d
jmp 0x14008f307
mov rdi, r12
mov qword [0x140375f58], rdi
test rbx, rbx
jne 0x14008f31d
mov rbx, r12
mov qword [rsp + 0x30], rbx
jmp 0x14008f33e
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14008f54f
mov rdi, qword [0x140375f58]
mov rsi, qword [0x140375f60]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi + 0x10], rax
test rsi, rsi
je 0x14008f3d4
mov qword [rsp + 0xb8], r12
mov rax, qword [rsi]
lea r8, [rsp + 0xb8]
lea rdx, [0x14028cc38]
mov rcx, rsi
call qword [rax]
test eax, eax
js 0x14008f3d4
mov qword [rsp + 0xb0], r12
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
lea r8, [rsp + 0xb0]
lea rdx, [0x1402778d8]
call qword [rax + 0x20]
test eax, eax
js 0x14008f3c6
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
lea r8, [rdi + 0x18]
mov rdx, rdi
call qword [rax + 0x28]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rdi + 8], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [0x140375f60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x38]
mov rdx, r14
call qword [rax + 0x58]
test eax, eax
js 0x14008f461
call fcn.1400c1f80
cmp dword [rax + 0x78], 6
jl 0x14008f45c
call fcn.1400c1f80
lea rcx, str.Successfully_navigated_to_the_auto_login_url.
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x204
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesTrayIcon.cpp
lea r8, str.TrayIcon::LaunchIE
mov edx, 6
mov rcx, rax
call fcn.1400c23b0
mov bpl, 1
jmp 0x14008f4ac
call fcn.1400c1f80
cmp dword [rax + 0x78], 3
jl 0x14008f4a0
call fcn.1400c1f80
lea rcx, str.ERROR:_Failed_to_navigate_to_the_auto_login_url.
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x209
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesTrayIcon.cpp
lea r8, str.TrayIcon::LaunchIE
mov edx, 3
mov rcx, rax
call fcn.1400c23b0
mov rcx, qword [0x140375f58]
call fcn.14008fdb0
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [0x140375f58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [0x140375f58], r12
mov rcx, qword [0x140375f60]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [0x140375f60], r12
jmp 0x14008f532
call fcn.1400c1f80
cmp dword [rax + 0x78], 3
jl 0x14008f532
call fcn.1400c1f80
lea rcx, str.ERROR:_Failed_to_create_instance_of_Internet_Explorer.
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x218
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesTrayIcon.cpp
lea r8, str.TrayIcon::LaunchIE
mov edx, 3
mov rcx, rax
call fcn.1400c23b0
movzx eax, bpl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140052c30
int3