Function at 0x401e18
Capabilities:
Link many functions at runtime
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2fc
mov eax, dword [0x417004]
xor eax, esp
mov dword [esp + 0x2f8], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x94]
push ebx
push esi
push edi
mov dword [esp + 0x24], eax
call fcn.00402517
lea ecx, [esp + 0xa0]
call fcn.0040164e
test al, al
jne 0x401eff
push 0x56
push 6
lea eax, [esp + 0x178]
push str.To_run_this_application__need_to_install:_r_n_r_n.NET__i_Desktop_Runtime_x_i_r_n_r_nWould_you_like_to_download_it_now_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x100]
cmp dword [esp + 0x114], 8
cmovae eax, dword [esp + 0x100]
xor ebx, ebx
push 0x14
push eax
lea eax, [esp + 0x178]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
or edi, 0xffffffff
cmp eax, 6
jne 0x4024ec
push edi
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push str.ShellExecuteW
push ebx
push ebx
push str.shell32
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x56
push ebx
push 6
mov esi, eax
lea eax, [esp + 0x17c]
push str.https:__aka.ms_dotnet__i._i_windowsdesktop_runtime_win_x_i.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [esp + 0x170]
push 1
push ebx
push ebx
push eax
push ebx
push ebx
call esi
jmp 0x4024ec
cmp dword [esp + 0xfc], 8
lea eax, [esp + 0xe8]
push 8
cmovae eax, dword [esp + 0xec]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x401f33
push 0xfffffffffffffffe
jmp 0x4024e5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.coreclr_initialize
push esi
call edi
push str.coreclr_execute_assembly
push esi
mov dword [esp + 0x40], eax
call edi
push str.coreclr_shutdown
push esi
mov dword [esp + 0x38], eax
call edi
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x88]
xor eax, eax
lea ecx, [esp + 0x88]
stosd dword es:[edi], eax
push 0x7530
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], 0xf
mov byte [esp + 0x8c], bl
call fcn.00402b6a
mov esi, eax
lea ecx, [esi + 1]
call fcn.00402c9d
mov cl, byte [esp + 0x88]
lea edx, [esp + 0x88]
mov dword [esp + 0x9c], esi
mov byte [eax], cl
lea ecx, [esp + 0xa0]
mov dword [esp + 0x88], eax
call fcn.00401b7e
xor eax, eax
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
lea ecx, [esp + 0x58]
push 0x3e8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 7
mov word [esp + 0x5c], ax
call fcn.00402615
push 8
pop esi
cmp dword [esp + 0xb4], esi
lea eax, [esp + 0xa0]
push dword [esp + 0xb0]
cmovae eax, dword [esp + 0xa4]
lea ecx, [esp + 0x5c]
push eax
call fcn.00402723
push 5
push str.32_
lea ecx, [esp + 0x60]
call fcn.00402723
mov edi, 0x415330
cmp byte [esp + 0x148], bl
jne 0x40206e
cmp dword [esp + 0xe4], esi
lea eax, [esp + 0xd0]
push dword [esp + 0xe0]
cmovae eax, dword [esp + 0xd4]
lea ecx, [esp + 0x5c]
push eax
call fcn.00402723
push 2
push edi
lea ecx, [esp + 0x60]
call fcn.00402723
cmp dword [esp + 0xcc], esi
lea eax, [esp + 0xb8]
push dword [esp + 0xc8]
cmovae eax, dword [esp + 0xbc]
lea ecx, [esp + 0x5c]
push eax
call fcn.00402723
push 2
push edi
lea ecx, [esp + 0x60]
call fcn.00402723
mov edx, dword [esp + 0x68]
lea edi, [esp + 0x70]
xor eax, eax
lea ecx, [esp + 0x58]
cmp dword [esp + 0x6c], esi
stosd dword es:[edi], eax
cmovae ecx, dword [esp + 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], bl
call fcn.0040117b
mov edx, dword [esp + 0xb4]
lea edi, [esp + 0x44]
xor eax, eax
cmp dword [esp + 0xb8], esi
stosd dword es:[edi], eax
pop ecx
lea ecx, [esp + 0xa0]
cmovae ecx, dword [esp + 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0xf
mov byte [esp + 0x44], bl
call fcn.0040117b
mov edx, dword [esp + 0x58]
pop ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
cmp ecx, edx
jae 0x402157
push 0x10
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
pop edi
cmp edx, edi
cmovae eax, dword [esp + 0x40]
mov word [eax + ecx], 0x5c
mov esi, dword [esp + 0x40]
jmp 0x402205
mov edi, 0x7fffffff
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x402511
lea eax, [ecx + 1]
mov ecx, eax
mov dword [esp + 0x34], eax
or ecx, 0xf
cmp ecx, edi
ja 0x40218f
mov esi, edx
mov eax, edi
shr esi, 1
sub eax, esi
cmp edx, eax
ja 0x40218f
lea eax, [esi + edx]
mov edi, ecx
cmp ecx, eax
cmovb edi, eax
lea ecx, [edi + 1]
call fcn.00402c9d
push 0x10
mov dword [esp + 0x58], edi
mov esi, eax
mov eax, dword [esp + 0x38]
pop edi
push dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x54], eax
cmp dword [esp + 0x14], edi
jb 0x4021e9
mov esi, dword [esp + 0x44]
push esi
push dword [esp + 0x28]
call fcn.00405680
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov word [ecx + eax], 0x5c
mov ecx, esi
lea edx, [edx + 1]
call fcn.00402aeb
mov esi, dword [esp + 0x20]
jmp 0x402201
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00405680
mov eax, dword [esp + 0x20]
add esp, 0xc
mov word [eax + esi], 0x5c
mov dword [esp + 0x40], esi
cmp dword [esp + 0x9c], edi
lea eax, [esp + 0x88]
push 0x41539c
cmovae eax, dword [esp + 0x8c]
cmp dword [esp + 0x88], edi
mov dword [esp + 0x154], eax
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
cmp dword [esp + 0x58], edi
mov dword [esp + 0x158], eax
lea eax, [esp + 0x44]
cmovae eax, esi
mov dword [esp + 0x164], str.TRUSTED_PLATFORM_ASSEMBLIES
push 0x4153a0
mov dword [esp + 0x16c], str.NATIVE_DLL_SEARCH_DIRECTORIES
mov dword [esp + 0x170], str.APP_CONTEXT_BASE_DIRECTORY
mov dword [esp + 0x174], str.APP_PATHS
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [esp + 0x144], edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x16c]
push ecx
push 3
lea eax, [esp + 0x144]
cmovae eax, dword [esp + 0x144]
push str.main
push eax
call dword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov esi, eax
test esi, esi
jns 0x402367
cmp edx, edi
jb 0x4022e6
mov ecx, dword [esp + 0x40]
inc edx
call fcn.00402aeb
mov edx, dword [esp + 0x84]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
push 0xf
pop esi
mov dword [esp + 0x54], esi
cmp edx, edi
jb 0x40230a
mov ecx, dword [esp + 0x70]
inc edx
call fcn.00402aeb
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
mov byte [esp + 0x70], bl
cmp edx, 8
jb 0x402335
mov ecx, dword [esp + 0x58]
lea edx, [edx*2 + 2]
call fcn.00402aeb
mov edx, dword [esp + 0x9c]
xor eax, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 7
mov word [esp + 0x58], ax
cmp edx, edi
jb 0x402360
mov ecx, dword [esp + 0x88]
inc edx
call fcn.00402aeb
push 0xfffffffffffffffd
jmp 0x4024e5
cmp edx, edi
jb 0x402375
mov ecx, dword [esp + 0x40]
inc edx
call fcn.00402aeb
mov edx, dword [esp + 0x84]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], bl
cmp edx, edi
jb 0x40239a
mov ecx, dword [esp + 0x70]
inc edx
call fcn.00402aeb
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], bl
cmp edx, 8
jb 0x4023c9
mov ecx, dword [esp + 0x58]
lea edx, [edx*2 + 2]
call fcn.00402aeb
mov edx, dword [esp + 0x9c]
xor eax, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 7
mov word [esp + 0x58], ax
cmp edx, edi
jb 0x4023f4
mov ecx, dword [esp + 0x88]
inc edx
call fcn.00402aeb
push 0x11
push str..pipeAu.Task_
push dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
call fcn.00406d80
add esp, 0xc
test eax, eax
jne 0x402481
push str.coreclr_create_delegate
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push str.Init
push str.Au.More.MiniProgram_
push 0x415460
push dword [esp + 0x28]
push dword [esp + 0x30]
call eax
xor eax, eax
lea edi, [esp + 0x150]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x150]
push eax
push dword [esp + 0x28]
call dword [esp + 0x18]
cmp dword [esp + 0x150], ebx
je 0x4024d3
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x154]
push dword [esp + 0x15c]
push dword [esp + 0x164]
jmp 0x4024c5
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
cmp word [eax], bx
je 0x4024a3
lea ecx, [esp + 0x10]
call fcn.00401d48
mov ebx, dword [esp + 0x10]
mov ecx, eax
jmp 0x4024a7
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x12c], edi
lea eax, [esp + 0x118]
lea edx, [esp + 0x28]
cmovae eax, dword [esp + 0x118]
push edx
push eax
push ecx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [esp + 0x48]
mov esi, eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [esp + 0x44]
test esi, esi
jns 0x4024e8
push 0xfffffffffffffffc
pop edi
jmp 0x4024ec
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0xa0]
call fcn.004025b5
mov ecx, dword [esp + 0x304]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402da8
mov esp, ebp
pop ebp
ret 0x10
call fcn.004010e3
int3