Function at 0x491020
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
call sub.kernel32.dll_GetCommandLineW
mov qword [rsp + 0x48], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
test rax, rax
je 0x4914e5
movzx r14d, word [rax]
test r14w, r14w
je 0x4914e5
mov qword [rsp + 0x80], 2
movups xmmword [rsp + 0x88], xmm0
add rax, 2
mov ecx, 2
xor r8d, r8d
lea rdi, [rsp + 0x80]
xor ebx, ebx
jmp 0x4910bf
mov word [rcx + r8*2], r14w
inc r8
mov qword [rsp + 0x90], r8
movzx r14d, word [rbp]
lea rax, [rbp + 2]
test r14w, r14w
je 0x491124
mov rbp, rax
cmp r14w, 9
je 0x4910f0
movzx eax, r14w
cmp eax, 0x20
je 0x4910f0
cmp eax, 0x22
jne 0x4910f5
not bl
and bl, 1
movzx r14d, word [rbp]
lea rax, [rbp + 2]
test r14w, r14w
jne 0x4910bf
jmp 0x491124
test bl, 1
je 0x491124
cmp r8, qword [rsp + 0x88]
jne 0x4910a0
mov rcx, rdi
mov rdx, r8
call dbg.reserve_for_push<u16, alloc::alloc::Global>
mov rcx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
jmp 0x4910a0
add rbp, 2
movzx eax, word [rbp]
cmp eax, 0x20
je 0x491120
cmp eax, 9
je 0x491120
mov rdi, qword [rsp + 0x80]
lea rcx, [rsp + 0x60]
mov rdx, rdi
call dbg.from_wide
lea rcx, [rsp + 0x48]
xor edx, edx
call dbg.reserve_for_push<std::ffi::os_str::OsString, alloc::alloc::Global>
mov qword [rsp + 0x98], rdi
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
shl rdx, 5
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + rdx + 0x10], xmm1
movups xmmword [rax + rdx], xmm0
inc rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movzx r13d, word [rbp]
test r13w, r13w
je 0x491581
mov r12d, 2
xor r8d, r8d
lea rbx, [rsp + 0x60]
lea r15, [rsp + 0x28]
movaps xmm6, xmmword [0x005400f0]
xor r14d, r14d
jmp 0x4911f1
test r14b, 1
jne 0x491365
mov r14b, 1
nop dword [rax]
movzx r13d, word [rdi]
mov rbp, rdi
test r13w, r13w
je 0x491587
lea rdi, [rbp + 2]
movzx eax, r13w
cmp eax, 0x21
jg 0x4912a0
cmp eax, 9
je 0x491210
cmp eax, 0x20
jne 0x491310
test r14b, 1
jne 0x491310
mov r12, qword [rsp + 0x28]
mov rcx, rbx
mov rdx, r12
call dbg.from_wide
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x50]
jne 0x491245
lea rcx, [rsp + 0x48]
call dbg.reserve_for_push<std::ffi::os_str::OsString, alloc::alloc::Global>
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
mov rcx, rdx
shl rcx, 5
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x38], 0
jmp 0x491284
add rdi, 2
movzx r13d, word [rdi]
cmp r13d, 0x20
je 0x491280
cmp r13d, 9
je 0x491280
xor r8d, r8d
jmp 0x4911e4
cmp eax, 0x22
je 0x4911d0
cmp eax, 0x5c
jne 0x491310
movzx eax, word [rdi]
xor r13d, r13d
cmp ax, 0x5c
jne 0x4912d3
nop word [rax + rax]
add rdi, 2
movzx eax, word [rbp + r13*2 + 4]
inc r13
cmp ax, 0x5c
je 0x4912c0
inc r13
cmp ax, 0x22
jne 0x49133e
mov rbp, r13
shr rbp, 1
mov rax, qword [rsp + 0x30]
sub rax, r8
cmp rax, rbp
jae 0x491384
mov rcx, r15
mov rdx, r8
mov r8, rbp
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov r8, qword [rsp + 0x38]
jmp 0x49138e
cmp r8, qword [rsp + 0x30]
jne 0x491327
mov rcx, r15
mov rdx, r8
call dbg.reserve_for_push<u16, alloc::alloc::Global>
mov r8, qword [rsp + 0x38]
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], r13w
inc r8
mov qword [rsp + 0x38], r8
jmp 0x4911e0
mov rax, qword [rsp + 0x30]
sub rax, r8
cmp rax, r13
jae 0x4913a1
mov rcx, r15
mov rdx, r8
mov r8, r13
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov r12, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
jmp 0x4913a6
movzx r13d, word [rdi]
cmp r13d, 0x22
je 0x4914a8
test r13d, r13d
je 0x491587
xor r14d, r14d
jmp 0x4911e4
cmp r13, 2
jb 0x49145f
mov r12, qword [rsp + 0x28]
cmp r13, 0x20
jae 0x491409
mov rax, rbp
jmp 0x491450
test r13, r13
je 0x4913ff
cmp r13, 0x10
jae 0x4913b1
mov rax, r13
jmp 0x4913f0
mov rcx, r13
and rcx, 0xfffffffffffffff0
mov eax, r13d
and eax, 0xf
lea rdx, [r12 + r8*2]
add rdx, 0x10
add r8, rcx
xor r9d, r9d
nop dword [rax]
movups xmmword [rdx + r9*2 - 0x10], xmm6
movups xmmword [rdx + r9*2], xmm6
add r9, 0x10
cmp rcx, r9
jne 0x4913d0
cmp r13, rcx
je 0x4913ff
nop dword [rax]
mov word [r12 + r8*2], 0x5c
inc r8
dec rax
jne 0x4913f0
mov qword [rsp + 0x38], r8
jmp 0x4911e0
mov rcx, rbp
and rcx, 0xfffffffffffffff0
mov eax, ebp
and eax, 0xf
lea rdx, [r12 + r8*2]
add rdx, 0x10
add r8, rcx
xor r9d, r9d
nop word cs:[rax + rax]
movups xmmword [rdx + r9*2 - 0x10], xmm6
movups xmmword [rdx + r9*2], xmm6
add r9, 0x10
cmp rcx, r9
jne 0x491430
cmp rbp, rcx
je 0x49145f
nop dword [rax]
mov word [r12 + r8*2], 0x5c
inc r8
dec rax
jne 0x491450
mov qword [rsp + 0x38], r8
test r13b, 1
je 0x4911e0
xor r12d, r12d
cmp word [rdi], 0
setne bpl
cmp r8, qword [rsp + 0x30]
jne 0x491490
mov rcx, r15
mov rdx, r8
call dbg.reserve_for_push<u16, alloc::alloc::Global>
mov r8, qword [rsp + 0x38]
mov r12b, bpl
lea rdi, [rdi + r12*2]
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], 0x22
jmp 0x491331
cmp r8, qword [rsp + 0x30]
jne 0x4914bf
mov rcx, r15
mov rdx, r8
call dbg.reserve_for_push<u16, alloc::alloc::Global>
mov r8, qword [rsp + 0x38]
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], 0x22
inc r8
mov qword [rsp + 0x38], r8
lea rax, [rbp + 4]
cmp word [rbp + 2], 0
cmovne rdi, rax
jmp 0x4911e0
lea rcx, [rsp + 0x60]
call dbg.current_exe
movzx eax, byte [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp al, 2
jne 0x491524
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0x60]
call dbg.drop_in_place<std::io::error::Error>
jmp 0x491547
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x79]
mov dword [rsp + 0x41], edx
mov edx, dword [rsp + 0x7c]
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x48]
xor edx, edx
call dbg.reserve_for_push<std::ffi::os_str::OsString, alloc::alloc::Global>
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov rax, rbx
shl rax, 5
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
inc rbx
mov r14, qword [rsp + 0x50]
jmp 0x4915e9
xor r8d, r8d
xor r14d, r14d
test r8, r8
jne 0x49161e
and r14b, 1
jne 0x49161e
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x4915c6
mov rcx, qword [rsp + 0x28]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x4915e9
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x98]
call sym.__rust_dealloc
shl rbx, 5
add rbx, rdi
mov qword [rsi], rdi
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rbx
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsp + 0x28]
lea rcx, [rsp + 0x60]
mov rdx, r12
call dbg.from_wide
mov rbx, qword [rsp + 0x58]
cmp rbx, qword [rsp + 0x50]
jne 0x49164e
lea rcx, [rsp + 0x48]
mov rdx, rbx
call dbg.reserve_for_push<std::ffi::os_str::OsString, alloc::alloc::Global>
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
mov rax, rbx
shl rax, 5
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
inc rbx
mov r14, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x4915b3
jmp 0x4915c6