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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x344
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x340], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0xdc]
push ebx
push esi
push edi
mov dword [esp + 0x38], eax
call fcn.00402674
lea ecx, [esp + 0xe8]
call fcn.0040164c
test al, al
jne 0x401f4d
push 0x56
push 8
lea eax, [esp + 0x1c0]
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 + 0x148]
cmp dword [esp + 0x15c], 7
cmova eax, dword [esp + 0x148]
xor ebx, ebx
push 0x40014
push eax
lea eax, [esp + 0x1c0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
or edi, 0xffffffff
cmp eax, 6
jne 0x402649
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 ebx
push 8
mov esi, eax
lea eax, [esp + 0x1c0]
push str.https:__dotnet.microsoft.com_en_us_download_dotnet__i._i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x1b8]
push 1
push ebx
push ebx
push eax
push ebx
push ebx
call esi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x56
lea eax, [esp + 0x1bc]
push str.In_the_dowload_page_please_find_and_download_this:_r_n_r_n.NET_Desktop_Runtime_for_Windows_x_i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x148]
cmp dword [esp + 0x15c], 7
cmova eax, dword [esp + 0x148]
push 0x40040
push eax
lea eax, [esp + 0x1c0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x402649
cmp dword [esp + 0x144], 7
lea eax, [esp + 0x130]
push 8
cmova eax, dword [esp + 0x134]
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 0x401f81
push 0xfffffffffffffffe
jmp 0x402642
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 + 0x30], eax
call edi
push str.coreclr_shutdown
push esi
mov dword [esp + 0x38], eax
call edi
mov dword [esp + 0x3c], eax
lea edi, [esp + 0xd0]
xor eax, eax
lea ecx, [esp + 0xd0]
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 + 0xe4], ebx
mov dword [esp + 0xe8], 0xf
mov byte [esp + 0xd4], bl
call fcn.00402cee
mov esi, eax
lea ecx, [esi + 1]
call fcn.00402e2c
mov cl, byte [esp + 0xd0]
lea edx, [esp + 0xd0]
mov dword [esp + 0xe4], esi
mov byte [eax], cl
lea ecx, [esp + 0xe8]
mov dword [esp + 0xd0], eax
call fcn.00401b7c
xor eax, eax
lea edi, [esp + 0xa0]
stosd dword es:[edi], eax
lea ecx, [esp + 0xa0]
push 7
pop esi
push 0x3e8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], esi
mov word [esp + 0xa4], ax
call fcn.00402772
cmp dword [esp + 0xfc], esi
lea eax, [esp + 0xe8]
push dword [esp + 0xf8]
cmova eax, dword [esp + 0xec]
lea ecx, [esp + 0xa4]
push eax
call fcn.0040282b
push 5
push str.32_
lea ecx, [esp + 0xa8]
call fcn.0040282b
mov edi, 0x4153e0
cmp byte [esp + 0x190], bl
jne 0x4020d3
cmp dword [esp + 0x12c], esi
lea eax, [esp + 0x118]
push dword [esp + 0x128]
cmova eax, dword [esp + 0x11c]
lea ecx, [esp + 0xa4]
push eax
call fcn.0040282b
push 2
push edi
lea ecx, [esp + 0xa8]
call fcn.0040282b
cmp dword [esp + 0x114], esi
lea eax, [esp + 0x100]
push dword [esp + 0x110]
cmova eax, dword [esp + 0x104]
lea ecx, [esp + 0xa4]
push eax
call fcn.0040282b
push 2
push edi
lea ecx, [esp + 0xa8]
call fcn.0040282b
mov edx, dword [esp + 0xb0]
lea edi, [esp + 0xb8]
xor eax, eax
lea ecx, [esp + 0xa0]
cmp dword [esp + 0xb4], esi
stosd dword es:[edi], eax
cmova ecx, dword [esp + 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], 0xf
mov byte [esp + 0xbc], bl
call fcn.0040117b
mov edx, dword [esp + 0xfc]
lea edi, [esp + 0x8c]
xor eax, eax
cmp dword [esp + 0x100], esi
stosd dword es:[edi], eax
pop ecx
lea ecx, [esp + 0xe8]
cmova ecx, dword [esp + 0xe8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], 0xf
mov byte [esp + 0x8c], bl
call fcn.0040117b
mov edi, dword [esp + 0xa0]
pop ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
cmp ecx, edi
jae 0x4021f6
lea eax, [ecx + 1]
cmp edi, 0xf
mov dword [esp + 0x98], eax
lea eax, [esp + 0x88]
cmova eax, dword [esp + 0x88]
mov word [eax + ecx], 0x5c
mov edi, dword [esp + 0x88]
jmp 0x4022ba
mov edx, 0x7fffffff
mov eax, edx
mov dword [esp + 0x14], edx
sub eax, ecx
cmp eax, 1
jb 0x40266e
lea eax, [ecx + 1]
mov ecx, eax
mov dword [esp + 0x34], eax
or ecx, 0xf
cmp ecx, edx
ja 0x40223f
mov eax, edi
shr eax, 1
mov dword [esp + 0x14], eax
mov eax, edx
sub eax, dword [esp + 0x14]
cmp edi, eax
ja 0x40223b
mov eax, dword [esp + 0x14]
mov edx, ecx
add eax, edi
cmp ecx, eax
cmovb edx, eax
mov dword [esp + 0x14], edx
lea ecx, [edx + 1]
call fcn.00402e2c
cmp dword [esp + 0x10], 0xf
mov edi, eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x18]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
jbe 0x402298
mov esi, dword [esp + 0x8c]
push esi
push edi
call fcn.00405950
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, esi
mov word [eax + edi], 0x5c
lea edx, [edx + 1]
call fcn.00402c8e
push 7
pop esi
jmp 0x4022b3
lea eax, [esp + 0x8c]
push eax
push edi
call fcn.00405950
mov eax, dword [esp + 0x24]
add esp, 0xc
mov word [eax + edi], 0x5c
mov dword [esp + 0x88], edi
cmp dword [esp + 0xe4], 0xf
lea eax, [esp + 0xd0]
push 0x41544c
cmova eax, dword [esp + 0xd4]
cmp dword [esp + 0xd0], 0xf
mov dword [esp + 0x19c], eax
lea eax, [esp + 0xbc]
cmova eax, dword [esp + 0xbc]
cmp dword [esp + 0xa0], 0xf
mov dword [esp + 0x1a0], eax
lea eax, [esp + 0x8c]
cmova eax, edi
mov dword [esp + 0x1ac], str.TRUSTED_PLATFORM_ASSEMBLIES
push 0x415450
mov dword [esp + 0x1b4], str.NATIVE_DLL_SEARCH_DIRECTORIES
mov dword [esp + 0x1b8], str.APP_CONTEXT_BASE_DIRECTORY
mov dword [esp + 0x1bc], str.APP_PATHS
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0xf
pop edi
cmp dword [esp + 0x18c], edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x1b4]
push ecx
push 3
lea eax, [esp + 0x18c]
cmova eax, dword [esp + 0x18c]
push str.main
push eax
call dword [esp + 0x44]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x28], eax
test eax, eax
jns 0x40244c
cmp edx, edi
jbe 0x4023b5
mov ecx, dword [esp + 0x88]
inc edx
call fcn.00402c8e
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edi
mov byte [esp + 0x88], bl
cmp edx, edi
jbe 0x4023e2
mov ecx, dword [esp + 0xb8]
inc edx
call fcn.00402c8e
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], edi
mov byte [esp + 0xb8], bl
cmp edx, esi
jbe 0x402415
mov ecx, dword [esp + 0xa0]
lea edx, [edx*2 + 2]
call fcn.00402c8e
mov edx, dword [esp + 0xe4]
xor eax, eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
mov word [esp + 0xa0], ax
cmp edx, edi
jbe 0x402445
mov ecx, dword [esp + 0xd0]
inc edx
call fcn.00402c8e
push 0xfffffffffffffffd
jmp 0x402642
cmp edx, edi
jbe 0x40245d
mov ecx, dword [esp + 0x88]
inc edx
call fcn.00402c8e
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edi
mov byte [esp + 0x88], bl
cmp edx, edi
jbe 0x40248a
mov ecx, dword [esp + 0xb8]
inc edx
call fcn.00402c8e
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], edi
mov byte [esp + 0xb8], bl
cmp edx, esi
jbe 0x4024bd
mov ecx, dword [esp + 0xa0]
lea edx, [edx*2 + 2]
call fcn.00402c8e
mov edx, dword [esp + 0xe4]
xor eax, eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
mov word [esp + 0xa0], ax
cmp edx, edi
jbe 0x4024ed
mov ecx, dword [esp + 0xd0]
inc edx
call fcn.00402c8e
push 0x44
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.004044e0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [esp + 0x60], 0x6589cd5d
jne 0x402548
push str.Au.event.Debugger
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x4025e5
push 0x7530
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4025e5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x38]
push 0x11
push str..pipeAu.Task_
push esi
mov dword [esp + 0x30], ebx
call fcn.00407050
add esp, 0xc
test eax, eax
jne 0x4025ea
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 0x415534
push dword [esp + 0x2c]
push dword [esp + 0x34]
call eax
xor eax, eax
lea edi, [esp + 0x198]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x198]
push eax
push esi
call dword [esp + 0x18]
cmp dword [esp + 0x198], ebx
je 0x40262c
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x19c]
push dword [esp + 0x1a4]
push dword [esp + 0x1ac]
push dword [esp + 0x2c]
push dword [esp + 0x34]
call dword [esp + 0x48]
mov esi, eax
jmp 0x402630
or edi, 0xffffffff
jmp 0x402649
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
cmp word [esi], bx
je 0x402608
lea ecx, [esp + 0x10]
call fcn.00401d46
mov ebx, dword [esp + 0x10]
mov ecx, eax
jmp 0x40260c
lea ecx, [esp + 0x2c]
cmp dword [esp + 0x174], edi
lea eax, [esp + 0x160]
lea edx, [esp + 0x24]
cmova eax, dword [esp + 0x160]
push edx
push eax
push ecx
push ebx
jmp 0x4025d5
mov esi, dword [esp + 0x28]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [esp + 0x44]
test esi, esi
jns 0x402645
push 0xfffffffffffffffc
pop edi
jmp 0x402649
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xe8]
call fcn.00402712
mov ecx, dword [esp + 0x34c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402f2c
mov esp, ebp
pop ebp
ret 0x10
call fcn.004010e3
int3