Function at 0x1400013e0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor eax, eax
mov ebp, ecx
mov r13d, eax
mov dword [rsp + 0x60], eax
lea r15d, [rax + 1]
mov dword [rsp + 0x68], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
lea edx, [rbp + 1]
mov rdi, rax
shl rdx, 3
lea ecx, [r15 + 0x3f]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
xor r11d, r11d
mov r14, rax
test rax, rax
jne 0x14000144f
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400016a6
mov esi, r11d
mov r12d, r11d
mov ebx, r11d
cmp word [rdi], r11w
je 0x14000169f
mov eax, ebx
mov r10d, r13d
lea r9, [rdi + rax*2]
cmp word [r9], 0x20
je 0x1400015c1
cmp word [r9], 9
je 0x1400015c1
cmp word [r9], 0x22
jne 0x1400015b4
or r8, 0xffffffffffffffff
inc r8
cmp word [r9 + r8*2], r11w
jne 0x140001490
test ebx, ebx
je 0x1400014d7
lea r15d, [rbx - 1]
lea rcx, [rdi + r15*2]
cmp word [rcx], 0x5c
jne 0x1400014d2
lea r8, [r8*2 + 2]
mov rdx, r9
call sub.msvcrt.dll_memmove
mov ebx, r15d
mov r15d, 1
mov dword [rsp + 0x68], r15d
xor r11d, r11d
jmp 0x14000163d
mov r15d, dword [rsp + 0x68]
test r13d, r13d
je 0x140001564
mov edx, dword [rsp + 0x60]
cmp edx, ebx
jne 0x14000150d
cmp r8, 1
je 0x1400014ff
lea eax, [rbx + 1]
cmp word [rdi + rax*2], 0x20
je 0x1400014ff
cmp word [rdi + rax*2], 9
jne 0x14000150d
mov esi, ebx
mov word [r9], r11w
mov r13d, r11d
jmp 0x140001641
test r15d, r15d
je 0x140001578
cmp r8, 2
jne 0x14000152d
lea eax, [rbx + 1]
cmp word [rdi + rax*2], 0x22
jne 0x140001578
mov eax, dword [rdi + rax*2]
mov dword [r9], eax
jmp 0x140001641
cmp r8, 3
jb 0x140001578
lea eax, [rbx + 1]
lea rdx, [rdi + rax*2]
cmp word [rdx], 0x22
jne 0x140001578
lea eax, [rbx + 2]
cmp word [rdi + rax*2], 0x20
je 0x140001578
cmp word [rdi + rax*2], 9
je 0x140001578
add r8, r8
mov rcx, r9
mov r13d, r11d
call sub.msvcrt.dll_memmove
jmp 0x1400014ca
test r15d, r15d
je 0x140001578
cmp r8, 1
jne 0x140001578
test r12d, r12d
je 0x14000163d
test r13d, r13d
mov eax, r11d
sete al
mov r13d, eax
test r10d, r10d
jne 0x14000159b
test r15d, r15d
jne 0x14000159b
lea r15d, [r10 + 1]
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x68], r15d
lea eax, [rbx + 1]
add r8, r8
lea rdx, [rdi + rax*2]
mov rcx, r9
call sub.msvcrt.dll_memmove
dec ebx
jmp 0x1400014ca
mov r15d, 1
mov dword [rsp + 0x68], r15d
jmp 0x14000163d
test r13d, r13d
jne 0x14000163d
mov dword [rsp + 0x68], r11d
mov r15d, r11d
cmp ebx, esi
je 0x14000163a
mov eax, ebx
mov word [r9], r11w
sub eax, esi
lea ecx, [r13 + 0x40]
lea eax, [rax*2 + 2]
mov edx, eax
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov ecx, r12d
mov qword [r14 + rcx*8], rax
test rax, rax
je 0x1400016ce
mov ecx, esi
shr r15, 1
mov rdx, r15
lea r8, [rdi + rcx*2]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
inc r12d
lea esi, [rbx + 1]
cmp r12d, ebp
ja 0x1400016c7
mov r15d, dword [rsp + 0x68]
jmp 0x1400014ca
lea esi, [rbx + 1]
mov edx, dword [rsp + 0x60]
inc ebx
cmp word [rdi + rbx*2], r11w
jne 0x140001462
cmp ebx, esi
je 0x1400016bc
cmp r12d, ebp
jae 0x1400016c7
sub ebx, esi
mov ecx, 0x40
lea eax, [rbx*2 + 2]
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov ecx, r12d
mov qword [r14 + rcx*8], rax
test rax, rax
je 0x1400016ce
mov ecx, esi
shr rbx, 1
mov rdx, rbx
lea r8, [rdi + rcx*2]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
xor r11d, r11d
mov qword [r14 + rbp*8], r11
mov rax, r14
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r13d, r13d
je 0x14000169f
cmp edx, ebx
jne 0x14000169f
jmp 0x140001652
mov ecx, 0x57
jmp 0x1400016d3
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
test ebp, ebp
je 0x14000170b
mov rbx, r14
mov rdi, rbp
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001701
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
xor eax, eax
add rbx, 8
sub rdi, 1
jne 0x1400016eb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x140001448