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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10080680]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
jne 0x10018d1f
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c6ac
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x14]
push eax
push str.JScript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea edi, [esi + 8]
mov dword [esi], eax
push edi
push 0x1006ff10
push 0x17
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
mov ecx, dword [edi]
lea eax, [esi + 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
mov ecx, dword [edi]
lea edx, [esi + 0xc]
push edx
push 0x1006ff20
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
push ebx
call fcn.1004c3e4
add esp, 4
test eax, eax
jle 0x10018e99
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0x42
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push 0
push ebx
push eax
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
mov eax, dword [edi]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
mov ecx, dword [edi]
lea ebx, [esi + 0x10]
push ebx
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
mov ecx, dword [ebx]
lea ebx, [esi + 0x14]
push ebx
push 0x1006ff30
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x10018e99
mov eax, dword [ebx]
lea edx, [ebp - 0x18]
push edx
push 0xffffffffffffffff
push 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov dword [esi], eax
test eax, eax
jne 0x10018e7b
mov eax, dword [ebx]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push str.CollectGarbage
push dword [ebp - 0x1c]
mov dword [esi], eax
call fcn.1004ef4c
add esp, 8
push dword [ebp - 0x1c]
test eax, eax
je 0x10018e6f
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x34]
mov dword [esi], eax
test eax, eax
je 0x10018e28
jmp 0x10018e7b
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x10018e99
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c6ac
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10018ead
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10018ec1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10018ed5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x10018efb
mov eax, dword [ecx]
push 3
push ecx
call dword [eax + 0x14]
mov eax, dword [edi]
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c6ac
mov esp, ebp
pop ebp
ret 4