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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x49babf
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x517480
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea ebx, [esi + 8]
mov dword [esi], eax
push ebx
push 0x522af8
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 0x49bc7c
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 0x49bc7c
mov ecx, dword [ebx]
lea ebx, [esi + 0xc]
push ebx
push 0x522b08
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x49bc79
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x49bc79
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49bb40
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x49bc79
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 0x49bc7c
mov eax, dword [ebx]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x49bc7c
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 0x49bc7c
mov ecx, dword [edi]
lea ebx, [esi + 0x14]
push ebx
push 0x522b18
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x49bc79
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 0x49bc5b
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 0x49bc00
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49bc26
test dx, dx
je 0x49bc22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49bc26
add eax, 4
add ecx, 4
test dx, dx
jne 0x49bc00
xor eax, eax
jmp 0x49bc2b
sbb eax, eax
or eax, 1
push edi
test eax, eax
je 0x49bc4f
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 0x49bbe0
jmp 0x49bc5b
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x49bc79
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x49bc90
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x49bca4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x49bcb8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x49bcde
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.004e03e9
mov esp, ebp
pop ebp
ret 4