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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x488580]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x4409af
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451043
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x475168
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea ebx, [esi + 8]
mov dword [esi], eax
push ebx
push 0x47df20
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 0x440b6c
mov ecx, dword [ebx]
lea eax, [esi + 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x440b6c
mov ecx, dword [ebx]
lea ebx, [esi + 0xc]
push ebx
push 0x47df30
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x440b69
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x440b69
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440a30
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x440b69
mov eax, dword [ebx]
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 edi
push eax
call dword [ecx + 0x14]
mov dword [esi], eax
lea ebx, [esi + 8]
test eax, eax
jne 0x440b6c
mov eax, dword [ebx]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x440b6c
mov ecx, dword [ebx]
lea edi, [esi + 0x10]
push edi
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [esi], eax
test eax, eax
jne 0x440b6c
mov ecx, dword [edi]
lea ebx, [esi + 0x14]
push ebx
push 0x47df40
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x440b69
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 0x440b4b
nop
mov eax, dword [ebx]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edi, dword [ebp - 0x1c]
mov ecx, str.CollectGarbage
mov dword [esi], eax
mov eax, edi
jmp 0x440af0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x440b16
test dx, dx
je 0x440b12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x440b16
add eax, 4
add ecx, 4
test dx, dx
jne 0x440af0
xor eax, eax
jmp 0x440b1b
sbb eax, eax
or eax, 1
push edi
test eax, eax
je 0x440b3f
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 0x440ad0
jmp 0x440b4b
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x440b69
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451043
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x440b80
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x440b94
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x440ba8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x440bce
mov eax, dword [ecx]
push 3
push ecx
call dword [eax + 0x14]
mov eax, dword [ebx]
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00451043
mov esp, ebp
pop ebp
ret 4