Function at 0x401654
Capabilities:
Download url
Execute command
Receive data
Set console window title

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
call dbg.__main
lea rcx, str.Crossfire_PH_All_In_One_Mod_Patcher
mov rax, qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call rax
call dbg.fontSize()
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xa0
mov r9d, 0x163
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_MoveWindow]
call rax
mov rax, qword [rbp - 8]
mov edx, 0xfffffff0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetWindowLongA]
call rax
and eax, 0xfffaffff
mov edx, eax
mov rax, qword [rbp - 8]
mov r8d, edx
mov edx, 0xfffffff0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SetWindowLongA]
call rax
lea rax, str.https:__github.com_notepad_plus_plus_notepad_plus_plus_releases_download_v8.4.2_npp.8.4.2.Installer.x64.exe
mov qword [rbp - 0x10], rax
lea rax, str.https:__github.com_notepad_plus_plus_notepad_plus_plus_releases_download_v8.4.2_npp.8.4.2.Installer.x64.exe
mov qword [rbp - 0x18], rax
lea rax, str.https:__github.com_notepad_plus_plus_notepad_plus_plus_releases_download_v8.4.2_npp.8.4.2.Installer.x64.exe
mov qword [rbp - 0x20], rax
lea rax, str.rez2RF018.REZ
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], 0
lea rdx, str._n_1__SIMPLE_CHEAT__n
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov ecx, 1
call dbg.ShowConsoleCursor(bool)
lea rdx, str.Type_Option:
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rax, [rbp - 0x2c]
mov rdx, rax
mov rcx, qword [0x0048c7e0]
call method.std::istream.operator___int_
lea rcx, [0x004880d5]
call sym.system
mov ecx, 0
call dbg.ShowConsoleCursor(bool)
lea rdx, str._n_n______DOWNLOADING_PLEASE_WAIT
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov eax, dword [rbp - 0x2c]
cmp eax, 1
jne 0x401827
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
test eax, eax
sete al
test al, al
je 0x4017fe
lea rcx, [0x004880d5]
call sym.system
lea rdx, str._n_nSUCCESSFULLY_INJECTED
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x40181d
lea rcx, [0x004880d5]
call sym.system
lea rdx, str._n_nPLEASE_RUN_IN_YOUR_CROSSFIRE_FOLDER
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
call sym.getch
jmp 0x40194c
mov eax, dword [rbp - 0x2c]
cmp eax, 2
jne 0x4018a9
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
test eax, eax
sete al
test al, al
je 0x401880
lea rcx, [0x004880d5]
call sym.system
lea rdx, str._n_nSUCCESSFULLY_INJECTED
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x40189f
lea rcx, [0x004880d5]
call sym.system
lea rdx, str._n_nPLEASE_RUN_IN_YOUR_CROSSFIRE_FOLDER
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
call sym.getch
jmp 0x40194c
mov eax, dword [rbp - 0x2c]
cmp eax, 3
jne 0x401928
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
test eax, eax
sete al
test al, al
je 0x401902
lea rcx, [0x004880d5]
call sym.system
lea rdx, str._n_nSUCCESSFULLY_REMOVED
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x401921
lea rcx, [0x004880d5]
call sym.system
lea rdx, str._n_nPLEASE_RUN_IN_YOUR_CROSSFIRE_FOLDER
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
call sym.getch
jmp 0x40194c
lea rcx, [0x004880d5]
call sym.system
lea rdx, str._n_nWRONG_INPUT
mov rcx, qword [0x0048c810]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
call sym.getch
mov eax, 0
add rsp, 0x60
pop rbp
ret