Function at 0x401510
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411925
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x415734
push 0x415754
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
test eax, eax
js 0x4017ae
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x40]
push edx
push 0x41576c
mov dword [ebp - 0x40], 0
mov ecx, dword [eax]
push 0x4146ac
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4017ae
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x4017ae
cmp dword [ebp - 0x2c], 0
je 0x4017ae
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x44]
push edx
push 0x4156bc
mov dword [ebp - 0x44], 0
mov ecx, dword [eax]
push 0x415724
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x4017ae
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x4017ae
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
jns 0x401606
mov byte [ebp - 0x4d], 0
jmp 0x401795
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4017cb
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push 0x415714
push eax
call dword [ecx]
test eax, eax
jns 0x401642
mov byte [ebp - 0x4d], 0
jmp 0x401784
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
push 1
push 0x11
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, eax
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x40176f
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x40176f
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4017cb
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4016bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 0
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0xb4]
test eax, eax
js 0x40176f
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4017cb
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x401758
push 0
xorps xmm0, xmm0
mov eax, 1
push 0
movups xmmword [ebp - 0x64], xmm0
push 0xc
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x64], ax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4017cb
movups xmm0, xmmword [ebp - 0x64]
mov edx, dword [ecx]
lea esi, [ebp - 0x3c]
push esi
push eax
sub esp, 0x10
mov eax, esp
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x94]
mov byte [ebp - 0x4d], 1
test eax, eax
jns 0x40175c
mov byte [ebp - 0x4d], 0
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401773
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x401773
mov byte [ebp - 0x4d], 0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401784
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x401795
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4017a9
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, byte [ebp - 0x4d]
jmp 0x4017b0
xor al, al
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.00410a23
mov esp, ebp
pop ebp
ret
push 0x80004003
call fcn.00410810
int3