Function at 0x10065440
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f246
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10199008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp + 8]
call fcn.10005680
movzx eax, al
test eax, eax
je 0x10065487
xor al, al
jmp 0x10065a6e
push 0x10166f14
lea ecx, [ebp - 0xc0]
call fcn.10005790
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
push ecx
call fcn.1006d990
mov ecx, eax
call fcn.1006da50
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.10005700
push str.OleAut32.dll
lea ecx, [ebp - 0xd8]
call fcn.10005790
mov dword [ebp - 4], 1
lea edx, [ebp - 0xd8]
push edx
call fcn.1006d990
mov ecx, eax
call fcn.1006da50
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.10005700
cmp dword [ebp - 0x80], 0
je 0x10065511
cmp dword [ebp - 0x74], 0
jne 0x10065518
xor al, al
jmp 0x10065a6e
push 0x10166f38
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x9c], eax
push str.CoInitializeSecurity
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x98], eax
push str.VariantInit
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x78], eax
push str.VariantClear
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x7c], eax
push str.SysAllocString
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], eax
push str.SysFreeString
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x9c], 0
je 0x100655c0
cmp dword [ebp - 0x98], 0
je 0x100655c0
cmp dword [ebp - 0x78], 0
je 0x100655c0
cmp dword [ebp - 0x7c], 0
je 0x100655c0
cmp dword [ebp - 0x88], 0
je 0x100655c0
cmp dword [ebp - 0x90], 0
jne 0x100655c7
xor al, al
jmp 0x10065a6e
lea ecx, [ebp - 0x20]
call fcn.1007a310
mov dword [ebp - 4], 2
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [ebp - 0x98]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jge 0x1006561b
cmp dword [ebp - 0x68], 0x80010119
je 0x1006561b
mov byte [ebp - 0x69], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x69]
jmp 0x10065a6e
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.10065ab0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10005800
push eax
push 0x10167530
push 1
push 0
push 0x10167560
call dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x10065663
push 0
lea ecx, [ebp - 0x14]
call fcn.10065a90
movzx ecx, al
test ecx, ecx
je 0x1006568e
mov byte [ebp - 0x6a], 0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10065aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x6a]
jmp 0x10065a6e
lea edx, [ebp - 0x34]
push edx
call dword [ebp - 0x78]
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 0x78]
lea ecx, [ebp - 0x54]
push ecx
call dword [ebp - 0x78]
lea edx, [ebp - 0x64]
push edx
call dword [ebp - 0x78]
lea ecx, [ebp - 0x14]
call fcn.10009770
mov dword [ebp - 0xa0], eax
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
mov edx, dword [ebp - 0x60]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x58]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x34]
push ecx
call dword [ebp - 0x7c]
lea edx, [ebp - 0x44]
push edx
call dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
push eax
call dword [ebp - 0x7c]
lea ecx, [ebp - 0x64]
push ecx
call dword [ebp - 0x7c]
cmp dword [ebp - 0x68], 0
jge 0x1006578c
mov byte [ebp - 0x6b], 0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10065aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x6b]
jmp 0x10065a6e
xor edx, edx
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x18]
call fcn.10065ab0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.10009770
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x18]
call fcn.10005800
push eax
push 0x101651c0
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x100657e7
push 0
lea ecx, [ebp - 0x18]
call fcn.10065a90
movzx ecx, al
test ecx, ecx
je 0x10065822
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10065aa0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10065aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x6c]
jmp 0x10065a6e
xor edx, edx
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x1c]
call fcn.10065ab0
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
call fcn.10005690
push eax
call dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x1006589c
mov byte [ebp - 0x6d], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.10065aa0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10065aa0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10065aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x6d]
jmp 0x10065a6e
lea ecx, [ebp - 0x18]
call fcn.10009770
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x1c]
call fcn.10005800
push eax
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x34]
call ecx
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x84]
push edx
call dword [ebp - 0x90]
cmp dword [ebp - 0x68], 0
jl 0x100658f5
push 0
lea ecx, [ebp - 0x1c]
call fcn.10065a90
movzx eax, al
test eax, eax
je 0x10065949
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov byte [ebp - 0x6e], 1
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.10065aa0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10065aa0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10065aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x6e]
jmp 0x10065a6e
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.10009770
mov dword [ebp - 0x94], eax
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jge 0x100659ca
mov byte [ebp - 0x6f], 0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.10065aa0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10065aa0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10065aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x6f]
jmp 0x10065a6e
cmp dword [ebp - 0x24], 0
jne 0x100659db
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x10065a28
cmp dword [ebp - 0x24], 1
jne 0x100659ec
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
jmp 0x10065a28
cmp dword [ebp - 0x24], 2
jne 0x100659fd
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x10065a28
cmp dword [ebp - 0x24], 3
jne 0x10065a0e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 3
jmp 0x10065a28
cmp dword [ebp - 0x24], 4
jne 0x10065a1f
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x10065a28
mov eax, dword [ebp + 0xc]
mov dword [eax], 9
mov byte [ebp - 0x70], 1
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.10065aa0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10065aa0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10065aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1007a3d0
mov al, byte [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a4b0
mov esp, ebp
pop ebp
ret 8