Function at 0x409104
Capabilities:
Load windows common language runtime

Disassembly:
push 0x84
mov eax, 0x433627
call fcn.00415082
mov edi, ecx
mov dword [ebp - 0x28], edi
push str.CLRCreateInstance
xor ebx, ebx
push edx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x409149
mov dword [edi], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
mov eax, edi
jmp 0x40998f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
push ecx
push 0x4454ec
push 0x4454dc
mov dword [ebp - 0x20], ebx
call eax
mov ecx, eax
cmp ecx, 0x80004001
jne 0x409191
mov dword [edi], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x409142
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x409142
test ecx, ecx
js 0x40991a
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40991a
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4098cc
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4098cc
mov eax, ebx
mov dword [ebp - 0x18], eax
mov edi, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], ebx
test esi, esi
je 0x409995
test eax, eax
je 0x4091f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push esi
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x409282
cmp dword [ebp - 0x40], eax
je 0x4092d3
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40922b
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x8c]
call fcn.0040bef5
pop ecx
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x409249
mov edx, dword [ecx]
push ecx
call dword [edx + 4]
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x68]
call fcn.0040c0b2
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x409271
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edi
jmp 0x4091e2
jns 0x4092d3
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0040e7af
mov edx, str.There_were_problems_loading_the_Common_Language_Runtime_through_v4_interfaces._nThe_enumeration_of_availabe_runtimes_in_the_MsCorEE_CLR_Meta_Host_could_not_be_completed.
mov ecx, esi
call fcn.0040bd0f
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
pop ecx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
lea ecx, [ebp - 0x68]
call fcn.0040d0ea
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x409900
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x409900
mov eax, edi
mov edi, dword [ebp - 0x68]
sub eax, edi
push 0x14
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x409306
push ecx
mov eax, esp
mov edx, str.There_were_problems_loading_the_Common_Language_Runtime_through_v4_interfaces._nThe_MsCorEE_CLR_Meta_Host_has_no_available_runtimes.
mov ecx, 0x80004005
mov dword [eax], ebx
call fcn.0040bd0f
mov edi, dword [ebp - 0x28]
mov dword [edi], 0x8000ffff
jmp 0x4092a1
mov edx, dword [ebp - 0x2c]
mov ecx, edi
push 0x40bea6
push eax
call fcn.0040ef5a
pop ecx
pop ecx
call fcn.00405e68
push str.DebugForceClr2
push ecx
mov ecx, eax
call fcn.004011b6
mov esi, ebx
mov byte [ebp - 0x11], al
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], ebx
dec eax
mov dword [ebp - 0x48], eax
test eax, eax
js 0x4093dd
imul eax, eax, 0x14
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], eax
mov ecx, dword [eax + edi]
test ecx, ecx
je 0x409995
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push ecx
call dword [eax + 0x28]
cmp dword [ebp - 0x38], 0
je 0x40948e
cmp byte [ebp - 0x11], 0
je 0x409436
mov eax, dword [ebp - 0x44]
lea ecx, [eax + 4]
add ecx, edi
mov dword [ebp - 0x4c], ecx
cmp dword [ecx], 2
jne 0x40948e
cmp dword [eax + edi + 8], ebx
jne 0x40948e
mov ecx, dword [eax + edi]
cmp esi, ecx
je 0x4093ca
mov eax, ecx
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x4093c0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
test esi, esi
je 0x4093ca
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x4c]
lea edi, [ebp - 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x2c]
test esi, esi
jne 0x409496
push 0x14
sub eax, edi
mov dword [ebp - 0x84], ebx
pop ecx
cdq
idiv ecx
push dword [ebp + 0xc]
lea edx, [ebp - 0x90]
mov dword [ebp - 0x88], ebx
push dword [ebp + 8]
mov dword [ebp - 0x8c], ebx
push ecx
imul ecx, eax, 0x14
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0x80], bl
add ecx, 0xfffffff0
add ecx, edi
call fcn.0040b893
mov edi, dword [ebp - 0x28]
add esp, 0xc
mov dword [edi], 0x80004005
jmp 0x4092a2
mov esi, dword [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x44]
lea ecx, [edi + 4]
add ecx, esi
call fcn.00407070
test al, al
je 0x40948b
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
je 0x409481
mov edx, eax
mov eax, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x409477
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x409481
mov eax, dword [edx]
push edx
call dword [eax + 8]
add edi, 4
add esi, edi
jmp 0x4093cd
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x48]
jmp 0x40934e
mov ecx, edi
jmp 0x4094af
mov edx, dword [ecx]
test edx, edx
je 0x4094ac
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
add ecx, 0x14
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jne 0x40949a
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], ebx
push ecx
push ebx
mov dword [ebp - 0x50], ebx
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
push esi
mov dword [ebp - 0x64], edi
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jns 0x40958c
cmp edi, 0x8007007a
je 0x40958c
push str._runtime_failed_to_return_the_default_startup_flags.
lea ecx, [ebp - 0x4c]
call fcn.00403276
push 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x8c]
call fcn.00406f36
push eax
mov edx, str.There_were_problems_setting_up_the_Common_Language_Runtime_for_running._nThe_v.
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.00406d44
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.00402fba
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x40953d
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
jmp 0x409540
mov dword [ebp - 0x48], ebx
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.0040e7af
mov edx, dword [ebp - 0x48]
mov ecx, edi
call fcn.0040bd0f
pop ecx
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x409566
call fcn.004031e4
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x409575
call fcn.004031e4
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x409584
call fcn.004031e4
mov dword [ebp - 0x2c], ebx
mov ecx, dword [ebp - 0x4c]
jmp 0x40967b
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x30]
and eax, 0xfffffffd
or eax, 0x80005
mov dword [ebp - 0x30], eax
call fcn.00405e68
push str.GcServer
push ecx
mov ecx, eax
call fcn.004011b6
mov ecx, dword [ebp - 0x30]
test al, al
je 0x4095c9
or ecx, 0x1000
mov dword [ebp - 0x30], ecx
mov eax, dword [esi]
push ebx
push ecx
push esi
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
jns 0x409684
push str._runtime_failed_to_update_the_default_startup_flags.
lea ecx, [ebp - 0x38]
call fcn.00403276
push 4
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x8c]
call fcn.00406f36
push eax
mov edx, str.There_were_problems_setting_up_the_Common_Language_Runtime_for_running._nThe_v.
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.00406d44
pop ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
push ecx
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00402fba
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
test eax, eax
je 0x409632
mov edi, dword [eax]
jmp 0x409634
mov edi, ebx
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.0040e7af
mov ecx, dword [ebp - 0x2c]
mov edx, edi
call fcn.0040bd0f
pop ecx
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x40965a
call fcn.004031e4
mov dword [ebp - 0x4c], ebx
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x409669
call fcn.004031e4
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x409678
call fcn.004031e4
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x409684
call fcn.004031e4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
push ecx
push 0x445278
mov dword [ebp - 0x34], ebx
mov eax, dword [esi]
push 0x4454cc
push esi
call dword [eax + 0x24]
test eax, eax
js 0x4097da
cmp dword [ebp - 0x34], 0
je 0x4097da
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x15
push ecx
push 0x4454bc
mov dword [ebp - 0x3c], ebx
mov eax, dword [esi]
push 0x4454ac
push esi
call dword [eax + 0x24]
test eax, eax
js 0x40973e
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40973e
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x40972d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x409730
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], ebx
mov ecx, dword [eax]
push 0x44549c
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40971c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40971f
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x40972d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x40973e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x409750
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
sub esp, 0x10
lea esi, [ebp - 0x8c]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.00407fcd
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40977b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40978c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x68]
call fcn.0040d0ea
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4097b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4097c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4097d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x40998f
test eax, eax
lea ecx, [ebp - 0x2c]
mov edi, 0x80004003
cmovs edi, eax
push str._runtime_failed_to_provide_the_ICorRuntimeHost_interface.
mov dword [ebp - 0x54], edi
call fcn.00403276
push 4
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x8c]
call fcn.00406f36
push eax
mov edx, str.There_were_problems_loading_the_Common_Language_Runtime_through_v4_interfaces._nThe_v.
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44]
call fcn.00406d44
pop ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push ecx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.00402fba
push 0x14
pop ecx
mov byte [ebp - 4], cl
mov eax, dword [eax]
test eax, eax
je 0x409842
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
jmp 0x409845
mov dword [ebp - 0x4c], ebx
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.0040e7af
mov edx, dword [ebp - 0x4c]
mov ecx, edi
call fcn.0040bd0f
pop ecx
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x40986b
call fcn.004031e4
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x40987a
call fcn.004031e4
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x409889
call fcn.004031e4
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x409895
call fcn.004031e4
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 6
mov dword [edi], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
test eax, eax
je 0x4098bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4092b1
test eax, eax
mov esi, 0x80004003
push ecx
cmovs esi, eax
mov ecx, esp
lea eax, [ebp - 0x20]
push eax
call fcn.0040e7af
mov edx, str.There_were_problems_loading_the_Common_Language_Runtime_through_v4_interfaces._nThe_MsCorEE_CLR_Meta_Host_failed_to_enumerate_the_available_runtimes.
mov ecx, esi
call fcn.0040bd0f
mov dword [edi], esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
pop ecx
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40917f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40917f
push ecx
test ecx, ecx
mov eax, esp
mov esi, 0x80004003
mov edx, str.There_were_problems_loading_the_Common_Language_Runtime_through_v4_interfaces._nMsCorEE_failed_to_provide_an_instance_of_the_CLR_Meta_Host.
cmovs esi, ecx
mov ecx, esi
mov dword [eax], ebx
call fcn.0040bd0f
pop ecx
mov dword [edi], esi
jmp 0x409170
call fcn.00414fe0
ret
push 0x80004003
call fcn.00414430
int3