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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x42c34f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444204
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x478758
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea ebx, [esi + 8]
mov dword [esi], eax
push ebx
push 0x479cd4
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 0x42c50c
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 0x42c50c
mov ecx, dword [ebx]
lea ebx, [esi + 0xc]
push ebx
push 0x479ce4
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x42c509
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x42c509
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c3d0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x42c509
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 0x42c50c
mov eax, dword [ebx]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x42c50c
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 0x42c50c
mov ecx, dword [edi]
lea ebx, [esi + 0x14]
push ebx
push 0x479cf4
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x42c509
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 0x42c4eb
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 0x42c4b6
test dx, dx
je 0x42c4b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42c4b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42c490
xor eax, eax
jmp 0x42c4bb
sbb eax, eax
or eax, 1
push edi
test eax, eax
je 0x42c4df
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 0x42c470
jmp 0x42c4eb
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x42c509
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444204
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42c520
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42c534
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42c548
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x42c56e
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.00444204
mov esp, ebp
pop ebp
ret 4