Function at 0x401190
Capabilities:
Create process on windows
Delete file
Download url
Query or enumerate registry value
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402b3b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x40500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Checking_for_presence_of_64_bit_office...
push 0x401a80
call fcn.00401840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x1fe
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x24c]
add esp, 0xc
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x244], 0x1fe
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftOffice16.0Outlook
push 0x80000002
call esi
test eax, eax
je 0x401264
lea eax, [ebp - 0x24c]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftOffice15.0Outlook
push 0x80000002
call esi
test eax, eax
je 0x401264
lea eax, [ebp - 0x24c]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftOffice19.0Outlook
push 0x80000002
call esi
test eax, eax
jne 0x4012d3
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push str.Bitness
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4012d3
lea ecx, [ebp - 0x210]
mov eax, 0x403450
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4012c6
test dx, dx
je 0x4012c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4012c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4012a0
xor eax, eax
jmp 0x4012cb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4012d3
mov bl, 1
jmp 0x4012d5
xor bl, bl
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x240]
push 0x33
push str.https:__s3.amazonaws.com_frontlinesolvers_cabfiles_
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
call fcn.00401620
mov ecx, str.SolverSetup64.exe
mov byte [ebp - 4], 1
test bl, bl
mov eax, str.SolverSetup32.exe
push 0x11
cmovne eax, ecx
lea ecx, [ebp - 0x228]
push eax
call fcn.00401620
mov ecx, str.2017_64_SolverSetup64.exe
test bl, bl
mov eax, str.2017_32_SolverSetup32.exe
cmovne eax, ecx
lea ecx, [ebp - 0x240]
push eax
call fcn.00401540
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Downloading_setup_program...
push 0x401a80
call fcn.00401840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
push 0
cmovae ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
push 0
cmovae eax, dword [ebp - 0x240]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, eax
test esi, esi
jne 0x401412
push 0x401a80
mov edx, str.Launching_setup_program...
call fcn.00401840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 1
cmovae eax, dword [ebp - 0x228]
push esi
push esi
push eax
push str.runas
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40147e
mov edx, str._ERR__Installer_Error:
call fcn.00401840
cmp esi, 0x8007000e
jne 0x40142b
mov edx, str.The_buffer_length_is_invalid__or_there_is_insufficient_memory_to_complete_the_operation.
jmp 0x40143d
mov edx, str.The_specified_resource_or_callback_interface_was_invalid.
cmp esi, 0x800c0008
je 0x40143d
mov edx, str.Unknown_Error
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401840
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x401a80
push 0x401a80
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, str.Press_Enter_to_exit...
mov ecx, eax
call fcn.00401840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x4014ba
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4014b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401509
push edx
push ecx
call fcn.00401c96
add esp, 8
mov edx, dword [ebp - 0x214]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp edx, 8
jb 0x401519
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40150f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40150f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00401c96
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401c55
mov esp, ebp
pop ebp
ret