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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539c57
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4ba77d
mov edi, dword [0x580a58]
xchg dword [ebp - 0x2c], eax
test edi, edi
jne 0x4ba570
mov eax, dword fs:[0x2c]
mov ecx, dword [0x57fd64]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x580b58]
cmp eax, dword [ecx + 4]
jg 0x4ba79d
push 0x580b5c
mov dword [ebp - 0x38], 0x580b5c
mov dword [ebp - 0x34], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x580a58]
mov dword [ebp - 4], 0
test edi, edi
jne 0x4ba55e
push 0x44
call fcn.00500e07
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4ba553
mov ecx, eax
call fcn.00458720
mov edi, eax
jmp 0x4ba555
xor edi, edi
xchg dword [ebp - 0x28], eax
mov dword [0x580a58], edi
push 0x580b5c
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push 0x545400
call fcn.00458880
lea edi, [esi + 8]
mov dword [esi], eax
push edi
push 0x550ae0
push 0x17
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi], eax
test eax, eax
jne 0x4ba71b
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 0x4ba71b
mov ecx, dword [edi]
lea edi, [esi + 0xc]
push edi
push 0x550af0
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x4ba718
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x4ba718
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ba5f0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4ba718
mov eax, dword [edi]
lea edx, [ebp - 0x58]
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
lea edi, [esi + 8]
test eax, eax
jne 0x4ba71b
mov eax, dword [edi]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x4ba71b
mov ecx, dword [edi]
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 0x4ba718
mov ecx, dword [edi]
lea ebx, [esi + 0x14]
push ebx
push 0x550b00
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x4ba718
mov eax, dword [ebx]
lea edx, [ebp - 0x24]
push edx
push 0xffffffffffffffff
push 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov dword [esi], eax
test eax, eax
jne 0x4ba70b
nop
mov eax, dword [ebx]
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edi, dword [ebp - 0x30]
mov ecx, str.CollectGarbage
mov dword [esi], eax
mov eax, edi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ba6d6
test dx, dx
je 0x4ba6d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ba6d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ba6b0
xor eax, eax
jmp 0x4ba6db
sbb eax, eax
or eax, 1
push edi
test eax, eax
je 0x4ba6ff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x24]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x34]
mov dword [esi], eax
test eax, eax
je 0x4ba690
jmp 0x4ba70b
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x4ba718
mov eax, 1
jmp 0x4ba77f
lea edi, [esi + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4ba72f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4ba743
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4ba757
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x4ba77d
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
push 0x580b58
call fcn.00500d13
add esp, 4
cmp dword [0x580b58], 0xffffffff
jne 0x4ba509
push 0x580b5c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x53a4f0
call fcn.0050109f
push 0x580b58
call fcn.00500cc9
add esp, 8
jmp 0x4ba509