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

Disassembly:
push 0xffffffffffffffff
push 0x1006bab8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008d414]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x38]
xor ebx, ebx
cmp esi, ebx
jne 0x10041f8d
mov esi, 0x80070057
jmp 0x10042267
cmp dword [esp + 0x3c], ebx
je 0x10041f83
cmp dword [edi + 0x40], esi
je 0x10041fb2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [edi + 0x40]
cmp eax, ebx
je 0x10041faf
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x40], esi
mov ecx, edi
call fcn.10041d70
mov esi, eax
cmp esi, ebx
jl 0x10042267
lea ebp, [edi + 0x24]
push ebp
push 0x100748b4
push 1
push ebx
push 0x100746b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x10042267
mov eax, dword [ebp]
mov edx, dword [eax]
lea ecx, [edi + 0x28]
push ecx
push 0x100748d4
push eax
mov eax, dword [edx]
call eax
mov esi, eax
cmp esi, ebx
jl 0x10042267
mov ecx, edi
call fcn.1003d6f0
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x10042267
mov dword [esp + 0x38], ebx
mov eax, dword [ebp]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x3c], ebx
call eax
mov esi, eax
cmp esi, ebx
mov eax, dword [esp + 0x38]
jge 0x1004205e
cmp eax, ebx
mov dword [esp + 0x30], 0xffffffff
je 0x10042267
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10042267
push eax
lea ecx, [esp + 0x18]
call fcn.1003d860
lea ebx, [edi + 0x38]
push ebx
mov byte [esp + 0x34], 1
call fcn.10040de0
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x14]
jge 0x100420b2
mov byte [esp + 0x30], 0
test eax, eax
je 0x10042091
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x30], 0xffffffff
je 0x10042267
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10042267
mov ecx, dword [ebx]
push eax
call fcn.1003dcb0
cmp dword [ebx], 0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 0
jne 0x100420cf
mov esi, 0x8007000e
jmp 0x10042085
test eax, eax
je 0x100420db
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x30], 0xffffffff
je 0x100420f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor ecx, ecx
push ecx
mov eax, 0x1003e4c0
push eax
push str.convertToVBArray
mov ecx, edi
call fcn.1003f1e0
mov esi, eax
test esi, esi
jl 0x10042267
xor ecx, ecx
push ecx
mov eax, 0x1003ed00
push eax
push str.connectObject
mov ecx, edi
call fcn.1003f1e0
mov esi, eax
test esi, esi
jl 0x10042267
xor ecx, ecx
push ecx
mov eax, 0x1003f2d0
push eax
push str.disconnectObject
mov ecx, edi
call fcn.1003f1e0
mov esi, eax
test esi, esi
jl 0x10042267
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 2
push str.setTimer
push eax
call edx
mov esi, eax
test esi, esi
jl 0x10042267
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 2
push str.killTimer
push eax
call edx
mov esi, eax
test esi, esi
jl 0x10042267
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 6
push str.toolbar
push eax
call edx
mov esi, eax
test esi, esi
jl 0x10042267
mov eax, dword [edi + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov esi, eax
test esi, esi
jl 0x10042267
mov ecx, edi
call fcn.1003d530
mov esi, eax
test esi, esi
jl 0x10042267
mov eax, dword [esp + 0x3c]
push eax
mov ecx, edi
call fcn.10040210
mov esi, eax
test esi, esi
jl 0x10042267
mov ebp, dword [ebp]
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x14]
push 2
push ebp
call edx
mov esi, eax
test esi, esi
jl 0x10042267
lea eax, [esp + 0x18]
push eax
xor ebp, ebp
xor ebx, ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
push str.__CXPOnToolbarInit
mov ecx, edi
mov dword [esp + 0x48], 2
mov dword [eax + 0xc], ebx
call fcn.1003dd50
mov esi, eax
test esi, esi
jge 0x10042239
lea edx, [esp + 0x18]
push edx
jmp 0x10042261
lea eax, [esp + 0x18]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
push str.OnToolbarInit
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.1003dd50
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8