Function at 0x140001500
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rdx, str.Enter_a_devflag__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003d70
lea rdx, str._browserinstall_depinstall_wgetinstall_adddummychoco___n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003d70
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r14b
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004150
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 0xf
cmova rcx, rdi
mov rbx, qword [rsp + 0x40]
cmp rbx, 0xe
jne 0x1400015be
mov r8, rbx
lea rdx, str.browserinstall
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400015e4
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xe
jne 0x1400015e9
mov r8, rbx
lea rdx, str.Browserinstall
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400015e9
call fcn.140001340
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xa
jne 0x14000160f
mov r8, rbx
lea rdx, str.depinstall
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001635
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xa
jne 0x14000163a
mov r8, rbx
lea rdx, str.Depinstall
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000163a
call fcn.140001290
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xb
jne 0x140001660
mov r8, rbx
lea rdx, str.wgetinstall
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001686
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xb
jne 0x1400016a0
mov r8, rbx
lea rdx, str.Wgetinstall
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400016a0
lea rcx, str.choco_install_wget__y
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xd
jne 0x1400016c6
mov r8, rbx
lea rdx, str.adddummychoco
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400016f4
lea rcx, [rsp + 0x30]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 0xd
jne 0x140001818
mov r8, rbx
lea rdx, str.Adddummychoco
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001818
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400074e8]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x37], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x28], r14
mov rax, qword [0x14000a9f8]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], r14
mov r8d, 2
lea rcx, [rsp + 0x58]
call fcn.140003b10
test rax, rax
jne 0x1400017d6
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140003760
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14000182c
lea rdx, str.No_valid_flag_was_entered._Continuing_operation__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003d70
nop
cmp rsi, 0xf
jbe 0x140001866
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000185e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000185e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000476c
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140004710
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret