Function at 0x100036ed
Capabilities:
Load windows common language runtime

Disassembly:
push 0x74
mov eax, 0x100170cb
call fcn.10014237
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
push 0x1001a858
xor ebx, ebx
push 0x1001a868
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
test eax, eax
js 0x100037a3
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x20]
push edx
push 0x1001a878
push str.v4.0.30319
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x100037a3
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 0x100037a3
cmp dword [ebp - 0x38], ebx
je 0x100037a3
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
push edx
push 0x1001a848
push 0x1001a838
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x100037a3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jl 0x100037a3
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 0x100037ab
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x100037a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.100142d6
ret
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x100037c3
push 0x80004003
call fcn.1000ac30
lea edx, [ebp - 0x14]
push edx
push 0x1001cac8
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jge 0x100037ea
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10003792
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10003792
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 0x1000382f
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100037d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100037d8
push edi
push dword [ebp + 8]
push dword [ebp - 0x30]
call fcn.10013660
add esp, 0xc
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
cmp eax, ebx
jl 0x1000381c
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x100037b9
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10003863
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 0x1000381c
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100037b9
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 0x100038b7
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1000381c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1000381c
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 0x100037b9
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 0x100038a4
cmp eax, ebx
je 0x10003969
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1000397a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1000398a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1000399b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x100037a5