Function at 0x40136f
Capabilities:
Create process on windows
Delete file
Download url
Get common file path
Move file
Receive data

Disassembly:
push 0x6e4
mov eax, 0x434451
call fcn.00414585
mov bl, cl
mov byte [ebp - 0x6e9], bl
xor esi, esi
inc esi
test bl, bl
jne 0x401440
push 0x64
lea eax, [ebp - 0x6ac]
push 0
push eax
call fcn.00416120
pop ecx
pop ecx
lea ecx, [ebp - 0x6ac]
call fcn.00402185
and dword [ebp - 0x6a0], 0xfffffffd
lea eax, [ebp - 0x638]
push 2
pop ecx
push ecx
mov dword [ebp - 0x684], eax
lea eax, [ebp - 0x640]
push ecx
push eax
mov dword [ebp - 0x638], esi
mov dword [ebp - 0x634], str.Install
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x62c], str.Cancel
mov dword [ebp - 0x688], ecx
mov dword [ebp - 0x690], str.Install_.NET_4.5
mov dword [ebp - 0x68c], str.This_application_requires_the_.NET_Framework_4.5._Click_the_Install_button_to_get_started.
mov dword [ebp - 0x694], 0xfffd
mov dword [ebp - 0x66c], str.This_application_requires_.NET_Framework_4.5_or_above._Clicking_the_Install_button_will_download_the_latest_version_of_this_operating_system_component_from_Microsoft_and_install_it_on_your_PC.
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x6ac]
call fcn.00401b05
test eax, eax
js 0x401439
cmp dword [ebp - 0x640], esi
je 0x401440
mov eax, esi
jmp 0x4017ea
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00416120
xor eax, eax
mov esi, eax
mov dword [ebp - 0x648], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x63c], eax
push 0x38
push eax
lea eax, [ebp - 0x6e4]
mov dword [ebp - 0x6e8], 0x3c
push eax
call fcn.00416120
mov eax, dword [0x44c9f0]
add esp, 0x18
mov dword [ebp - 0x640], eax
push 0x68
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 2
call fcn.00401fe8
lea eax, [ebp - 0x628]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4014c1
call fcn.00401d87
mov ebx, eax
jmp 0x40177a
cmp eax, edi
jbe 0x4014cf
mov ebx, 0x80020013
jmp 0x40177a
lea eax, [ebp - 0x420]
push eax
push 0
push 0x4441cc
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4014b5
xor eax, eax
mov word [ebp - 0x21a], ax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00418d15
add esp, 0xc
test eax, eax
je 0x40151c
mov ebx, 0x80004005
jmp 0x40177a
lea eax, [ebp - 0x218]
push 0x2e
push eax
call fcn.004151d5
pop ecx
pop ecx
mov ecx, eax
push str..exe
test ecx, ecx
jne 0x401756
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00418d79
add esp, 0xc
test eax, eax
jne 0x401512
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4014b5
test bl, bl
jne 0x401661
lea eax, [ebp - 0x63c]
xor ebx, ebx
push eax
push 0x444640
push 0x17
push ebx
push 0x436990
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x63c]
test eax, eax
je 0x401663
mov ecx, dword [eax]
push str.Downloading
push eax
mov edi, dword [ecx + 0x14]
mov ecx, edi
call dword [0x436288]
call edi
mov eax, dword [ebp - 0x63c]
push ebx
push ebx
push str.Downloading_the_.NET_Framework_installer
mov edi, dword [eax]
push 1
push eax
mov ecx, dword [edi + 0x28]
call dword [0x436288]
call dword [edi + 0x28]
mov eax, dword [ebp - 0x63c]
push ebx
push ebx
push ebx
mov edi, dword [eax]
push ebx
push eax
mov ecx, dword [edi + 0xc]
call dword [0x436288]
call dword [edi + 0xc]
lea ecx, [ebp - 0x6f0]
mov dword [ebp - 0x6f0], ebx
call fcn.00401c00
test eax, eax
js 0x401663
mov ebx, dword [ebp - 0x6f0]
mov edi, dword [ebp - 0x63c]
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
je 0x401645
test edi, edi
je 0x40162e
mov eax, dword [edi]
push edi
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x436288]
call ebx
mov ebx, dword [ebp - 0x6f0]
mov ecx, dword [ebx + 0x24]
mov dword [ebx + 0x24], edi
test ecx, ecx
je 0x401645
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x436288]
call edi
test ebx, ebx
je 0x401661
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x436288]
call esi
mov esi, ebx
mov dword [ebp - 0x648], esi
xor ebx, ebx
push esi
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x640]
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
mov eax, dword [ebp - 0x63c]
test eax, eax
je 0x401695
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 0x10]
mov ecx, edi
call dword [0x436288]
call edi
test ebx, ebx
jne 0x40177a
cmp byte [ebp - 0x6e9], bl
lea eax, [ebp - 0x218]
mov dword [ebp - 0x6d8], eax
mov ecx, str._passive__norestart__showrmui
mov eax, str._q__norestart
mov dword [ebp - 0x6e4], 0x40
cmove eax, ecx
mov dword [ebp - 0x6dc], str.open
mov dword [ebp - 0x6d4], eax
lea eax, [ebp - 0x6e8]
push eax
mov dword [ebp - 0x6cc], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4014b5
mov eax, dword [ebp - 0x6b0]
test eax, eax
je 0x401708
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x6b0]
xor ebx, ebx
mov dword [ebp - 0x644], ebx
test eax, eax
je 0x401770
lea ecx, [ebp - 0x644]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4014b5
mov ebx, dword [ebp - 0x644]
cmp ebx, 0x669
je 0x401746
cmp ebx, 0xbc2
jne 0x401770
mov cl, byte [ebp - 0x6e9]
call fcn.004017f0
jmp 0x4014ba
mov eax, ecx
lea edx, [ebp - 0x218]
sub eax, edx
sar eax, 1
sub edi, eax
push edi
push ecx
call fcn.00418d15
jmp 0x401548
neg ebx
sbb ebx, ebx
and ebx, 0x80004005
mov eax, dword [ebp - 0x6b0]
test eax, eax
je 0x401790
cmp eax, 0xffffffff
je 0x401790
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x218], 0
je 0x4017a7
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x640]
call fcn.0040215d
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x63c]
test eax, eax
je 0x4017d0
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x436288]
call edi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4017e8
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x436288]
call esi
mov eax, ebx
call fcn.0041452f
ret