Function at 0x445e6a
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 8]
sub esp, 0x1b4
mov dword [ebp - 0x164], 0x445710
mov dword [ebp - 0x160], 0x4469c8
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x158], 0x44646e
mov dword [ebp - 0x154], esp
mov dword [esp], eax
call fcn.004286e0
call fcn.00427270
mov dword [ebp - 0x178], 0xffffffff
call fcn.0041c660
call fcn.0041dac0
mov dword [ebp - 0x144], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
mov dword [ebp - 0x180], eax
je 0x446360
lea eax, [ebp - 0x144]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x180]
mov dword [esp], eax
mov dword [ebp - 0x178], 0xffffffff
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
test eax, eax
mov dword [ebp - 0x180], eax
je 0x446381
mov eax, dword [ebp - 0x144]
cmp eax, 2
je 0x44631e
cmp eax, 1
jg 0x446255
cmp dword [ebp - 0x144], 3
je 0x4463d9
cmp dword [ebp - 0x144], 6
je 0x445fb5
mov eax, dword [ebp - 0x180]
mov eax, dword [eax]
mov dword [ebp - 0x180], eax
mov dword [esp], 2
mov dword [ebp - 0x178], 0xffffffff
call dword [0x44703c]
mov edx, dword [ebp - 0x180]
mov dword [esp + 4], 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
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
call fcn.00433640
mov dword [ebp - 0x188], 1
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call fcn.00428750
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x188]
leave
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0xb0]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov dword [ebp - 0x178], 0xffffffff
call fcn.004158a0
lea edx, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x98]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x178], 1
call fcn.004183f0
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
lea edx, [ebp - 0xe0]
mov eax, dword [ecx + 0x10]
mov ecx, edx
mov dword [esp], eax
mov dword [ebp - 0x178], 2
call fcn.004158a0
lea eax, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xe0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x178], 3
call fcn.004183f0
mov eax, dword [ebp - 0xc8]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
lea edx, [ebp - 0x110]
mov eax, dword [ecx + 0xc]
mov ecx, edx
mov dword [esp], eax
mov dword [ebp - 0x178], 4
call fcn.004158a0
lea eax, [ebp - 0xf8]
push edx
lea edx, [ebp - 0x110]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x178], 5
call fcn.004183f0
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x18c], eax
lea edx, [ebp - 0x140]
mov eax, dword [ecx + 8]
mov ecx, edx
mov dword [esp], eax
mov dword [ebp - 0x178], 6
call fcn.004158a0
lea edx, [ebp - 0x140]
push eax
lea eax, [ebp - 0x128]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x178], 7
call fcn.004183f0
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x128]
mov dword [esp], eax
call fcn.00428ba0
mov ecx, dword [ebp - 0x184]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x188]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x18c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x180]
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x80]
mov dword [esp], eax
mov dword [ebp - 0x178], 8
call fcn.00402d80
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x120]
sub esp, 0x18
cmp eax, edx
je 0x446184
mov dword [esp], eax
call fcn.00444a10
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x138]
cmp eax, edx
je 0x44619c
mov dword [esp], eax
call fcn.00444a10
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0xf0]
cmp eax, edx
je 0x4461b4
mov dword [esp], eax
call fcn.00444a10
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
cmp eax, edx
je 0x4461cc
mov dword [esp], eax
call fcn.00444a10
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc0]
cmp eax, edx
je 0x4461e4
mov dword [esp], eax
call fcn.00444a10
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xd8]
cmp eax, edx
je 0x4461fc
mov dword [esp], eax
call fcn.00444a10
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x90]
cmp eax, edx
je 0x446214
mov dword [esp], eax
call fcn.00444a10
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xa8]
cmp eax, edx
je 0x44622c
mov dword [esp], eax
call fcn.00444a10
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x178], 9
call fcn.0040e270
lea ecx, [ebp - 0x80]
call fcn.00401800
mov dword [ebp - 0x188], 1
jmp 0x445f99
mov dword [esp + 4], str.__show_input
mov eax, dword [ebp - 0x180]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
mov dword [ebp - 0x188], eax
jne 0x445f32
cmp dword [ebp - 0x144], 2
jle 0x4463a2
mov eax, dword [ebp - 0x180]
mov byte [ebp - 0x18d], 0
mov dword [ebp - 0x180], 2
mov byte [ebp - 0x18c], 0
add eax, 8
mov dword [ebp - 0x184], eax
jmp 0x4462d9
mov byte [ebp - 0x18c], 1
add dword [ebp - 0x180], 1
add dword [ebp - 0x184], 4
mov eax, dword [ebp - 0x180]
cmp dword [ebp - 0x144], eax
jle 0x4463b0
mov dword [esp + 4], str.__with_mouse
mov eax, dword [ebp - 0x184]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x4462b2
mov dword [esp + 4], str.__escape_input
mov eax, dword [ebp - 0x184]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x446420
mov byte [ebp - 0x18d], 1
jmp 0x4462b9
mov dword [esp + 4], str.__version
mov eax, dword [ebp - 0x180]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
mov dword [ebp - 0x188], eax
je 0x44634c
mov eax, dword [ebp - 0x144]
jmp 0x445f29
mov dword [ebp - 0x178], 0xffffffff
call fcn.0041da90
jmp 0x445f99
mov dword [esp + 8], str.cmdline___nullptr___GetCommandLineW_returned_NULL_
mov dword [esp + 4], 0x43
mov dword [esp], str.src_agent_main.cc
call fcn.0041d680
jmp 0x445ee6
mov dword [esp + 8], str.argv___nullptr___CommandLineToArgvW_returned_NULL_
mov dword [esp + 4], 0x45
mov dword [esp], str.src_agent_main.cc
call fcn.0041d680
jmp 0x445f1a
mov byte [ebp - 0x18d], 0
mov byte [ebp - 0x18c], 0
movzx eax, byte [ebp - 0x18d]
mov dword [esp + 4], eax
movzx eax, byte [ebp - 0x18c]
mov dword [esp], eax
mov dword [ebp - 0x178], 0xffffffff
call fcn.0040bc10
jmp 0x445f99
mov dword [esp + 4], str.__create_desktop
mov eax, dword [ebp - 0x180]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
mov dword [ebp - 0x188], eax
jne 0x445f3f
mov eax, dword [ebp - 0x180]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [ebp - 0x178], 0xffffffff
call fcn.00404b50
jmp 0x445f99
mov eax, dword [ebp - 0x184]
mov eax, dword [eax]
mov dword [ebp - 0x180], eax
mov dword [esp], 2
mov dword [ebp - 0x178], 0xffffffff
call dword [0x44703c]
mov edx, dword [ebp - 0x180]
mov dword [esp + 4], str.Unrecognized___show_input_option:__ls_n
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00433640
mov dword [ebp - 0x188], 1
jmp 0x445f99