Function at 0x140001000
Capabilities:
Create process on windows
Set console window title

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, str.0.0.2
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__1__Windows_Version_21H2
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__2__Windows_Version_21H1
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__3__Windows_Version_20H2
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__4__Windows_Version_2004
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__5__Windows_Version_1909
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__6__Windows_Version_1809
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__7__Windows_Version_1803
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__8__Windows_Version_1703
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__9__Windows_Version_1607
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__10__Windows_Version_1511
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__11__Windows_Version_1507
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n_n_Option_:
call fcn.140001340
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [rsp + 0x30]
xor ebx, ebx
cmp eax, 1
jne 0x140001149
mov dword [rsp + 0x28], eax
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_21H2_EnglishInternational_x64.iso_tf76729a4_d8db_4c96_9143_757d669bf48ce1678812924h443220e1bf98771f6e6c0015d6269b9c68b026ea973c99ef13870d63f8e4dcbc
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x140001178
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_21H1_EnglishInternational_x64.iso_t8434122a_1ec5_4d50_8299_b2b703f17969e1678812863hc847ba3b92d48d5d5ae28b70a75e2ecfdd57239fcee7687a4ece7ee8f9b26a85
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 3
jne 0x1400011a7
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_20H2_EnglishInternational_x64.iso_t3f6ec421_d886_4a3a_a66c_c8bf9f87c2a9e1678812704hdf92b0ee3b0827e349489e0e55082c74eefb071b10466bb1641c12fc20172758
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 4
jne 0x1400011d6
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_2004_EnglishInternational_x64.iso_t66b2e685_be7b_496a_bcb7_b78c8f54c8f1e1678812764h8351c712a417695d17ec3d9927f123062c24db1c0f82ffc2d1e3aa31d7ae8f42
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 5
jne 0x140001205
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_1909_EnglishInternational_x64.iso_t10b97951_12d3_435d_8000_e682262a029ee1678630558hc4e87f2661715c99621b4db13003744c5cff592e9e6eb666d8954562636f9edd
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 6
jne 0x140001234
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_1809_EnglishInternational_x64.iso_t24094273_b50e_4696_ae3a_66d8027fd16be1678631182hde7f20322b512751df4e0fed93280cab4727f1bf81684a25f209952d486e8e0c
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 7
jne 0x140001263
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_1803_EnglishInternational_x64.iso_tc9227d12_f2ae_4bc3_be4c_79851c26b219e1678631230h22a02e9f621ab73e56c8eadcc1eb3fb50becea43ab31afa7d3a689b4fe745d4d
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 8
jne 0x140001292
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_1703_EnglishInternational_x64.iso_ta254bea6_d9ce_4f12_944b_dcec723c67c9e1678631274h453dd5a3380be1bd2e2909f5810c06f9a35fb6b56afe9268a8057d2ab04ed97c
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 9
jne 0x1400012c1
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_1607_EnglishInternational_x64.iso_te14747ce_d28a_4631_9ab4_cb8473034a36e1678906473h7b8afc9415e6ca373dd73487c9337b03c92696a0110102d1b320a4ccac4f8ca6
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 0xa
jne 0x1400012f0
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_1511_EnglishInternational_x64.iso_t983db186_27ab_49cc_a1f3_99e5345a401ae1678906524h6e87178247a9f0fe758b54f1c4ba95a9e5d7e26784861ade44ee634dcc038dc1
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [rsp + 0x30]
cmp eax, 0xb
jne 0x14000131b
mov dword [rsp + 0x28], 1
lea r8, str.https:__software.download.prss.microsoft.com_dbazure_Win10_EnglishInternational_x64.iso_t95645c85_f613_4102_9f30_88b425b22b0be1678906579h0d1095c83da4dcab3da1a1bf0b2fe4e9182c48c1003d214061286354a0832adf
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
call main
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001590
add rsp, 0x40
pop rbx
ret