Function at 0x140001880
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, str._new_console
mov rbx, rax
call fcn.140006560
xor r13d, r13d
test al, al
jne 0x140001af3
lea rdx, str._cur_console
mov rcx, rbx
call fcn.140006560
test al, al
jne 0x140001af3
call fcn.140005b4c
lea rcx, [rbp - 0x30]
mov dil, r13b
call fcn.140005fd8
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rbx
mov r14d, r13d
mov r12b, 1
call fcn.140006610
mov rbx, rax
test rax, rax
je 0x140001ab8
mov rcx, qword [rbp - 0x30]
cmp word [rcx], 0x2d
jne 0x140001947
cmp word [rcx + 2], r13w
je 0x140001947
lea rdx, str.__.__
add rcx, 2
call fcn.14000bdbc
test rax, rax
jne 0x140001943
mov rax, qword [rbp - 0x30]
mov ecx, 0x2f
mov word [rax], cx
mov rcx, qword [rbp - 0x30]
mov edx, 0x2f
mov al, r12b
mov r12b, r13b
cmp word [rcx], dx
je 0x140001981
test al, al
je 0x140001981
call fcn.1400069d8
test rax, rax
je 0x14000197d
lea rdx, [0x14001cdf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001a73
mov rcx, qword [rbp - 0x30]
inc r14d
mov eax, 0x2f
cmp word [rcx], ax
je 0x140001998
cmp r14d, 1
jg 0x140001ab3
lea rcx, [rbp - 0x30]
call fcn.140005ccc
mov rcx, rax
lea rdx, str._Download
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001a9c
lea rcx, [rbp - 0x30]
call fcn.140005ccc
mov rcx, rax
lea rdx, str._Args
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001a90
lea rcx, [rbp - 0x30]
call fcn.140005ccc
mov rcx, rax
lea rdx, str._ParseArgs
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001a90
lea rcx, [rbp - 0x30]
call fcn.140005ccc
mov rcx, rax
lea rdx, [0x14001ce50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001ab8
lea rcx, [rbp - 0x30]
call fcn.140005ccc
mov rcx, rax
lea rdx, [0x14001ce58]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001ab8
lea rcx, [rbp - 0x30]
call fcn.140005ccc
mov rcx, rax
lea rdx, str._help
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001ab8
lea rcx, [rbp - 0x30]
call fcn.140005ccc
mov rcx, rax
lea rdx, str.__help
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001ab8
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140006610
mov rbx, rax
test rax, rax
jne 0x140001911
jmp 0x140001ab3
mov rcx, rbx
call fcn.1400010b0
mov dword [rsi], eax
jmp 0x140001ab0
mov rcx, rbx
call fcn.14000237c
mov dword [rsi], eax
cmp eax, 0x92
jne 0x140001ab0
mov dword [rsi], r13d
mov dil, 1
test r14d, r14d
jne 0x140001ae0
cmp qword [r15], r13
jne 0x140001ae0
lea rcx, str.ConEmuCD64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [r15], rax
test rax, rax
jne 0x140001ae0
call fcn.140001754
mov dword [rsi], 0x76
mov dil, 1
lea rcx, [rbp - 0x30]
call fcn.140005ffc
call fcn.140005aec
mov al, dil
jmp 0x140001af5
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret