Function at 0x1801c5b40
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x50], 0
test rax, rax
je 0x1801c5c4b
mov r14, rax
cmp word [rax], 0
je 0x1801c5c4b
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x68], 0
movzx ebp, word [r14]
test bp, bp
je 0x1801c5d4d
add r14, 2
xor edi, edi
lea rbx, [rsp + 0x58]
mov rax, r14
xor r15d, r15d
jmp 0x1801c5bf2
mov rax, qword [rsp + 0x60]
mov word [rax + rdi*2], bp
inc rdi
mov qword [rsp + 0x68], rdi
movzx ebp, word [r14]
lea rax, [r14 + 2]
test bp, bp
je 0x1801c5d64
mov r14, rax
cmp bp, 9
je 0x1801c5c30
movzx eax, bp
cmp eax, 0x20
je 0x1801c5c30
cmp eax, 0x22
jne 0x1801c5c3a
not r15b
and r15b, 1
movzx ebp, word [r14]
lea rax, [r14 + 2]
test bp, bp
jne 0x1801c5bf2
jmp 0x1801c5d64
test r15b, 1
je 0x1801c5d64
cmp rdi, qword [rsp + 0x58]
jne 0x1801c5bd0
mov rcx, rbx
call fcn.18003d4c0
jmp 0x1801c5bd0
lea rcx, [rsp + 0x70]
call fcn.1801adc80
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movabs rax, 0x7ffffffffffffff0
add rax, 0x10
cmp r15, rax
jne 0x1801c5cd8
mov eax, edi
and eax, 3
mov r14d, 1
mov bpl, 1
xor ebx, ebx
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1801c5cd3
test rax, rax
je 0x1801c5cd3
mov rbx, qword [rdi - 1]
mov r15, qword [rdi + 7]
mov rax, qword [r15]
test rax, rax
je 0x1801c5ca6
mov rcx, rbx
call rax
dec rdi
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x1801c5cbe
mov r8, qword [r15 + 0x10]
mov rcx, rbx
call fcn.180057680
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.180057680
xor ebx, ebx
xor r15d, r15d
jmp 0x1801c5d07
mov rbx, qword [rsp + 0x80]
movzx ebp, byte [rsp + 0x88]
mov eax, dword [rsp + 0x89]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x93], eax
mov r14, rdi
lea rcx, [rsp + 0x40]
call fcn.18003d3f0
mov rax, qword [rsp + 0x48]
mov qword [rax], r15
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbx
mov byte [rax + 0x18], bpl
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x93]
mov dword [rax + 0x19], ecx
mov dword [rax + 0x1c], edx
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov edi, 1
jmp 0x1801c6220
xor edi, edi
jmp 0x1801c5d64
add r14, 2
movzx eax, word [r14]
cmp eax, 0x20
je 0x1801c5d60
cmp eax, 9
je 0x1801c5d60
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xb0]
mov r8, rdi
call fcn.1801b91f0
mov rdi, qword [rsp + 0x50]
cmp rdi, qword [rsp + 0x40]
jne 0x1801c5d9d
lea rcx, [rsp + 0x40]
call fcn.18003d3f0
mov rax, qword [rsp + 0x48]
mov rcx, rdi
shl rcx, 5
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x38], 0
movzx r13d, word [r14]
xor r15d, r15d
test r13w, r13w
je 0x1801c6167
lea rdi, [rsp + 0x90]
lea rbx, [rsp + 0x28]
movaps xmm6, xmmword [0x180206290]
xor ebp, ebp
jmp 0x1801c5e34
mov rax, qword [rsp + 0x30]
mov word [rax + r15*2], r13w
inc r15
mov qword [rsp + 0x38], r15
movzx r13d, word [r12]
mov r14, r12
test r13w, r13w
je 0x1801c6169
lea r12, [r14 + 2]
movzx eax, r13w
cmp eax, 0x21
jg 0x1801c5ee0
cmp eax, 9
je 0x1801c5e53
cmp eax, 0x20
jne 0x1801c5f60
test bpl, 1
jne 0x1801c5f60
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
mov r8, r15
call fcn.1801b91f0
mov r14, qword [rsp + 0x50]
cmp r14, qword [rsp + 0x40]
jne 0x1801c5e83
lea rcx, [rsp + 0x40]
call fcn.18003d3f0
mov rax, qword [rsp + 0x48]
mov rcx, r14
shl rcx, 5
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x38], 0
jmp 0x1801c5ec4
add r12, 2
movzx r13d, word [r12]
cmp r13d, 0x20
je 0x1801c5ec0
cmp r13d, 9
je 0x1801c5ec0
xor r15d, r15d
jmp 0x1801c5e27
cmp eax, 0x22
je 0x1801c5f80
cmp eax, 0x5c
jne 0x1801c5f60
movzx eax, word [r12]
xor r13d, r13d
cmp ax, 0x5c
jne 0x1801c5f13
nop dword [rax]
add r12, 2
movzx eax, word [r14 + r13*2 + 4]
inc r13
cmp ax, 0x5c
je 0x1801c5f00
inc r13
cmp ax, 0x22
jne 0x1801c5f8e
mov r14, r13
shr r14, 1
mov rax, qword [rsp + 0x28]
sub rax, r15
cmp rax, r14
jb 0x1801c6010
cmp r13, 2
jb 0x1801c6092
mov rax, qword [rsp + 0x30]
cmp r13, 0x20
jae 0x1801c6041
mov rcx, r14
jmp 0x1801c6079
cmp r15, qword [rsp + 0x28]
jne 0x1801c5e10
mov rcx, rbx
call fcn.18003d4c0
jmp 0x1801c5e10
test bpl, 1
jne 0x1801c5fbf
mov bpl, 1
jmp 0x1801c5e22
mov rax, qword [rsp + 0x28]
sub rax, r15
cmp rax, r13
jb 0x1801c60d5
test r13, r13
je 0x1801c5e1d
mov rax, qword [rsp + 0x30]
cmp r13, 0x10
jae 0x1801c6106
mov rcx, r13
jmp 0x1801c614d
movzx r13d, word [r12]
cmp r13d, 0x22
je 0x1801c5fda
test r13d, r13d
je 0x1801c618f
xor ebp, ebp
jmp 0x1801c5e27
cmp r15, qword [rsp + 0x28]
jne 0x1801c5fe9
mov rcx, rbx
call fcn.18003d4c0
mov rax, qword [rsp + 0x30]
mov word [rax + r15*2], 0x22
inc r15
mov qword [rsp + 0x38], r15
lea rax, [r14 + 4]
cmp word [r14 + 2], 0
cmovne r12, rax
jmp 0x1801c5e22
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.1801f1b30
mov r15, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
cmp r13, 0x20
jb 0x1801c5f4c
mov rdx, r14
and rdx, 0xfffffffffffffff0
mov ecx, r14d
and ecx, 0xf
lea r8, [rax + r15*2]
add r8, 0x10
add r15, rdx
xor r9d, r9d
nop dword [rax]
movups xmmword [r8 + r9*2 - 0x10], xmm6
movups xmmword [r8 + r9*2], xmm6
add r9, 0x10
cmp rdx, r9
jne 0x1801c6060
cmp r14, rdx
je 0x1801c6092
mov rdx, r15
nop dword [rax]
lea r15, [rdx + 1]
mov word [rax + rdx*2], 0x5c
mov rdx, r15
dec rcx
jne 0x1801c6080
mov qword [rsp + 0x38], r15
test r13b, 1
je 0x1801c5e22
xor r14d, r14d
cmp word [r12], 0
setne r13b
cmp r15, qword [rsp + 0x28]
jne 0x1801c60bd
mov rcx, rbx
call fcn.18003d4c0
mov r14b, r13b
lea r12, [r12 + r14*2]
mov rax, qword [rsp + 0x30]
mov word [rax + r15*2], 0x22
jmp 0x1801c5e1a
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, rbx
mov rdx, r15
mov r8, r13
call fcn.1801f1b30
mov r15, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
cmp r13, 0x10
jb 0x1801c5fb7
mov rdx, r13
and rdx, 0xfffffffffffffff0
mov ecx, r13d
and ecx, 0xf
lea r8, [rax + r15*2]
add r8, 0x10
add r15, rdx
xor r9d, r9d
nop word cs:[rax + rax]
movups xmmword [r8 + r9*2 - 0x10], xmm6
movups xmmword [r8 + r9*2], xmm6
add r9, 0x10
cmp rdx, r9
jne 0x1801c6130
cmp r13, rdx
je 0x1801c5e1d
mov rdx, r15
lea r15, [rdx + 1]
mov word [rax + rdx*2], 0x5c
mov rdx, r15
dec rcx
jne 0x1801c6150
jmp 0x1801c5e1d
xor ebp, ebp
test r15, r15
jne 0x1801c618f
and bpl, 1
jne 0x1801c618f
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
jne 0x1801c61f0
jmp 0x1801c6203
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x70]
mov r8, r15
call fcn.1801b91f0
mov rdi, qword [rsp + 0x50]
cmp rdi, qword [rsp + 0x40]
jne 0x1801c61b7
lea rcx, [rsp + 0x40]
call fcn.18003d3f0
mov rbx, qword [rsp + 0x48]
mov rax, rdi
shl rax, 5
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movups xmmword [rbx + rax + 0x10], xmm1
movups xmmword [rbx + rax], xmm0
inc rdi
mov qword [rsp + 0x50], rdi
mov r14, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1801c6203
mov rcx, qword [rsp + 0x30]
add rdx, rdx
mov r8d, 2
call fcn.180057680
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1801c6220
mov rcx, qword [rsp + 0x60]
add rdx, rdx
mov r8d, 2
call fcn.180057680
shl rdi, 5
add rdi, rbx
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret