Function at 0x40140b
Capabilities:
Load windows common language runtime

Disassembly:
push 0x54
mov eax, 0x4129de
call fcn.00411d8a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push 0x418784
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call section..text
mov dword [ebp - 0x1c], ebx
push str.PsiXMainModule.Program
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call section..text
mov dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x5c]
push eax
call esi
push 0x4187b8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call section..text
lea eax, [ebp - 0x4c]
push eax
call esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
push 0x41884c
push 0x437c90
push 1
push ebx
push 0x418824
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4014a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
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 0x4014c7
push 0x80004003
call fcn.00402380
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4014d4
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 - 0x3c]
mov dword [ebp - 0x38], ebx
push eax
push 1
mov esi, 0xfa00
push 0x11
mov dword [ebp - 0x3c], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov ebx, eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push esi
push 0x428280
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 0x4014bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401533
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 0x4014bd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40155e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x40156c
mov ecx, dword [eax]
jmp 0x40156e
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 0x4014bd
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40158f
mov edx, dword [eax]
jmp 0x401591
mov edx, edi
mov eax, dword [ecx]
lea esi, [ebp - 0x4c]
push esi
push edi
sub esp, 0x10
lea esi, [ebp - 0x5c]
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 - 0x4c]
push eax
call esi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4015d8
call fcn.00401075
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x5c]
push eax
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4015ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4015ff
call fcn.00401075
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401610
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x401620
call fcn.00401075
and dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401631
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401654
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x401654
mov eax, edi
call fcn.00411d41
ret