Function at 0x466990
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540b96
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x59e074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov ecx, eax
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x7c], eax
call fcn.004045b0
test al, al
jne 0x466d36
push str.Ole32.dll
lea ecx, [ebp - 0xa0]
call fcn.00404610
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa0]
push eax
call fcn.0041fe20
mov ecx, eax
call fcn.0041fee0
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00404600
push str.OleAut32.dll
lea ecx, [ebp - 0xb8]
call fcn.00404610
mov dword [ebp - 4], 1
lea eax, [ebp - 0xb8]
push eax
call fcn.0041fe20
mov ecx, eax
call fcn.0041fee0
mov esi, eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00404600
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x466d36
test esi, esi
je 0x466d36
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x567dac
push eax
call esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
push str.CoInitializeSecurity
push eax
call esi
push str.VariantInit
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
call esi
push str.VariantClear
push dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
call esi
push str.SysAllocString
push dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
call esi
push str.SysFreeString
push dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
call esi
cmp dword [ebp - 0x80], 0
mov dword [ebp - 0x74], eax
je 0x466d36
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x466d36
cmp dword [ebp - 0x84], 0
je 0x466d36
cmp dword [ebp - 0x70], 0
je 0x466d36
cmp dword [ebp - 0x88], 0
je 0x466d36
test eax, eax
je 0x466d36
lea ecx, [ebp - 0x78]
call fcn.004fdf50
mov dword [ebp - 4], 2
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call esi
test eax, eax
jns 0x466b4d
cmp eax, 0x80010119
je 0x466b4d
mov byte [ebp - 0x69], 0
jmp 0x466d22
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
push 0x569ecc
push 1
push 0
push 0x569edc
call dword [ebp - 0x80]
test eax, eax
js 0x466d0d
cmp dword [ebp - 0x18], 0
je 0x466d0d
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
movups xmm0, xmmword [ebp - 0x68]
mov eax, dword [ebp - 0x18]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [ebp - 0x38]
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x28]
mov esi, eax
lea eax, [ebp - 0x38]
push eax
call dword [ebp - 0x70]
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0x70]
lea eax, [ebp - 0x58]
push eax
call dword [ebp - 0x70]
lea eax, [ebp - 0x68]
push eax
call dword [ebp - 0x70]
test esi, esi
js 0x466d0d
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push 0x565968
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x466cf6
cmp dword [ebp - 0x1c], 0
je 0x466cf6
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x7c]
call fcn.004045c0
push eax
call dword [ebp - 0x88]
mov edx, eax
mov dword [ebp - 0x7c], edx
test edx, edx
jne 0x466c68
mov byte [ebp - 0x69], al
jmp 0x466ce3
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x20]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push dword [ebp - 0x7c]
mov esi, eax
call dword [ebp - 0x74]
test esi, esi
js 0x466cd9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x466cd9
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jns 0x466ca4
mov byte [ebp - 0x69], 0
jmp 0x466ce3
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x466cd9
cmp ecx, 1
jne 0x466cb4
mov dword [edi], ecx
jmp 0x466cdf
cmp ecx, 2
jne 0x466cbd
mov dword [edi], ecx
jmp 0x466cdf
cmp ecx, 3
jne 0x466cc6
mov dword [edi], ecx
jmp 0x466cdf
mov edx, 4
mov eax, 9
cmp ecx, edx
cmove eax, edx
mov dword [edi], eax
jmp 0x466cdf
mov dword [edi], 0
mov byte [ebp - 0x69], 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x466cfa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x466cfa
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x466d11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x466d11
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x466d22
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004fe010
mov al, byte [ebp - 0x69]
jmp 0x466d38
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00509af6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8