Function at 0x140017e6f
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x14003d140
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14005c040]
xor rax, rbp
mov qword [rbp + 0x180], rax
lea rcx, [0x14006610b]
call fcn.1400184d7
mov byte [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14003d333
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rbp + 0x68], rax
lea rdx, str.Command_line_length:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001725d
mov qword [rbp + 0x168], rax
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x170], eax
mov edx, dword [rbp + 0x170]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov qword [rbp + 0x178], rax
lea rdx, [0x1400170d2]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.MSVCP140D.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]
cmp qword [rbp + 0x68], 0
je 0x14003d303
cmp dword [rbp + 0x44], 1
jle 0x14003d303
lea rdx, str.CLI_Argument:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140017b95
mov qword [rbp + 0x168], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax]
mov qword [rbp + 0x170], rax
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x168]
call fcn.140017afa
mov qword [rbp + 0x178], rax
lea rdx, [0x140017a46]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov eax, 8
imul rax, rax, 1
lea rdx, str.destructive
mov rcx, qword [rbp + 0x68]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14003d2c9
lea rdx, str.Destructive_mode_enabled
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001725d
mov qword [rbp + 0x168], rax
lea rdx, [0x1400170d2]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.MSVCP140D.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 byte [rbp + 4], 1
jmp 0x14003d2f7
lea rdx, str.Destructive_mode_disabled
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001725d
mov qword [rbp + 0x168], rax
lea rdx, [0x1400170d2]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.MSVCP140D.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 [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14003d331
lea rdx, str.Destructive_mode_disabled
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001725d
mov qword [rbp + 0x168], rax
lea rdx, [0x1400170d2]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.MSVCP140D.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]
jmp 0x14003d361
lea rdx, str.Failed_to_get_command_line
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001725d
mov qword [rbp + 0x168], rax
lea rdx, [0x1400170d2]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.MSVCP140D.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]
movzx eax, byte [rbp + 4]
test eax, eax
je 0x14003d3b6
lea rdx, str.Press_Enter_to_continue...
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001725d
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
lea rdx, [0x140017a8c]
lea rcx, [rbp + 0x88]
call fcn.140017951
nop
lea rcx, [rbp + 0x88]
call fcn.1400185fe
nop
lea rcx, [rbp + 0x88]
call fcn.140017974
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004f860]
call fcn.14001813a
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.140017a28
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret