Function at 0x100590b0
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 0x10138d66
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x1019d008]
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.10004f90
test al, al
jne 0x10059456
push str.Ole32.dll
lea ecx, [ebp - 0xa0]
call fcn.10007b90
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa0]
push eax
call fcn.10069f30
mov ecx, eax
call fcn.10069ff0
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10004ab0
push str.OleAut32.dll
lea ecx, [ebp - 0xb8]
call fcn.10007b90
mov dword [ebp - 4], 1
lea eax, [ebp - 0xb8]
push eax
call fcn.10069f30
mov ecx, eax
call fcn.10069ff0
mov esi, eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10004ab0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x10059456
test esi, esi
je 0x10059456
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1016097c
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 0x10059456
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x10059456
cmp dword [ebp - 0x84], 0
je 0x10059456
cmp dword [ebp - 0x70], 0
je 0x10059456
cmp dword [ebp - 0x88], 0
je 0x10059456
test eax, eax
je 0x10059456
lea ecx, [ebp - 0x78]
call fcn.10073f70
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 0x1005926d
cmp eax, 0x80010119
je 0x1005926d
mov byte [ebp - 0x69], 0
jmp 0x10059442
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
push 0x10163e18
push 1
push 0
push 0x10163e28
call dword [ebp - 0x80]
test eax, eax
js 0x1005942d
cmp dword [ebp - 0x18], 0
je 0x1005942d
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 0x1005942d
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 0x10160398
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x10059416
cmp dword [ebp - 0x1c], 0
je 0x10059416
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x7c]
call fcn.10006030
push eax
call dword [ebp - 0x88]
mov edx, eax
mov dword [ebp - 0x7c], edx
test edx, edx
jne 0x10059388
mov byte [ebp - 0x69], al
jmp 0x10059403
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 0x100593f9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100593f9
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 0x100593c4
mov byte [ebp - 0x69], 0
jmp 0x10059403
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100593f9
cmp ecx, 1
jne 0x100593d4
mov dword [edi], ecx
jmp 0x100593ff
cmp ecx, 2
jne 0x100593dd
mov dword [edi], ecx
jmp 0x100593ff
cmp ecx, 3
jne 0x100593e6
mov dword [edi], ecx
jmp 0x100593ff
mov edx, 4
mov eax, 9
cmp ecx, edx
cmove eax, edx
mov dword [edi], eax
jmp 0x100593ff
mov dword [edi], 0
mov byte [ebp - 0x69], 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1005941a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1005941a
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10059431
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10059431
mov byte [ebp - 0x69], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10059442
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10074030
mov al, byte [ebp - 0x69]
jmp 0x10059458
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.10103789
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8