Function at 0x140002c60
Capabilities:
Execute command
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x47], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor r14d, r14d
mov ecx, 1
mov rdi, rax
mov qword [rbp - 0x49], r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1400088e0]
lea rdx, str.CONOUT_
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1400088e0]
lea rdx, str.CONOUT_
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1400088f0]
lea rdx, str.CONIN_
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp - 0x21]
mov dword [rbp - 0x21], r14d
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x21]
mov rcx, rbx
and edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, 0xfffffff0
mov rcx, rdi
and eax, 0xfffaffff
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea r8, str.Consolas
mov qword [rbp - 0x19], 0x54
mov edx, 0x20
mov qword [rbp - 0x11], 0xe0000
lea rcx, [rbp - 5]
mov dword [rbp - 9], 0x2bc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rbp - 0x19]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
mov edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__kbhit]
test eax, eax
je 0x140002dc7
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
test eax, eax
je 0x140002def
cmp eax, 0xe0
je 0x140002def
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002de2
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp eax, 0x40
je 0x140002e0d
nop word [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002e00
cmp qword [0x14000dba8], 0xf
lea rcx, [0x14000db90]
mov qword [rsp + 0xd0], rsi
cmova rcx, qword [0x14000db90]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.color_0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140008954]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Successful_
call fcn.140004720
lea rdx, [0x140004900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400028c0
test al, al
je 0x140003132
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Saved_path:
call fcn.140004720
cmp qword [0x14000d0f0], 0xf
lea rdx, [0x14000d0d8]
mov r8, qword [0x14000d0e8]
mov rcx, rax
cmova rdx, qword [0x14000d0d8]
call fcn.140005580
lea rdx, [0x140004900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Do_you_want_to_countinue_with_this_path___Y_N_
call fcn.140004720
lea rdx, [0x140004900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Dogboy_
call fcn.140004720
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x41]
xorps xmm0, xmm0
mov qword [rbp - 0x31], r14
movups xmmword [rbp - 0x41], xmm0
mov byte [rbp - 0x41], r14b
mov qword [rbp - 0x29], 0xf
call fcn.140004940
mov rdi, qword [rbp - 0x29]
lea rcx, [rbp - 0x41]
mov rbx, qword [rbp - 0x41]
cmp rdi, 0xf
mov rsi, qword [rbp - 0x31]
cmova rcx, rbx
cmp rsi, 1
jne 0x140002f53
mov r8, rsi
lea rdx, [0x1400089b0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140002f78
cmp rdi, 0xf
lea rcx, [rbp - 0x41]
cmova rcx, rbx
cmp rsi, 1
jne 0x140002f89
mov r8, rsi
lea rdx, [0x1400089b4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002f89
lea rcx, [0x14000d0d8]
call fcn.140005bf0
jmp 0x1400030c9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Ok__choose_new_dll_path.
call fcn.140004720
lea rdx, [0x140004900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x41]
call fcn.140005aa0
cmp qword [rbp - 0x31], r14
jne 0x140003079
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.No_DLL_selected._Exiting.
call fcn.140004720
lea rdx, [0x140004900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140003028
mov rcx, qword [rbp - 0x41]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003023
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030bd
call fcn.140006a6c
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], r14b
cmp rdi, 0xf
jbe 0x1400031a6
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003067
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030bd
mov rcx, rbx
call fcn.140006a6c
mov eax, 1
jmp 0x140003105
lea rdx, [rbp - 0x41]
call fcn.140002600
lea rcx, [rbp - 0x41]
call fcn.140005bf0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x1400030c9
mov rcx, qword [rbp - 0x41]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030c4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006a6c
cmp rdi, 0xf
jbe 0x140003103
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400030fb
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140006a6c
xor eax, eax
mov rsi, qword [rsp + 0xd0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400067d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 0x41]
call fcn.140005aa0
cmp qword [rbp - 0x31], r14
jne 0x1400031b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.No_DLL_selected._Exiting.
call fcn.140004720
lea rdx, [0x140004900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x1400031a6
mov rcx, qword [rbp - 0x41]
inc rdx
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400031a1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140003200
call fcn.140006a6c
mov eax, 1
jmp 0x140003105
lea rdx, [rbp - 0x41]
call fcn.140002600
lea rcx, [rbp - 0x41]
call fcn.140005bf0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140003103
mov rcx, qword [rbp - 0x41]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030fe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3