Function at 0x1400a4210
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b8
movaps xmmword [rsp + 0x4a0], xmm6
mov r14, rcx
call sub.KERNEL32.dll_GetCommandLineW
mov qword [rsp + 0x48], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
test rax, rax
mov qword [rsp + 0x88], r14
je 0x1400a46c1
movzx ebx, word [rax]
test bx, bx
je 0x1400a46c1
mov qword [rsp + 0x60], 2
movups xmmword [rsp + 0x68], xmm0
add rax, 2
mov ecx, 2
xor r8d, r8d
lea rdi, [rsp + 0x60]
xor esi, esi
jmp 0x1400a42aa
mov word [rcx + r8*2], bx
inc r8
mov qword [rsp + 0x70], r8
movzx ebx, word [rbp]
lea rax, [rbp + 2]
test bx, bx
je 0x1400a4314
mov rbp, rax
cmp bx, 9
je 0x1400a42e0
movzx eax, bx
cmp eax, 0x20
je 0x1400a42e0
cmp eax, 0x22
jne 0x1400a42e6
not sil
and sil, 1
movzx ebx, word [rbp]
lea rax, [rbp + 2]
test bx, bx
jne 0x1400a42aa
jmp 0x1400a4314
test sil, 1
je 0x1400a4314
cmp r8, qword [rsp + 0x68]
jne 0x1400a4290
mov rcx, rdi
mov rdx, r8
call fcn.140081a50
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
jmp 0x1400a4290
add rbp, 2
movzx eax, word [rbp]
cmp eax, 0x20
je 0x1400a4310
cmp eax, 9
je 0x1400a4310
mov rdi, qword [rsp + 0x60]
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.1400841f0
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.140093210
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
shl rdx, 5
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
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 0x1400a495a
mov r12d, 2
xor r8d, r8d
lea rbx, [rsp + 0xa0]
lea r15, [rsp + 0x28]
movaps xmm6, xmmword [0x140135ab0]
xor esi, esi
jmp 0x1400a43de
mov r8, qword [rsp + 0x38]
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], r13w
inc r8
mov qword [rsp + 0x38], r8
movzx r13d, word [r14]
mov rbp, r14
test r13w, r13w
je 0x1400a495f
lea r14, [rbp + 2]
movzx eax, r13w
cmp eax, 0x21
jg 0x1400a4490
cmp eax, 9
je 0x1400a43fd
cmp eax, 0x20
jne 0x1400a4500
test sil, 1
jne 0x1400a4500
mov r12, qword [rsp + 0x28]
mov rcx, rbx
mov rdx, r12
call fcn.1400841f0
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x50]
jne 0x1400a4432
lea rcx, [rsp + 0x48]
call fcn.140093210
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
mov rcx, rdx
shl rcx, 5
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x38], 0
jmp 0x1400a4474
add r14, 2
movzx r13d, word [r14]
cmp r13d, 0x20
je 0x1400a4470
cmp r13d, 9
je 0x1400a4470
xor r8d, r8d
jmp 0x1400a43d1
cmp eax, 0x22
je 0x1400a451b
cmp eax, 0x5c
jne 0x1400a4500
movzx eax, word [r14]
xor r13d, r13d
cmp ax, 0x5c
jne 0x1400a44c3
nop dword [rax + rax]
add r14, 2
movzx eax, word [rbp + r13*2 + 4]
inc r13
cmp ax, 0x5c
je 0x1400a44b0
inc r13
cmp ax, 0x22
jne 0x1400a4529
mov rbp, r13
shr rbp, 1
mov rax, qword [rsp + 0x30]
sub rax, r8
cmp rax, rbp
jae 0x1400a4575
mov rcx, r15
mov rdx, r8
mov r8, rbp
call fcn.140081b10
mov r8, qword [rsp + 0x38]
jmp 0x1400a457b
cmp r8, qword [rsp + 0x30]
jne 0x1400a43bb
mov rcx, r15
mov rdx, r8
call fcn.140081a50
jmp 0x1400a43b6
test sil, 1
jne 0x1400a4557
mov sil, 1
jmp 0x1400a43cd
mov rax, qword [rsp + 0x30]
sub rax, r8
cmp rax, r13
jae 0x1400a4629
mov rcx, r15
mov rdx, r8
mov r8, r13
call fcn.140081b10
mov r12, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
jmp 0x1400a4632
movzx r13d, word [r14]
cmp r13d, 0x22
je 0x1400a4684
test r13d, r13d
je 0x1400a495f
xor esi, esi
jmp 0x1400a43d1
cmp r13, 2
jb 0x1400a45df
mov r12, qword [rsp + 0x28]
cmp r13, 0x20
jb 0x1400a45d0
mov rax, rbp
movabs rcx, 0x7ffffffffffffff0
and rax, rcx
lea rcx, [r12 + r8*2]
add rcx, 0x10
add r8, rax
xor edx, edx
nop word cs:[rax + rax]
movups xmmword [rcx + rdx*2 - 0x10], xmm6
movups xmmword [rcx + rdx*2], xmm6
add rdx, 0x10
cmp rax, rdx
jne 0x1400a45b0
cmp rbp, rax
je 0x1400a45df
and ebp, 0xf
nop word [rax + rax]
mov word [r12 + r8*2], 0x5c
inc r8
dec rbp
jne 0x1400a45d0
mov qword [rsp + 0x38], r8
test r13b, 1
je 0x1400a43cd
xor r12d, r12d
cmp word [r14], 0
setne bpl
cmp r8, qword [rsp + 0x30]
jne 0x1400a4611
mov rcx, r15
mov rdx, r8
call fcn.140081a50
mov r8, qword [rsp + 0x38]
mov r12b, bpl
lea r14, [r14 + r12*2]
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], 0x22
jmp 0x1400a43c5
test r13, r13
je 0x1400a43c8
cmp r13, 0x10
jb 0x1400a4670
mov rax, r13
and rax, 0xfffffffffffffff0
lea rcx, [r12 + r8*2]
add rcx, 0x10
add r8, rax
xor edx, edx
nop dword [rax]
movups xmmword [rcx + rdx*2 - 0x10], xmm6
movups xmmword [rcx + rdx*2], xmm6
add rdx, 0x10
cmp rax, rdx
jne 0x1400a4650
cmp r13, rax
je 0x1400a43c8
and r13d, 0xf
nop
mov word [r12 + r8*2], 0x5c
inc r8
dec r13
jne 0x1400a4670
jmp 0x1400a43c8
cmp r8, qword [rsp + 0x30]
jne 0x1400a469b
mov rcx, r15
mov rdx, r8
call fcn.140081a50
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 r14, rax
jmp 0x1400a43cd
mov qword [rsp + 0x60], 2
movups xmmword [rsp + 0x68], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x78], rax
xor edi, edi
mov r14d, 0xffffffff
xor ebx, ebx
xor r15d, r15d
cmp r8, 0x201
jb 0x1400a470f
jmp 0x1400a4730
jae 0x1400a47d7
cmp r8, 0x201
jae 0x1400a4730
mov r12d, 0x200
lea r13, [rsp + 0xa0]
mov rbp, r8
jmp 0x1400a4777
sub r8, r15
sub rbx, r15
cmp rbx, r8
jae 0x1400a4757
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140081b10
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x68]
cmp rdi, r14
mov r15d, 0xffffffff
cmovb r15, rdi
mov qword [rsp + 0x70], r15
mov rbx, rdi
mov r12, r15
mov r13, qword [rsp + 0x78]
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov rdx, r13
mov r8d, ebp
call sub.KERNEL32.dll_GetModuleFileNameW
mov esi, eax
test eax, eax
jne 0x1400a479e
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1400a493a
mov r8d, esi
cmp rbp, r8
jne 0x1400a4700
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400a4a5c
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x1400a470f
jmp 0x1400a4730
cmp r12, r8
jb 0x1400a4a76
lea rcx, [rsp + 0x28]
mov rdx, r13
call fcn.1400841f0
mov r14, qword [rsp + 0x28]
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x90], xmm0
movzx ebx, byte [rsp + 0x40]
mov eax, dword [rsp + 0x41]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x83], eax
test rdi, rdi
je 0x1400a4832
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, qword [rsp + 0x78]
call sub.KERNEL32.dll_HeapFree
cmp bl, 2
jne 0x1400a48bf
mov qword [rsp + 0xa0], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
mov byte [rsp + 0xb8], 1
mov eax, r14d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400a48fa
test rax, rax
je 0x1400a48fa
lea rdi, [r14 - 1]
mov rbx, qword [r14 - 1]
mov r14, qword [r14 + 7]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x1400a48ac
cmp qword [r14 + 0x10], 0x11
jb 0x1400a489b
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
jmp 0x1400a48fa
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0xa8], xmm0
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x83]
mov dword [rsp + 0xb9], eax
mov dword [rsp + 0xbc], ecx
mov qword [rsp + 0xa0], r14
mov byte [rsp + 0xb8], bl
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.140093210
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov rax, rbx
shl rax, 5
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
inc rbx
mov r14, qword [rsp + 0x50]
jmp 0x1400a49b1
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov bl, 2
test rdi, rdi
jne 0x1400a481f
jmp 0x1400a4832
xor r8d, r8d
xor esi, esi
test r8, r8
jne 0x1400a49eb
and sil, 1
jne 0x1400a49eb
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
cmp qword [rsp + 0x30], 0
je 0x1400a4998
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x1401d2138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x68], 0
je 0x1400a49b1
mov rcx, qword [0x1401d2138]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
shl rbx, 5
add rbx, rsi
mov rax, qword [rsp + 0x88]
mov qword [rax], rsi
mov qword [rax + 8], r14
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
movaps xmm6, xmmword [rsp + 0x4a0]
add rsp, 0x4b8
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 + 0xa0]
mov rdx, r12
call fcn.1400841f0
mov rbx, qword [rsp + 0x58]
cmp rbx, qword [rsp + 0x50]
jne 0x1400a4a1e
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.140093210
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
mov rax, rbx
shl rax, 5
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
inc rbx
mov r14, qword [rsp + 0x50]
cmp qword [rsp + 0x30], 0
jne 0x1400a4985
jmp 0x1400a4998
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140006a00
jmp 0x1400a4a8b
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.140006660
ud2