Function at 0x401f60
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4110b0
mov eax, dword fs:[0]
push eax
sub esp, 0x468
push ebx
push esi
push edi
mov eax, dword [0x416120]
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 - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
push 0x412250
push 0x412240
push 2
push 0x4123e0
push ebx
mov byte [ebp - 4], 2
mov byte [ebp - 0x11], bl
call sub.mscoree.dll_CorBindToRuntimeEx
test eax, eax
jge 0x402059
push 0x3ff
lea ecx, [ebp - 0x474]
push str.Unable_to_Bind_CLR
push ecx
mov dword [ebp - 0x74], ebx
call fcn.004041ad
mov edx, dword [ebp - 0x74]
push 0x3ff
lea eax, [ebp - 0x474]
push eax
push 0x4177f0
mov byte [ebp - 0x75], bl
mov dword [0x417bf0], edx
call fcn.004041ad
mov eax, dword [ebp - 0x24]
add esp, 0x18
cmp eax, ebx
mov byte [0x417bef], bl
mov byte [ebp - 4], 1
je 0x40201d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x40202f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x402045
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 - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
test eax, eax
jge 0x402103
push 0x3ff
lea eax, [ebp - 0x474]
push str.Unable_to_Start_CLR
push eax
mov dword [ebp - 0x74], ebx
call fcn.004041ad
mov ecx, dword [ebp - 0x74]
push 0x3ff
lea edx, [ebp - 0x474]
push edx
push 0x4177f0
mov byte [ebp - 0x75], bl
mov dword [0x417bf0], ecx
call fcn.004041ad
mov eax, dword [ebp - 0x24]
add esp, 0x18
cmp eax, ebx
mov byte [0x417bef], bl
mov byte [ebp - 4], 1
je 0x4020c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x4020d5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x402045
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 - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
jge 0x40215f
push 0x3ff
push str.Unable_to_GetDefaultDomain
lea ecx, [ebp - 0x474]
push ecx
mov dword [ebp - 0x74], ebx
call fcn.004041ad
mov edx, dword [ebp - 0x74]
push 0x3ff
lea eax, [ebp - 0x474]
push eax
push 0x4177f0
mov byte [ebp - 0x75], bl
mov dword [0x417bf0], edx
call fcn.004041ad
add esp, 0x18
mov byte [0x417bef], bl
jmp 0x402316
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x412280
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jge 0x402182
push 0x3ff
push str.Unable_to_Query_AppDomain_Interface
jmp 0x402120
call fcn.00401b90
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x30], edi
je 0x402316
push edi
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004016c0
mov esi, eax
cmp dword [esi], ebx
mov byte [ebp - 4], 4
jne 0x4021b9
push 0x80004003
call fcn.00403b00
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push edx
call fcn.00401720
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4021d7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x4021eb
push 0x80004003
call fcn.00403b00
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
mov esi, eax
push eax
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x28], ebx
call eax
cmp eax, ebx
jge 0x40220c
push 0x412270
push esi
push eax
call fcn.00403b10
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x40226e
cmp word [eax], bx
jbe 0x40226e
cmp dword [eax + 0x10], ebx
jbe 0x40226e
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00401d60
add esp, 4
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.004012b0
push esi
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, eax
call fcn.00401230
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x50]
push eax
call esi
lea ecx, [ebp - 0x40]
push ecx
call esi
lea ecx, [ebp - 0x5c]
call fcn.00401070
jmp 0x4022ae
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 9
jne 0x40228b
push 0x80004003
call fcn.00403b00
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00401230
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x50]
push edx
call esi
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 3
je 0x4022c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 2
jmp 0x40230f
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
test eax, eax
jge 0x4023c0
push 0x3ff
lea eax, [ebp - 0x474]
push str.Unable_to_Stop_CLR
push eax
mov dword [ebp - 0x74], ebx
call fcn.004041ad
mov ecx, dword [ebp - 0x74]
push 0x3ff
lea edx, [ebp - 0x474]
push edx
push 0x4177f0
mov byte [ebp - 0x75], bl
mov dword [0x417bf0], ecx
call fcn.004041ad
mov eax, dword [ebp - 0x24]
add esp, 0x18
cmp eax, ebx
mov byte [0x417bef], bl
mov byte [ebp - 4], 1
je 0x402380
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x402392
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x402045
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 - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x4023d3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x4023e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x4023fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret