Function at 0x4aba00
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x248
call fcn.00422eb0
call fcn.00418570
call fcn.004193a0
mov dword [rsp + 0x5c], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
je 0x4abd89
lea rdx, [rsp + 0x5c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
mov rbx, rax
je 0x4abdb0
mov eax, dword [rsp + 0x5c]
cmp eax, 2
je 0x4abd38
cmp eax, 1
jle 0x4abb06
mov rcx, qword [rbx + 8]
lea rdx, str.__show_input
call sub.msvcrt.dll_wcscmp
test eax, eax
mov r12d, eax
jne 0x4abb06
cmp dword [rsp + 0x5c], 2
jle 0x4abdf6
add rbx, 0x10
mov esi, 2
xor r14d, r14d
xor ebp, ebp
lea rdi, str.__with_mouse
lea r13, str.__escape_input
jmp 0x4abac2
add esi, 1
add rbx, 8
cmp dword [rsp + 0x5c], esi
mov ebp, 1
jle 0x4abaf7
mov rcx, qword [rbx]
mov rdx, rdi
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x4abab0
mov rcx, qword [rbx]
mov rdx, r13
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4abd62
add esi, 1
add rbx, 8
cmp dword [rsp + 0x5c], esi
mov r14d, 1
jg 0x4abac2
movzx edx, r14b
movzx ecx, bpl
call fcn.00409d10
jmp 0x4abb42
cmp dword [rsp + 0x5c], 3
je 0x4abdcd
cmp dword [rsp + 0x5c], 6
je 0x4abb59
mov rbx, qword [rbx]
mov r12d, 1
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.Usage:__ls_controlPipeName_flags_mouseMode_cols_rows_nUsage:__ls_controlPipeName___create_desktop_n_nOrdinarily__this_program_is_launched_by_winpty.dll_and_is_not_directly_nuseful_to_winpty_users.__However__it_also_has_options_intended_for_ndebugging_winpty._n_nUsage:__ls__options__n_nOptions:_n____show_input____with_mouse_____escape_input__n___________________Dump_INPUT_RECORDs_from_the_console_input_buffer_n_____________________with_mouse:_Include_MOUSE_INPUT_RECORDs_in_the_dump_n_______________________output_n_____________________escape_input:_Direct_the_new_Windows_10_console_to_use_n_______________________escape_sequences_for_input_n____version________Print_the_winpty_version_n
lea rcx, [rax + 0x60]
mov qword [rsp + 0x20], rbx
mov r9, rbx
mov r8, rbx
call fcn.0042fa80
mov eax, r12d
add rsp, 0x248
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rbx + 0x28]
lea rsi, [rsp + 0x120]
lea r15, [rsp + 0x140]
mov rcx, rsi
call fcn.00412e10
mov rdx, rsi
mov rcx, r15
call fcn.00414ea0
mov rcx, qword [rsp + 0x140]
lea rdi, [rsp + 0xe0]
call sub.msvcrt.dll_atoi
mov rdx, qword [rbx + 0x20]
mov rcx, rdi
mov dword [rsp + 0x44], eax
call fcn.00412e10
lea rdx, [rsp + 0x100]
mov rcx, rdx
mov qword [rsp + 0x38], rdx
mov rdx, rdi
call fcn.00414ea0
mov rcx, qword [rsp + 0x100]
lea rbp, [rsp + 0xa0]
call sub.msvcrt.dll_atoi
mov rdx, qword [rbx + 0x18]
mov rcx, rbp
mov dword [rsp + 0x48], eax
call fcn.00412e10
lea r13, [rsp + 0xc0]
mov rdx, rbp
mov rcx, r13
call fcn.00414ea0
mov rcx, qword [rsp + 0xc0]
lea r12, [rsp + 0x60]
call sub.msvcrt.dll_atoi
mov rdx, qword [rbx + 0x10]
mov rcx, r12
mov dword [rsp + 0x4c], eax
call fcn.00412e10
lea r14, [rsp + 0x80]
mov rdx, r12
mov rcx, r14
call fcn.00414ea0
mov rcx, qword [rsp + 0x80]
mov r8d, 0xa
xor edx, edx
call fcn.00425260
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rbx + 8]
lea rbx, [rsp + 0x160]
mov r9d, dword [rsp + 0x4c]
mov r8, rax
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.00402710
mov rcx, qword [rsp + 0x80]
add r14, 0x10
cmp rcx, r14
je 0x4abc81
call fcn.004aaf10
mov rcx, qword [rsp + 0x60]
add r12, 0x10
cmp rcx, r12
je 0x4abc94
call fcn.004aaf10
mov rcx, qword [rsp + 0xc0]
add r13, 0x10
cmp rcx, r13
je 0x4abcaa
call fcn.004aaf10
mov rcx, qword [rsp + 0xa0]
add rbp, 0x10
cmp rcx, rbp
je 0x4abcc0
call fcn.004aaf10
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
add rax, 0x10
cmp rcx, rax
je 0x4abcdb
call fcn.004aaf10
mov rcx, qword [rsp + 0xe0]
add rdi, 0x10
cmp rcx, rdi
je 0x4abcf1
call fcn.004aaf10
mov rcx, qword [rsp + 0x140]
lea rax, [r15 + 0x10]
cmp rcx, rax
je 0x4abd07
call fcn.004aaf10
mov rcx, qword [rsp + 0x120]
add rsi, 0x10
cmp rcx, rsi
je 0x4abd1d
call fcn.004aaf10
mov rcx, rbx
call fcn.0040c0f0
mov rcx, rbx
mov r12d, 1
call fcn.00401860
jmp 0x4abb42
mov rcx, qword [rbx + 8]
lea rdx, str.__version
call sub.msvcrt.dll_wcscmp
test eax, eax
mov r12d, eax
je 0x4abd58
mov eax, dword [rsp + 0x5c]
jmp 0x4aba60
call fcn.00419370
jmp 0x4abb42
mov rbx, qword [rbx]
mov r12d, 1
call qword [sym.imp.msvcrt.dll___iob_func]
lea rdx, str.Unrecognized___show_input_option:__ls_n
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.0042fa80
jmp 0x4abb42
lea r8, str.cmdline___nullptr___GetCommandLineW_returned_NULL_
lea rcx, str.src_agent_main.cc
mov edx, 0x43
mov qword [rsp + 0x38], rax
call fcn.00418fa0
mov rax, qword [rsp + 0x38]
jmp 0x4aba39
lea r8, str.argv___nullptr___CommandLineToArgvW_returned_NULL_
lea rcx, str.src_agent_main.cc
mov edx, 0x45
call fcn.00418fa0
jmp 0x4aba53
mov rcx, qword [rbx + 0x10]
lea rdx, str.__create_desktop
call sub.msvcrt.dll_wcscmp
test eax, eax
mov r12d, eax
jne 0x4abb11
mov rcx, qword [rbx + 8]
call fcn.00403df0
jmp 0x4abb42
xor r14d, r14d
xor ebp, ebp
jmp 0x4abaf7