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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4c8748]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x45782f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047702f
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x4acad4
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea ebx, [esi + 8]
mov dword [esi], eax
push ebx
push 0x4ae1d0
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 0x4579ec
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 0x4579ec
mov ecx, dword [ebx]
lea ebx, [esi + 0xc]
push ebx
push 0x4ae1e0
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x4579e9
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x4579e9
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4578b0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4579e9
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 0x4579ec
mov eax, dword [ebx]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x4579ec
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 0x4579ec
mov ecx, dword [edi]
lea ebx, [esi + 0x14]
push ebx
push 0x4ae1f0
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x4579e9
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 0x4579cb
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
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457996
test dx, dx
je 0x457992
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457996
add eax, 4
add ecx, 4
test dx, dx
jne 0x457970
xor eax, eax
jmp 0x45799b
sbb eax, eax
or eax, 1
push edi
test eax, eax
je 0x4579bf
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 0x457950
jmp 0x4579cb
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x4579e9
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047702f
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x457a00
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x457a14
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x457a28
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x457a4e
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.0047702f
mov esp, ebp
pop ebp
ret 4