Function at 0x402b70
Capabilities:
Load windows common language runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e55
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
push esi
push edi
mov eax, dword [0x427004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004021b0
test al, al
jne 0x40309d
call fcn.00401f50
test al, al
jne 0x40309d
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, dword [sym.imp.mscoree.dll_CLRCreateInstance]
lea eax, [ebp - 0x34]
push eax
push 0x423fd0
push 0x423fe0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
call esi
lea eax, [ebp - 0x3c]
push eax
push 0x423fb0
push 0x423fa0
call esi
lea eax, [ebp - 0x40]
push eax
push 0x423f80
push 0x424000
call esi
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x24]
push edx
push 0x423ff0
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push str.v4.0.30319
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x54]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x28]
push edx
push 0x423f90
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push 0x423fc0
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4030b3
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
push 0x424530
push eax
call dword [ecx]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
mov eax, dword [0x428acc]
sub eax, dword [0x428ac8]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 0x11
mov dword [ebp - 0x5c], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x4c], edi
call fcn.004021b0
test al, al
jne 0x403067
call fcn.00401f50
test al, al
jne 0x403067
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov ecx, dword [0x428ac8]
mov eax, dword [0x428acc]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x38]
call fcn.00407810
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4030b3
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402d52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0xb4]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4030b3
mov byte [ebp - 4], 9
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
push 0
xorps xmm0, xmm0
mov eax, 1
push 0
movups xmmword [ebp - 0x70], xmm0
push 0xc
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x70], ax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov ecx, 0x4315072e
mov dword [ebp - 0x50], eax
call fcn.00404540
mov esi, edx
mov ecx, 0xf076ae24
mov edi, eax
mov dword [ebp - 0x48], esi
call fcn.00404540
push esi
push edi
mov ecx, 0x7deb3c2b
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], edx
call fcn.004044b0
push esi
push edi
mov ecx, 0x9e6c4c
mov dword [ebp - 0x2c], eax
call fcn.004044b0
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov edx, dword [ebp - 0x44]
mov ecx, eax
or ecx, edx
je 0x402e69
push edx
push eax
mov ecx, 0xcc03ee21
call fcn.004044b0
push esi
push edi
mov ecx, 0x3fba5504
mov dword [ebp - 0x18], eax
call fcn.004044b0
push dword [ebp - 0x48]
mov ecx, 0xc43c8f09
mov esi, eax
push edi
call fcn.004044b0
add esp, 0x18
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push 4
push 8
push dword [ebp - 0x18]
call dword [ebp - 0x2c]
push eax
call edi
push 0
push 8
push 0x427a6c
push dword [ebp - 0x18]
call dword [ebp - 0x2c]
push eax
call esi
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x44]
push 8
push dword [ebp - 0x18]
call dword [ebp - 0x2c]
push eax
call edi
push 1
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
add esp, 4
mov ecx, 0x424504
call fcn.00403f20
mov ecx, str.mscore
call fcn.00403f20
mov ecx, 0x4315072e
call fcn.00404540
mov esi, edx
mov dword [ebp - 0x48], eax
push esi
push eax
mov ecx, 0x9e6c4c
call fcn.004044b0
push esi
push dword [ebp - 0x48]
mov ecx, 0xf5c7cdfe
mov edi, eax
call fcn.004044b0
add esp, 0x10
mov esi, eax
call edi
push eax
push 0
push 0x410
call esi
mov esi, eax
push 1
mov dword [ebp - 0x44], esi
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
add esp, 4
push 1
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
add esp, 4
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004041c0
add esp, 4
mov dword [ebp - 0x18], eax
push 1
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
mov edi, dword [ebp - 0x48]
add esp, 4
cmp edi, 5
je 0x402fbe
cmp edi, 6
je 0x402fbe
cmp edi, 9
je 0x402f75
cmp edi, 0xa
je 0x402f75
cmp edi, 0xb
je 0x402f75
cmp edi, 0xc
je 0x402f75
xor esi, esi
test edi, edi
je 0x402fe7
nop
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + esi*4]
call fcn.004040e0
push 1
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
inc esi
add esp, 4
cmp esi, edi
jb 0x402f50
jmp 0x402fe7
mov edi, dword [ebp - 0x18]
xor esi, esi
nop word [eax + eax]
mov ecx, dword [edi + esi*4]
call fcn.004040e0
push 1
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
inc esi
add esp, 4
cmp esi, 5
jb 0x402f80
mov ecx, dword [edi + 0x1c]
call fcn.004040e0
push 1
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
add esp, 4
jmp 0x402fe7
xor esi, esi
test edi, edi
je 0x402fe7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + esi*4]
call fcn.004040e0
push 1
call fcn.00409c5e
add esp, 4
push eax
call fcn.004099ec
inc esi
add esp, 4
cmp esi, edi
jb 0x402fc4
push dword [ebp - 0x18]
call fcn.00409ce2
add esp, 4
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004021b0
test al, al
jne 0x403056
call fcn.00401f50
test al, al
jne 0x403056
mov ecx, dword [0x428ac8]
mov eax, dword [0x428acc]
sub eax, ecx
push eax
push 0
push ecx
call fcn.00407670
add esp, 0xc
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4030b3
movups xmm0, xmmword [ebp - 0x70]
mov edx, dword [eax]
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp - 0x50]
sub esp, 0x10
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x94]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403067
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x403078
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x403089
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40309d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004003
call fcn.00406920
int3