Function at 0x140006c50
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r14, r8
mov r13, rdx
mov r15, rcx
mov rax, qword [rcx]
cmp dword [rax - 0x10], 0
je 0x14000714f
mov rax, qword [rdx]
cmp dword [rax - 0x10], 0
je 0x14000714f
mov rax, qword [r8]
cmp dword [rax - 0x10], 0
je 0x14000714f
xor esi, esi
mov qword [rsp + 0x38], rsi
mov rax, qword [rdx]
mov ecx, dword [rax - 0x10]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], esi
lea ecx, [rsi + 0x11]
lea r8, [rsp + 0x38]
lea edx, [rsi + 1]
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov rbx, rax
mov qword [rsp + 0xd8], rax
test rax, rax
jne 0x140006ce4
mov eax, 0x8007000e
jmp 0x140006cf1
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
test eax, eax
jns 0x140006cf9
mov ecx, eax
call fcn.140007680
nop
mov edi, esi
nop dword [rax + rax]
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
jns 0x140006d1e
mov ecx, eax
call fcn.140007680
lea r8, [rsp + 0x138]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
jns 0x140006d3f
mov ecx, eax
call fcn.140007680
mov eax, dword [rsp + 0x138]
sub eax, dword [rsp + 0x58]
inc eax
cmp edi, eax
jae 0x140006de4
mov edx, edi
mov rcx, r13
call qword [sym.imp.mfc100u.dll_CMemFile::Free]
movzx r12d, al
test rbx, rbx
je 0x140006ddd
mov dword [rsp + 0x120], esi
lea r8, [rsp + 0x120]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
jns 0x140006d90
mov ecx, eax
call fcn.140007680
movsxd rsi, dword [rsp + 0x120]
cmp edi, esi
jl 0x140006ddb
xor eax, eax
mov dword [rsp + 0x120], eax
lea r8, [rsp + 0x120]
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
jns 0x140006dc4
mov ecx, eax
call fcn.140007680
cmp edi, dword [rsp + 0x120]
jg 0x140006ddb
mov rcx, qword [rbx + 0x10]
sub rcx, rsi
movsxd rax, edi
mov byte [rcx + rax], r12b
xor esi, esi
inc edi
jmp 0x140006d00
test rbx, rbx
jne 0x140006e05
mov eax, 0xa
mov word [rsp + 0x40], ax
mov dword [rsp + 0x48], 0x80070057
mov ecx, 0x80070057
call fcn.140007680
lea rdx, [rsp + 0x120]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DispGetParam]
mov ecx, eax
test eax, eax
js 0x140007121
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VarR8FromUI1]
test eax, eax
movzx eax, word [rsp + 0x40]
js 0x140006e55
cmp ax, 0xd
jne 0x140006e55
movzx ecx, word [rbx + 2]
test cl, 0x40
je 0x140006e55
mov edx, 0x400
test dx, cx
je 0x140006e55
mov eax, 9
mov ecx, 0x2000
or ax, cx
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14000cbb0]
xor edx, edx
lea r8d, [rdx + 0x14]
lea rcx, [0x14000abd0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140006ed6
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140006ead
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
js 0x140006ecf
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor al, al
jmp 0x140007151
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov rcx, qword [rax + 8]
call qword [sym.imp.mfc100u.dll_CDocObjectServer::XOleDocumentView::ApplyViewState]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [r15]
mov word [rsp + 0x60], si
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x140006f14
mov ecx, eax
call fcn.140007680
mov esi, 8
mov word [rsp + 0x60], si
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140006f51
test rdi, rdi
je 0x140006f51
mov eax, 0xa
mov word [rsp + 0x60], ax
mov eax, 0x8007000e
mov dword [rsp + 0x68], eax
mov ecx, eax
call fcn.140007680
nop
mov rdi, qword [r14]
xor eax, eax
mov word [rsp + 0x78], ax
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x140006f71
mov ecx, eax
call fcn.140007680
mov word [rsp + 0x78], si
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x140006faf
test rdi, rdi
je 0x140006faf
mov eax, 0xa
mov word [rsp + 0x78], ax
mov eax, 0x8007000e
mov dword [rsp + 0x80], eax
mov ecx, eax
call fcn.140007680
nop
mov eax, 3
mov word [rsp + 0xa0], ax
mov dword [rsp + 0xa8], esi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
call qword [rax + 0x1a0]
test eax, eax
jns 0x140007074
lea rcx, [rsp + 0xa0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
call fcn.140007620
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000704b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
js 0x14000706d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor al, al
jmp 0x140007151
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x90]
call qword [rax + reloc.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
test eax, eax
js 0x14000709c
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x148]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
call fcn.140007620
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400070fb
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
js 0x14000711d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov al, 1
jmp 0x140007151
mov eax, 0xa
mov word [rsp + 0x40], ax
mov dword [rsp + 0x48], ecx
mov eax, 0x8007000e
cmp ecx, eax
jne 0x14000713f
mov ecx, eax
call fcn.140007680
call fcn.140007680
nop
movzx eax, byte [rsp + 0x120]
jmp 0x140007151
xor al, al
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret