Function at 0x10003007
Capabilities:
Load windows common language runtime

Disassembly:
push 0x74
mov eax, 0x10016cfb
call fcn.10013e67
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
push 0x1001a850
xor ebx, ebx
push 0x1001a860
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
test eax, eax
js 0x100030bd
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x20]
push edx
push 0x1001a870
push str.v4.0.30319
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x100030bd
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x100030bd
cmp dword [ebp - 0x38], ebx
je 0x100030bd
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
push edx
push 0x1001a840
push 0x1001a830
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x100030bd
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jl 0x100030bd
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp eax, ebx
jge 0x100030c5
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x100030bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.10013f06
ret
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x100030dd
push 0x80004003
call fcn.1000a860
lea edx, [ebp - 0x14]
push edx
push 0x1001cae4
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jge 0x10003104
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100030ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100030ac
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
push 1
push 0x11
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
call esi
lea ecx, [ebp - 0x30]
push ecx
push eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp eax, ebx
jge 0x10003149
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100030f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100030f2
push edi
push dword [ebp + 8]
push dword [ebp - 0x30]
call fcn.10013290
add esp, 0xc
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
cmp eax, ebx
jl 0x10003136
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x100030d3
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1000317d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x34]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi]
push edi
call dword [eax + 0xb4]
cmp eax, ebx
jl 0x10003136
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100030d3
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
cmp eax, ebx
jge 0x100031d1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10003136
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10003136
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov ecx, eax
mov word [ebp - 0x70], cx
mov ecx, 0x2008
mov word [ebp - 0x60], cx
lea ecx, [ebp - 0x48]
push ecx
push eax
push 8
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], eax
call esi
push dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x58]
call edi
xor eax, eax
lea ecx, [ebp - 0x50]
inc eax
push ecx
push eax
push 0xc
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], eax
call esi
mov esi, eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 0x28], ebx
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x100030d3
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
push esi
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
mov byte [ebp - 4], 2
cmp eax, ebx
mov eax, dword [ebp - 0x1c]
jl 0x100031be
cmp eax, ebx
je 0x10003283
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10003294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100032a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x100032b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x100030bf