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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x45d63f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x4dcde4
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea ebx, [esi + 8]
mov dword [esi], eax
push ebx
push 0x4e8370
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 0x45d7fc
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 0x45d7fc
mov ecx, dword [ebx]
lea ebx, [esi + 0xc]
push ebx
push 0x4e8380
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x45d7f9
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [esi], eax
test eax, eax
jne 0x45d7f9
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d6c0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x45d7f9
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 0x45d7fc
mov eax, dword [ebx]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
jne 0x45d7fc
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 0x45d7fc
mov ecx, dword [edi]
lea ebx, [esi + 0x14]
push ebx
push 0x4e8390
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], eax
test eax, eax
jne 0x45d7f9
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 0x45d7db
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 0x45d7a6
test dx, dx
je 0x45d7a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d7a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d780
xor eax, eax
jmp 0x45d7ab
sbb eax, eax
or eax, 1
push edi
test eax, eax
je 0x45d7cf
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 0x45d760
jmp 0x45d7db
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 4], 0
je 0x45d7f9
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x45d810
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x45d824
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45d838
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x45d85e
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.004a1365
mov esp, ebp
pop ebp
ret 4