Function at 0x401490
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402cf5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x405040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
push 0x4033a8
push 0x4033b8
mov dword [ebp - 0x48], 0
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
push edx
push 0x4033c8
push str.v4.0.30319
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
push edx
push 0x403378
push 0x403398
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x401561
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x401743
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401595
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 0
mov eax, dword [esi]
push 0x403388
push esi
call dword [eax]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push 1
push 0x11
mov dword [ebp - 0x14], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x48]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x401743
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401607
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 0
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0xb4]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x401743
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40163c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x40]
mov eax, 1
xorps xmm0, xmm0
push eax
push 0
movups xmmword [ebp - 0x60], xmm0
push 0xc
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x60], ax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401743
movups xmm0, xmmword [ebp - 0x60]
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push 0
sub esp, 0x10
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x94]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401743
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401743
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401743
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4016f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401703
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401714
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x401728
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401f65
mov esp, ebp
pop ebp
ret
push 0x80004003
call fcn.00401d90
int3