Function at 0x4a8310
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 0x69ad86
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x748068]
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.00405c90
test al, al
jne 0x4a86b6
push str.Ole32.dll
lea ecx, [ebp - 0xa0]
call fcn.00405d30
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00450f20
mov ecx, eax
call fcn.00450fe0
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00405ce0
push str.OleAut32.dll
lea ecx, [ebp - 0xb8]
call fcn.00405d30
mov dword [ebp - 4], 1
lea eax, [ebp - 0xb8]
push eax
call fcn.00450f20
mov ecx, eax
call fcn.00450fe0
mov esi, eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00405ce0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4a86b6
test esi, esi
je 0x4a86b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6e0718
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 0x4a86b6
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x4a86b6
cmp dword [ebp - 0x84], 0
je 0x4a86b6
cmp dword [ebp - 0x70], 0
je 0x4a86b6
cmp dword [ebp - 0x88], 0
je 0x4a86b6
test eax, eax
je 0x4a86b6
lea ecx, [ebp - 0x78]
call fcn.004a8f10
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 0x4a84cd
cmp eax, 0x80010119
je 0x4a84cd
mov byte [ebp - 0x69], 0
jmp 0x4a86a2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
push 0x6e345c
push 1
push 0
push 0x6e346c
call dword [ebp - 0x80]
test eax, eax
js 0x4a868d
cmp dword [ebp - 0x18], 0
je 0x4a868d
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 0x4a868d
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 0x6ccbc0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x4a8676
cmp dword [ebp - 0x1c], 0
je 0x4a8676
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x7c]
call fcn.00405ca0
push eax
call dword [ebp - 0x88]
mov edx, eax
mov dword [ebp - 0x7c], edx
test edx, edx
jne 0x4a85e8
mov byte [ebp - 0x69], al
jmp 0x4a8663
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 0x4a8659
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a8659
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 0x4a8624
mov byte [ebp - 0x69], 0
jmp 0x4a8663
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4a8659
cmp ecx, 1
jne 0x4a8634
mov dword [edi], ecx
jmp 0x4a865f
cmp ecx, 2
jne 0x4a863d
mov dword [edi], ecx
jmp 0x4a865f
cmp ecx, 3
jne 0x4a8646
mov dword [edi], ecx
jmp 0x4a865f
mov edx, 4
mov eax, 9
cmp ecx, edx
cmove eax, edx
mov dword [edi], eax
jmp 0x4a865f
mov dword [edi], 0
mov byte [ebp - 0x69], 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a867a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a867a
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a8691
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a8691
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4a86a2
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004a8fd0
mov al, byte [ebp - 0x69]
jmp 0x4a86b8
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.0064fb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8