Function at 0x4010ee
Capabilities:
Load windows common language runtime

Disassembly:
push 0x64
mov eax, 0x41297b
call fcn.00411d8a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push 0x418784
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call section..text
mov dword [ebp - 0x1c], ebx
push str.PsiXMainModule.Program
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call section..text
mov dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x6c]
push eax
call esi
push 0x4187b8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call section..text
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 9
push eax
push 0x41886c
push 0x437c80
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x34]
push edx
push 0x41885c
mov esi, 0x4187c4
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edi, eax
cmp dword [ebp - 0x40], ebx
jne 0x401228
push esi
push str..NET_runtime__s_cannot_be_loaded_n
call fcn.00401669
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x5c]
pop ecx
pop ecx
push eax
call esi
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4011c9
call fcn.00401075
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x6c]
push eax
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4011e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4011ef
call fcn.00401075
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401200
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40120f
call fcn.00401075
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401220
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
jmp 0x4013e4
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
push 0x41884c
push 0x437c90
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401255
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x401276
push 0x80004003
call fcn.00402380
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401283
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov eax, dword [esi]
push ecx
push 0x41883c
push esi
call dword [eax]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], ebx
push eax
push 1
mov esi, 0xfa00
push 0x11
mov dword [ebp - 0x48], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov ebx, eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push esi
push 0x418880
push dword [ebx + 0xc]
call fcn.00412120
add esp, 0xc
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x40126c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4012e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0xb4]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40126c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40130d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x40131b
mov ecx, dword [eax]
jmp 0x40131d
mov ecx, edi
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push ecx
push esi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40126c
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40133e
mov edx, dword [eax]
jmp 0x401340
mov edx, edi
mov eax, dword [ecx]
lea esi, [ebp - 0x5c]
push esi
push edi
sub esp, 0x10
lea esi, [ebp - 0x6c]
mov edi, esp
push 0
movsd dword es:[edi], dword [esi]
push 0x118
push edx
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xe4]
push ebx
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x5c]
push eax
call esi
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x401387
call fcn.00401075
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x6c]
push eax
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40139e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4013ae
call fcn.00401075
and dword [ebp - 0x2c], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4013bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4013cf
call fcn.00401075
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4013e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401403
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x401403
mov eax, edi
call fcn.00411d41
ret