Function at 0x140012140
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 - 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
test rax, rax
je 0x1400125d5
mov rdi, rax
movzx r14d, word [rax]
test r14w, r14w
je 0x1400125d5
mov qword [rbp - 0x50], 2
movups xmmword [rbp - 0x48], xmm0
mov eax, 2
xor r8d, r8d
lea rbx, [rbp - 0x50]
xor r15d, r15d
test r14w, r14w
jne 0x1400121d6
jmp 0x140012244
mov word [rax + r8*2], r14w
inc r8
mov qword [rbp - 0x40], r8
movzx r14d, word [rdi]
test r14w, r14w
je 0x140012244
add rdi, 2
cmp r14w, 9
je 0x140012210
movzx ecx, r14w
cmp ecx, 0x20
je 0x140012210
cmp ecx, 0x22
jne 0x140012216
not r15b
and r15b, 1
movzx r14d, word [rdi]
test r14w, r14w
jne 0x1400121d6
jmp 0x140012244
test r15b, 1
je 0x140012244
cmp r8, qword [rbp - 0x48]
jne 0x1400121c0
mov rcx, rbx
mov rdx, r8
call fcn.140010fc0
mov rax, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
jmp 0x1400121c0
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140012240
cmp eax, 9
je 0x140012240
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x18], rdx
call fcn.140015810
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140010d30
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp]
mov rdx, rcx
shl rdx, 5
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rax + rdx + 0x10], xmm1
movups xmmword [rax + rdx], xmm0
inc rcx
mov qword [rbp], rcx
mov qword [rbp + 8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov r13d, 2
xor r8d, r8d
lea r12, [rbp + 8]
movaps xmm6, xmmword [0x14002e6a0]
xor eax, eax
jmp 0x1400122d8
mov r8, qword [rbp + 0x18]
mov r13, qword [rbp + 8]
mov word [r13 + r8*2], r15w
inc r8
mov qword [rbp + 0x18], r8
mov eax, r14d
mov r14d, eax
movzx r15d, word [rdi]
test r15d, r15d
je 0x140012668
mov rbx, rdi
add rdi, 2
cmp r15d, 0x21
jg 0x140012390
cmp r15d, 9
je 0x140012309
cmp r15d, 0x20
jne 0x140012400
test r14b, r14b
jne 0x140012400
mov r13, qword [rbp + 8]
lea rcx, [rbp - 0x38]
mov rdx, r13
call fcn.140015810
mov rdx, qword [rbp]
cmp rdx, qword [rbp - 8]
jne 0x140012339
lea rcx, [rbp - 0x10]
call fcn.140010d30
mov rdx, qword [rbp]
mov rax, qword [rbp - 0x10]
mov rcx, rdx
shl rcx, 5
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rbp], rdx
mov qword [rbp + 0x18], 0
jmp 0x140012374
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140012370
cmp eax, 9
je 0x140012370
xor r8d, r8d
mov eax, r14d
jmp 0x1400122d8
cmp r15d, 0x22
je 0x14001241a
cmp r15d, 0x5c
jne 0x140012400
movzx eax, word [rdi]
xor r15d, r15d
cmp ax, 0x5c
jne 0x1400123c3
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + r15*2 + 4]
inc r15
cmp ax, 0x5c
je 0x1400123b0
inc r15
cmp ax, 0x22
jne 0x140012440
mov rbx, r15
shr rbx, 1
mov rax, qword [rbp + 0x10]
sub rax, r8
cmp rax, rbx
jae 0x140012464
mov rcx, r12
mov rdx, r8
mov r8, rbx
call fcn.14002bcb0
mov r8, qword [rbp + 0x18]
jmp 0x14001246e
cmp r8, qword [rbp + 0x10]
jne 0x1400122c4
mov rcx, r12
mov rdx, r8
call fcn.140010fc0
jmp 0x1400122c0
mov al, 1
test r14b, r14b
je 0x1400122d8
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x140012598
xor eax, eax
test ecx, ecx
jne 0x1400122d8
jmp 0x1400126e2
mov rax, qword [rbp + 0x10]
sub rax, r8
cmp rax, r15
jae 0x140012480
mov rcx, r12
mov rdx, r8
mov r8, r15
call fcn.14002bcb0
mov r13, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
jmp 0x140012489
cmp r15, 2
jb 0x140012550
mov r13, qword [rbp + 8]
cmp r15, 0x20
jae 0x1400124f5
mov rax, rbx
jmp 0x140012540
test r15, r15
je 0x1400122d1
cmp r15, 0x10
jae 0x140012494
mov rax, r15
jmp 0x1400124e0
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 0x1400124c0
cmp r15, rcx
je 0x1400122d1
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x1400124e0
jmp 0x1400122d1
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 0x140012520
cmp rbx, rcx
je 0x140012550
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x140012540
mov qword [rbp + 0x18], r8
mov eax, r14d
test r15b, 1
je 0x1400122d8
xor ebx, ebx
cmp word [rdi], 0
setne r15b
cmp r8, qword [rbp + 0x10]
jne 0x140012580
mov rcx, r12
mov rdx, r8
call fcn.140010fc0
mov r8, qword [rbp + 0x18]
mov bl, r15b
lea rdi, [rdi + rbx*2]
mov r13, qword [rbp + 8]
mov word [r13 + r8*2], 0x22
jmp 0x1400122ce
cmp r8, qword [rbp + 0x10]
jne 0x1400125ad
mov rcx, r12
mov rdx, r8
call fcn.140010fc0
mov r8, qword [rbp + 0x18]
mov r13, qword [rbp + 8]
mov word [r13 + r8*2], 0x22
inc r8
mov qword [rbp + 0x18], r8
cmp word [rbx + 2], 0
lea rax, [rbx + 4]
cmovne rdi, rax
mov eax, r14d
jmp 0x1400122d8
lea rcx, [rbp - 0x38]
call fcn.14001b540
movzx ecx, byte [rbp - 0x20]
mov rax, qword [rbp - 0x38]
cmp cl, 2
jne 0x140012690
mov qword [rbp + 8], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], 1
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x1400126ab
test rcx, rcx
je 0x1400126ab
lea rcx, [rax - 1]
mov qword [rbp - 0x18], rcx
mov rcx, qword [rax - 1]
mov rax, qword [rax + 7]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rax
call qword [rax]
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140012652
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
call fcn.140005a40
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.140005a40
jmp 0x1400126ab
test r8, r8
jne 0x1400126e2
test r14b, r14b
jne 0x1400126e2
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp]
mov r14, qword [rbp - 8]
mov rdx, qword [rbp + 0x10]
test rdx, rdx
jne 0x140012735
jmp 0x140012747
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x10], xmm0
mov edx, dword [rbp - 0x1f]
mov dword [rbp + 0x21], edx
mov edx, dword [rbp - 0x1c]
mov dword [rbp + 0x24], edx
mov qword [rbp + 8], rax
mov byte [rbp + 0x20], cl
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140010d30
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp]
mov rax, rdi
shl rax, 5
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rbx + rax + 0x10], xmm1
movups xmmword [rbx + rax], xmm0
inc rdi
mov r14, qword [rbp - 8]
jmp 0x140012762
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.140015810
mov rdi, qword [rbp]
cmp rdi, qword [rbp - 8]
jne 0x140012709
lea rcx, [rbp - 0x10]
mov rdx, rdi
call fcn.140010d30
mov rdi, qword [rbp]
mov rbx, qword [rbp - 0x10]
mov rax, rdi
shl rax, 5
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rbx + rax + 0x10], xmm1
movups xmmword [rbx + rax], xmm0
inc rdi
mov r14, qword [rbp - 8]
mov rdx, qword [rbp + 0x10]
test rdx, rdx
je 0x140012747
mov rcx, qword [rbp + 8]
add rdx, rdx
mov r8d, 2
call fcn.140005a40
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x140012762
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.140005a40
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