Function at 0x140222940
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x30], xmm6
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov qword [rbp - 8], 8
pxor xmm0, xmm0
movdqu xmmword [rbp], xmm0
test rax, rax
je 0x140222de5
mov rdi, rax
movzx r14d, word [rax]
test r14w, r14w
je 0x140222de5
mov qword [rbp - 0x40], 2
movdqu xmmword [rbp - 0x38], xmm0
mov eax, 2
xor r8d, r8d
lea rbx, [rbp - 0x40]
xor r15d, r15d
test r14w, r14w
jne 0x1402229e6
jmp 0x140222a54
mov word [rax + r8*2], r14w
inc r8
mov qword [rbp - 0x30], r8
movzx r14d, word [rdi]
test r14w, r14w
je 0x140222a54
add rdi, 2
cmp r14w, 9
je 0x140222a20
movzx ecx, r14w
cmp ecx, 0x20
je 0x140222a20
cmp ecx, 0x22
jne 0x140222a26
not r15b
and r15b, 1
movzx r14d, word [rdi]
test r14w, r14w
jne 0x1402229e6
jmp 0x140222a54
test r15b, 1
je 0x140222a54
cmp r8, qword [rbp - 0x38]
jne 0x1402229d0
mov rcx, rbx
mov rdx, r8
call fcn.14021f5e0
mov rax, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
jmp 0x1402229d0
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140222a50
cmp eax, 9
je 0x140222a50
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x50], rdx
call fcn.1402257b0
lea rcx, [rbp - 8]
xor edx, edx
call fcn.14021f520
mov rax, qword [rbp - 8]
mov rcx, qword [rbp + 8]
mov rdx, rcx
shl rdx, 5
movdqu xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rax + rdx + 0x10], xmm1
movdqu xmmword [rax + rdx], xmm0
inc rcx
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov r13d, 2
xor r8d, r8d
lea r12, [rbp + 0x10]
movaps xmm6, xmmword [0x1406feb40]
xor eax, eax
jmp 0x140222ae4
mov r13, qword [rbp + 0x10]
mov word [r13 + r8*2], r15w
inc r8
mov qword [rbp + 0x20], r8
mov eax, r14d
mov r14d, eax
movzx r15d, word [rdi]
test r15d, r15d
je 0x140222e1d
mov rbx, rdi
add rdi, 2
cmp r15d, 0x21
jg 0x140222ba0
cmp r15d, 9
je 0x140222b15
cmp r15d, 0x20
jne 0x140222c10
test r14b, r14b
jne 0x140222c10
mov r13, qword [rbp + 0x10]
lea rcx, [rbp - 0x28]
mov rdx, r13
call fcn.1402257b0
mov rdx, qword [rbp + 8]
cmp rdx, qword [rbp]
jne 0x140222b45
lea rcx, [rbp - 8]
call fcn.14021f520
mov rdx, qword [rbp + 8]
mov rax, qword [rbp - 8]
mov rcx, rdx
shl rcx, 5
movdqu xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rax + rcx + 0x10], xmm1
movdqu xmmword [rax + rcx], xmm0
inc rdx
mov qword [rbp + 8], rdx
mov qword [rbp + 0x20], 0
jmp 0x140222b84
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140222b80
cmp eax, 9
je 0x140222b80
xor r8d, r8d
mov eax, r14d
jmp 0x140222ae4
cmp r15d, 0x22
je 0x140222c2e
cmp r15d, 0x5c
jne 0x140222c10
movzx eax, word [rdi]
xor r15d, r15d
cmp ax, 0x5c
jne 0x140222bd3
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + r15*2 + 4]
inc r15
cmp ax, 0x5c
je 0x140222bc0
inc r15
cmp ax, 0x22
jne 0x140222c54
mov rbx, r15
shr rbx, 1
mov rax, qword [rbp + 0x18]
sub rax, r8
cmp rax, rbx
jae 0x140222c78
mov rcx, r12
mov rdx, r8
mov r8, rbx
call fcn.14026b200
mov r8, qword [rbp + 0x20]
jmp 0x140222c82
cmp r8, qword [rbp + 0x18]
jne 0x140222ad0
mov rcx, r12
mov rdx, r8
call fcn.14021f5e0
mov r8, qword [rbp + 0x20]
jmp 0x140222ad0
mov al, 1
test r14b, r14b
je 0x140222ae4
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x140222da8
xor eax, eax
test ecx, ecx
jne 0x140222ae4
jmp 0x140222eb3
mov rax, qword [rbp + 0x18]
sub rax, r8
cmp rax, r15
jae 0x140222c94
mov rcx, r12
mov rdx, r8
mov r8, r15
call fcn.14026b200
mov r13, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
jmp 0x140222c9d
cmp r15, 2
jb 0x140222d60
mov r13, qword [rbp + 0x10]
cmp r15, 0x20
jae 0x140222d05
mov rax, rbx
jmp 0x140222d50
test r15, r15
je 0x140222add
cmp r15, 0x10
jae 0x140222ca8
mov rax, r15
jmp 0x140222cf0
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov eax, r15d
and eax, 0xf
lea rdx, [r8*2 + 0x10]
add rdx, r13
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 0x140222cd0
cmp r15, rcx
je 0x140222add
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x140222cf0
jmp 0x140222add
mov rcx, rbx
and rcx, 0xfffffffffffffff0
mov eax, ebx
and eax, 0xf
lea rdx, [r8*2 + 0x10]
add rdx, r13
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 0x140222d30
cmp rbx, rcx
je 0x140222d60
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x140222d50
mov qword [rbp + 0x20], r8
mov eax, r14d
test r15b, 1
je 0x140222ae4
xor ebx, ebx
cmp word [rdi], 0
setne r15b
cmp r8, qword [rbp + 0x18]
jne 0x140222d90
mov rcx, r12
mov rdx, r8
call fcn.14021f5e0
mov r8, qword [rbp + 0x20]
mov bl, r15b
lea rdi, [rdi + rbx*2]
mov r13, qword [rbp + 0x10]
mov word [r13 + r8*2], 0x22
jmp 0x140222ada
cmp r8, qword [rbp + 0x18]
jne 0x140222dbd
mov rcx, r12
mov rdx, r8
call fcn.14021f5e0
mov r8, qword [rbp + 0x20]
mov r13, qword [rbp + 0x10]
mov word [r13 + r8*2], 0x22
inc r8
mov qword [rbp + 0x20], r8
cmp word [rbx + 2], 0
lea rax, [rbx + 4]
cmovne rdi, rax
mov eax, r14d
jmp 0x140222ae4
lea rcx, [rbp - 0x28]
call fcn.14022e630
movzx r14d, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x28]
cmp r14b, 2
jne 0x140222e4d
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x28]
call fcn.14021a590
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov ecx, 1
mov r14b, 1
jmp 0x140222e63
test r8, r8
jne 0x140222eb3
test r14b, r14b
jne 0x140222eb3
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp + 8]
mov r14, qword [rbp]
mov rdx, qword [rbp + 0x18]
test rdx, rdx
jne 0x140222f08
jmp 0x140222f1a
movdqu xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, dword [rbp - 0xf]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp - 0xc]
mov dword [rbp + 0x13], eax
mov qword [rbp - 0x58], rcx
lea rcx, [rbp - 8]
xor edx, edx
call fcn.14021f520
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp + 8]
mov rax, rdi
shl rax, 5
mov rcx, qword [rbp - 0x58]
mov qword [rbx + rax], rcx
movdqa xmm0, xmmword [rbp - 0x50]
movdqu xmmword [rbx + rax + 8], xmm0
mov byte [rbx + rax + 0x18], r14b
mov ecx, dword [rbp + 0x10]
mov edx, dword [rbp + 0x13]
mov dword [rbx + rax + 0x1c], edx
mov dword [rbx + rax + 0x19], ecx
inc rdi
mov r14, qword [rbp]
jmp 0x140222f35
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp - 0x28]
call fcn.1402257b0
mov rdi, qword [rbp + 8]
cmp rdi, qword [rbp]
jne 0x140222eda
lea rcx, [rbp - 8]
mov rdx, rdi
call fcn.14021f520
mov rdi, qword [rbp + 8]
mov rbx, qword [rbp - 8]
mov rax, rdi
shl rax, 5
movdqu xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx + rax + 0x10], xmm1
movdqu xmmword [rbx + rax], xmm0
inc rdi
mov r14, qword [rbp]
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x140222f1a
mov rcx, qword [rbp + 0x10]
add rdx, rdx
mov r8d, 2
call fcn.140104c30
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140222f35
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x50]
call fcn.140104c30
shl rdi, 5
add rdi, rbx
mov qword [rsi], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rdi
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x30]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret