Function at 0x4022b0
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552e40
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5adf64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
push 0x592a7c
push 0x592a6c
call dword [sym.imp.mscoree.dll_CLRCreateInstance]
mov edi, eax
test edi, edi
jns 0x402358
push dword [esi + 0x1c]
push str.Failed_to_start_.Net_runtime__s_n
call fcn.00402970
add esp, 8
mov ecx, esi
call fcn.004026e0
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40233e
push edi
push ecx
xorps xmm0, xmm0
mov ecx, esp
push 0x592750
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x402340
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x5a9a30
push eax
call fcn.005373be
mov ecx, dword [esi]
lea edi, [esi + 0xc]
push edi
push 0x592a5c
push dword [esi + 0x1c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x4023dd
push dword [esi + 0x1c]
push str.Failed_to_start_.Net_runtime__s_n
call fcn.00402970
add esp, 8
mov ecx, esi
call fcn.004026e0
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x4023c3
push dword [ebp - 0x10]
xorps xmm0, xmm0
push ecx
mov ecx, esp
push str.Could_not_get_RuntimeInfo_
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x4023c5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 0x5a9a30
push eax
call fcn.005373be
mov ecx, dword [edi]
lea edi, [esi + 8]
push edi
push 0x592a4c
push 0x592a3c
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x402451
push dword [esi + 0x1c]
push str.Failed_to_start_.Net_runtime__s_n
call fcn.00402970
add esp, 8
mov ecx, esi
call fcn.004026e0
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x40233e
push dword [ebp - 0x14]
xorps xmm0, xmm0
push ecx
mov ecx, esp
push str.Could_not_get_RuntimeHost_
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x402340
mov ecx, dword [edi]
lea edx, [esi + 0x10]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x4024bb
push dword [esi + 0x1c]
push str.Failed_to_start_.Net_runtime__s_n
call fcn.00402970
add esp, 8
mov ecx, esi
call fcn.004026e0
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 3
test esi, esi
je 0x40233e
push dword [ebp - 0x14]
xorps xmm0, xmm0
push ecx
mov ecx, esp
push str.Could_not_get_CLRControl_
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x402340
push 0xc
call fcn.004048f8
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
test edx, edx
je 0x4024f2
xorps xmm0, xmm0
movq qword [edx], xmm0
mov dword [edx + 8], 0
mov dword [edx], vtable.MinimalHostControl.0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
jmp 0x4024f4
xor edx, edx
mov eax, dword [edi]
mov dword [esi + 0x14], edx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x40255e
push dword [esi + 0x1c]
push str.Failed_to_start_.Net_runtime__s_n
call fcn.00402970
add esp, 8
mov ecx, esi
call fcn.004026e0
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x40233e
push dword [ebp - 0x14]
xorps xmm0, xmm0
push ecx
mov ecx, esp
push str.Cound_not_set_user_HostControl_
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x402340
mov eax, dword [esi + 0x10]
push dword [esi + 0x24]
push dword [esi + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.00402930
test al, al
jne 0x4025bc
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 5
test esi, esi
je 0x40233e
push dword [ebp - 0x14]
xorps xmm0, xmm0
push ecx
mov ecx, esp
push str.Could_not_set_AppDomainManagerType_
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x402340
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
mov ecx, esi
push edi
call fcn.00402930
test al, al
jne 0x402610
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x4023c3
push edi
push ecx
xorps xmm0, xmm0
mov ecx, esp
push str.Could_not_start_RuntimeHost_
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x4023c5
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x402620
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [edi + 8]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x40267c
push 0x10
call fcn.004048f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 7
test esi, esi
je 0x402662
push 1
push ecx
xorps xmm0, xmm0
mov ecx, esp
push str.Cound_nt_get_DomainManager_for_DefaultDomain_
movups xmmword [esi], xmm0
call fcn.00402e00
mov ecx, esi
call fcn.00401a50
jmp 0x402664
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x5a9a30
push eax
call fcn.005373be
mov dword [esi + 0x20], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret