Function at 0x401000
Capabilities:
Load windows common language runtime

Disassembly:
push 0x50
mov eax, 0x40cdd5
call fcn.0040ccd5
mov esi, edx
mov ebx, ecx
lea eax, [ebp - 0x24]
xor edi, edi
push eax
push 0x411cb8
push 0x411cc8
mov dword [ebp - 0x24], edi
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
test eax, eax
js 0x401200
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x18]
push edx
push 0x411cd8
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
push str.v4.0.30319
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x401200
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
cmp dword [ebp - 0x28], edi
je 0x401200
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
push 0x411c88
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax]
push 0x411ca8
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x401200
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x401200
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x401200
mov dword [ebp - 4], edi
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
push edx
mov dword [ebp - 0x20], edi
push 0x411c98
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x4011ec
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
xor eax, eax
mov dword [ebp - 0x3c], esi
inc eax
mov dword [ebp - 0x38], edi
push eax
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
and dword [ebp - 0x30], 0
mov edi, eax
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x4011db
push esi
push ebx
push dword [ebp - 0x30]
call fcn.004040b0
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x4011db
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x401206
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x401144
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
xor ebx, ebx
push ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0xb4]
test eax, eax
js 0x4011db
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x401206
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x4011ca
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
push ebx
push ebx
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x4c]
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 word [ebp - 0x4c], ax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x401206
mov edx, dword [ecx]
lea esi, [ebp - 0x5c]
push esi
push eax
sub esp, 0x10
lea esi, [ebp - 0x4c]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x94]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4011db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4011ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401200
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.0040ccc1
ret
push 0x80004003
call fcn.004015d0
int3