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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b217
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x57d54c]
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 0x4bbacd
mov edi, dword [0x581b04]
xchg dword [ebp - 0x2c], eax
test edi, edi
jne 0x4bb8c0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x580dcc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x581be4]
cmp eax, dword [ecx + 4]
jg 0x4bbaed
push 0x581be8
mov dword [ebp - 0x38], 0x581be8
mov dword [ebp - 0x34], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x581b04]
mov dword [ebp - 4], 0
test edi, edi
jne 0x4bb8ae
push 0x44
call fcn.00502157
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4bb8a3
mov ecx, eax
call fcn.0045b8d0
mov edi, eax
jmp 0x4bb8a5
xor edi, edi
xchg dword [ebp - 0x28], eax
mov dword [0x581b04], edi
push 0x581be8
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push 0x546400
call fcn.0045ba30
lea edi, [esi + 8]
mov dword [esi], eax
push edi
push 0x551ae0
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 0x4bba6b
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 0x4bba6b
mov ecx, dword [edi]
lea edi, [esi + 0xc]
push edi
push 0x551af0
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x4bba68
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x4bba68
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bb940
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4bba68
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 0x4bba6b
mov eax, dword [edi]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x4bba6b
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 0x4bba68
mov ecx, dword [edi]
lea ebx, [esi + 0x14]
push ebx
push 0x551b00
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x4bba68
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 0x4bba5b
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 0x4bba26
test dx, dx
je 0x4bba22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4bba26
add eax, 4
add ecx, 4
test dx, dx
jne 0x4bba00
xor eax, eax
jmp 0x4bba2b
sbb eax, eax
or eax, 1
push edi
test eax, eax
je 0x4bba4f
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 0x4bb9e0
jmp 0x4bba5b
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x4bba68
mov eax, 1
jmp 0x4bbacf
lea edi, [esi + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4bba7f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4bba93
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4bbaa7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x4bbacd
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.00501e95
mov esp, ebp
pop ebp
ret 4
push 0x581be4
call fcn.00502063
add esp, 4
cmp dword [0x581be4], 0xffffffff
jne 0x4bb859
push 0x581be8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x53bb80
call fcn.005023ef
push 0x581be4
call fcn.00502019
add esp, 8
jmp 0x4bb859