Function at 0x402ec0
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x41836c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x14]
push eax
push 0x4143f8
push 0x4143e8
push 2
push 0x414458
push ebx
mov byte [ebp - 4], 2
call sub.mscoree.dll_CorBindToRuntimeEx
test eax, eax
jge 0x402f6b
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x402f2f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x402f41
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x402f57
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
test eax, eax
jge 0x402fc9
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x402f8d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x402f9f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x402f57
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
jl 0x403165
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x414420
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x403165
call fcn.00402b70
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp edi, ebx
je 0x403165
push edi
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00402770
mov ecx, dword [eax]
mov byte [ebp - 4], 4
cmp ecx, ebx
jne 0x403032
push 0x80004003
call fcn.004050a0
lea edx, [ebp - 0x20]
push edx
call fcn.004027d0
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x40304e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x40305f
push 0x80004003
call fcn.004050a0
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
mov esi, eax
push eax
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x24], ebx
call eax
cmp eax, ebx
jge 0x403080
push 0x414410
push esi
push eax
call fcn.004050c0
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4030e9
cmp word [eax], bx
jbe 0x4030e9
cmp dword [eax + 0x10], ebx
jbe 0x4030e9
lea ecx, [ebp - 0x38]
push ecx
call fcn.00402cd0
add esp, 4
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
cmp ecx, ebx
jne 0x4030bc
push 0x80004003
call fcn.004050a0
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00402400
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x58]
push ecx
call esi
lea edx, [ebp - 0x48]
push edx
call esi
lea ecx, [ebp - 0x38]
call fcn.004022f0
jmp 0x403128
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 9
cmp ecx, ebx
jne 0x403108
push 0x80004003
call fcn.004050a0
push ebx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00402400
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x58]
push ecx
call esi
lea edx, [ebp - 0x48]
push edx
call esi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x40313b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 2
jmp 0x40315e
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
test eax, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
jge 0x4031c7
cmp eax, ebx
je 0x403187
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x403199
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x402f57
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x4031d3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4031e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4031fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret