Function at 0x10016dc1
Capabilities:
Execute vbscript javascript or jscript in memory

Disassembly:
push 0x18
mov eax, 0x10051e57
call fcn.1002524a
mov esi, ecx
push str.Started
lea ecx, [ebp - 0x18]
call fcn.10001b63
and dword [ebp - 4], 0
mov edi, str.InitializeScriptFrame
push edi
lea ecx, [ebp - 0x14]
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.10020985
add esp, 0xc
push 0
push eax
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x10]
push eax
push ecx
mov ecx, dword [esi + 0x14]
mov byte [ebp - 4], 3
call fcn.10001ca4
lea ecx, [ebp - 0x20]
call fcn.10001270
lea ecx, [ebp - 0x10]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ebx, [esi + 0x2c]
push ebx
push 0x10056e7c
push 1
push 0
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10016edf
push str.CoCreateInstance_failed
lea ecx, [ebp - 0x10]
call fcn.10001b63
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 4
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.10020985
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x14]
push 2
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10001ca4
lea ecx, [ebp - 0x20]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
lea ecx, [ebp - 0x10]
call fcn.10001270
xor al, al
jmp 0x10017058
mov eax, dword [ebx]
mov edx, dword [eax]
lea ecx, [esi + 0x28]
push ecx
push 0x10056e8c
push eax
call dword [edx]
test eax, eax
jns 0x10016f39
push str.QueryInterface_failed
lea ecx, [ebp - 0x10]
call fcn.10001b63
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 8
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.10020985
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x10016ea5
mov ebx, dword [ebx]
mov ecx, dword [ebx]
lea eax, [esi + 4]
push eax
push ebx
call dword [ecx + 0xc]
test eax, eax
jns 0x10016f8f
push str.SetScriptSite_failed
lea ecx, [ebp - 0x10]
call fcn.10001b63
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xc
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xe
call fcn.10020985
add esp, 0xc
mov byte [ebp - 4], 0xf
jmp 0x10016ea5
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x10016fe2
push str.InitNew_failed
lea ecx, [ebp - 0x10]
call fcn.10001b63
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0x10
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x12
call fcn.10020985
add esp, 0xc
mov byte [ebp - 4], 0x13
jmp 0x10016ea5
push str.Finished_successfully
lea ecx, [ebp - 0x1c]
call fcn.10001b63
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0x14
call fcn.10001b63
mov eax, dword [0x1006a014]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x16
call fcn.10020985
add esp, 0xc
mov ecx, dword [esi + 0x14]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x10]
push eax
mov byte [ebp - 4], 0x17
call fcn.10001ca4
lea ecx, [ebp - 0x24]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
mov al, 1
call fcn.10025322
ret