Function at 0x1801f85e0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x40], xmm6
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov r12, rcx
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov qword [rbp], 0
mov qword [rbp + 8], 8
mov qword [rbp + 0x10], 0
test rax, rax
je 0x1801f8a4f
mov rdi, rax
movzx esi, word [rax]
test si, si
je 0x1801f8a4f
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x38], 0
mov eax, 2
xor r14d, r14d
lea rbx, [rbp - 0x48]
xor r15d, r15d
test si, si
jne 0x1801f8688
jmp 0x1801f86d4
mov rax, qword [rbp - 0x40]
mov word [rax + r14*2], si
inc r14
mov qword [rbp - 0x38], r14
movzx esi, word [rdi]
test si, si
je 0x1801f86d4
add rdi, 2
cmp si, 9
je 0x1801f86b0
movzx ecx, si
cmp ecx, 0x20
je 0x1801f86b0
cmp ecx, 0x22
jne 0x1801f86b6
xor r15b, 1
movzx esi, word [rdi]
test si, si
jne 0x1801f8688
jmp 0x1801f86d4
test r15b, 1
je 0x1801f86d4
cmp r14, qword [rbp - 0x48]
jne 0x1801f8674
mov rcx, rbx
call fcn.1801f72a0
jmp 0x1801f8670
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x1801f86d0
cmp eax, 9
je 0x1801f86d0
mov rsi, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
mov rdx, rsi
mov r8, r14
call fcn.1801fbd00
mov qword [rbp - 8], rsi
mov qword [rbp + 0x30], r12
mov rcx, rbp
call fcn.1801f7360
mov rax, qword [rbp + 8]
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rbp + 0x10], 1
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 2
mov qword [rbp + 0x28], 0
mov r15d, 2
xor r13d, r13d
movaps xmm6, xmmword [0x1802c5540]
xor eax, eax
jmp 0x1801f8763
mov r15, qword [rbp + 0x20]
mov word [r15 + r13*2], si
inc r13
mov qword [rbp + 0x28], r13
mov eax, r12d
mov r12d, eax
movzx esi, word [rdi]
test esi, esi
je 0x1801f8ade
mov rbx, rdi
add rdi, 2
cmp esi, 0x21
jg 0x1801f8810
cmp esi, 9
je 0x1801f878f
cmp esi, 0x20
jne 0x1801f8890
test r12b, 1
jne 0x1801f8890
mov r15, qword [rbp + 0x20]
lea rcx, [rbp - 0x28]
mov rdx, r15
mov r8, r13
call fcn.1801fbd00
mov rsi, qword [rbp + 0x10]
cmp rsi, qword [rbp]
jne 0x1801f87be
mov rcx, rbp
call fcn.1801f7360
mov rax, qword [rbp + 8]
mov rcx, rsi
shl rcx, 5
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x28], 0
jmp 0x1801f87f4
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x1801f87f0
cmp eax, 9
je 0x1801f87f0
xor r13d, r13d
mov eax, r12d
jmp 0x1801f8763
cmp esi, 0x22
je 0x1801f88a8
cmp esi, 0x5c
jne 0x1801f8890
movzx eax, word [rdi]
xor esi, esi
cmp ax, 0x5c
jne 0x1801f8842
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + rsi*2 + 4]
inc rsi
cmp ax, 0x5c
je 0x1801f8830
lea r14, [rsi + 1]
cmp ax, 0x22
jne 0x1801f88cb
mov rbx, r14
shr rbx, 1
mov rax, qword [rbp + 0x18]
sub rax, r13
cmp rax, rbx
jae 0x1801f88ff
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x18]
mov rdx, r13
mov r8, rbx
call fcn.180225800
mov r13, qword [rbp + 0x28]
jmp 0x1801f8909
cmp r13, qword [rbp + 0x18]
jne 0x1801f8750
lea rcx, [rbp + 0x18]
call fcn.1801f72a0
jmp 0x1801f8750
mov al, 1
test r12b, 1
je 0x1801f8763
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x1801f8933
xor eax, eax
test ecx, ecx
jne 0x1801f8763
jmp 0x1801f8ade
mov rax, qword [rbp + 0x18]
sub rax, r13
cmp rax, r14
jae 0x1801f891f
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x18]
mov rdx, r13
mov r8, r14
call fcn.180225800
mov r15, qword [rbp + 0x20]
mov r13, qword [rbp + 0x28]
jmp 0x1801f8928
cmp r14, 2
jb 0x1801f8a0f
mov r15, qword [rbp + 0x20]
cmp r14, 0x20
jae 0x1801f89c4
mov rax, rbx
jmp 0x1801f8a00
test r14, r14
je 0x1801f875c
cmp r14, 0x10
jae 0x1801f8969
mov rax, r14
jmp 0x1801f89b0
cmp r13, qword [rbp + 0x18]
jne 0x1801f8942
lea rcx, [rbp + 0x18]
call fcn.1801f72a0
mov r15, qword [rbp + 0x20]
mov word [r15 + r13*2], 0x22
inc r13
mov qword [rbp + 0x28], r13
cmp word [rbx + 2], 0
lea rax, [rbx + 4]
cmovne rdi, rax
mov eax, r12d
jmp 0x1801f8763
mov rcx, r14
and rcx, 0xfffffffffffffff0
mov eax, r14d
and eax, 0xf
lea rdx, [r15 + r13*2]
add rdx, 0x10
add r13, rcx
xor r8d, r8d
nop word cs:[rax + rax]
movups xmmword [rdx + r8*2 - 0x10], xmm6
movups xmmword [rdx + r8*2], xmm6
add r8, 0x10
cmp rcx, r8
jne 0x1801f8990
cmp r14, rcx
je 0x1801f875c
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x1801f89b0
jmp 0x1801f875c
mov rcx, rbx
and rcx, 0xfffffffffffffff0
mov eax, ebx
and eax, 0xf
lea rdx, [r15 + r13*2]
add rdx, 0x10
add r13, rcx
xor r8d, r8d
nop
movups xmmword [rdx + r8*2 - 0x10], xmm6
movups xmmword [rdx + r8*2], xmm6
add r8, 0x10
cmp rcx, r8
jne 0x1801f89e0
cmp rbx, rcx
je 0x1801f8a0f
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x1801f8a00
mov qword [rbp + 0x28], r13
mov eax, r12d
test sil, 1
jne 0x1801f8763
xor esi, esi
cmp word [rdi], 0
setne bl
cmp r13, qword [rbp + 0x18]
jne 0x1801f8a38
lea rcx, [rbp + 0x18]
call fcn.1801f72a0
mov sil, bl
lea rdi, [rdi + rsi*2]
mov r15, qword [rbp + 0x20]
mov word [r15 + r13*2], 0x22
jmp 0x1801f8759
lea rcx, [rbp - 0x28]
call fcn.180204980
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov rcx, rdx
neg rcx
jno 0x1801f8b6e
mov ecx, eax
and ecx, 3
mov bl, 1
cmp ecx, 1
jne 0x1801f8b8c
lea rcx, [rax - 1]
mov qword [rbp - 0x50], rcx
mov rcx, qword [rax - 1]
mov qword [rbp + 0x30], rcx
mov rax, qword [rax + 7]
mov qword [rbp - 0x30], rax
mov rax, qword [rax]
test rax, rax
je 0x1801f8aa2
mov rcx, qword [rbp + 0x30]
call rax
mov rcx, qword [rbp + 0x30]
mov eax, 1
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1801f8ac5
mov r8, qword [rax + 0x10]
call fcn.180004690
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x50]
call fcn.180004690
jmp 0x1801f8b95
test r13, r13
jne 0x1801f8aed
test r12b, 1
je 0x1801f8c0b
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x28]
mov r8, r13
call fcn.1801fbd00
mov rsi, qword [rbp + 0x10]
cmp rsi, qword [rbp]
mov r12, qword [rbp + 0x30]
jne 0x1801f8b13
mov rcx, rbp
call fcn.1801f7360
mov rdi, qword [rbp + 8]
mov rax, rsi
shl rax, 5
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
inc rsi
mov rbx, qword [rbp]
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x1801f8b51
mov rcx, qword [rbp + 0x20]
add rdx, rdx
mov r8d, 2
call fcn.180004690
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1801f8bd6
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.180004690
jmp 0x1801f8bd6
mov qword [rbp + 0x30], rdx
mov rsi, qword [rbp - 0x18]
movzx ebx, byte [rbp - 0x10]
mov ecx, dword [rbp - 0xf]
mov dword [rbp + 0x18], ecx
mov ecx, dword [rbp - 0xc]
mov dword [rbp + 0x1b], ecx
mov qword [rbp - 8], rax
jmp 0x1801f8b9f
mov eax, 1
mov qword [rbp - 8], rax
xor esi, esi
mov qword [rbp + 0x30], 0
mov rcx, rbp
call fcn.1801f7360
mov rdi, qword [rbp + 8]
mov rax, qword [rbp + 0x30]
mov qword [rdi], rax
mov rax, qword [rbp - 8]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], bl
mov eax, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x1b]
mov dword [rdi + 0x1c], ecx
mov dword [rdi + 0x19], eax
mov rbx, qword [rbp]
mov esi, 1
shl rsi, 5
add rsi, rdi
mov qword [r12], rdi
mov qword [r12 + 8], rdi
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], rsi
mov rax, r12
movaps xmm6, xmmword [rbp + 0x40]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rbp + 8]
mov rsi, qword [rbp + 0x10]
mov r12, qword [rbp + 0x30]
mov rbx, qword [rbp]
mov rdx, qword [rbp + 0x18]
test rdx, rdx
jne 0x1801f8b3f
jmp 0x1801f8b51