Function at 0x140005030
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 0x1400054c5
mov rdi, rax
movzx r14d, word [rax]
test r14w, r14w
je 0x1400054c5
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 0x1400050c6
jmp 0x140005134
mov word [rax + r8*2], r14w
inc r8
mov qword [rbp - 0x40], r8
movzx r14d, word [rdi]
test r14w, r14w
je 0x140005134
add rdi, 2
cmp r14w, 9
je 0x140005100
movzx ecx, r14w
cmp ecx, 0x20
je 0x140005100
cmp ecx, 0x22
jne 0x140005106
not r15b
and r15b, 1
movzx r14d, word [rdi]
test r14w, r14w
jne 0x1400050c6
jmp 0x140005134
test r15b, 1
je 0x140005134
cmp r8, qword [rbp - 0x48]
jne 0x1400050b0
mov rcx, rbx
mov rdx, r8
call fcn.140003ed0
mov rax, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
jmp 0x1400050b0
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140005130
cmp eax, 9
je 0x140005130
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x18], rdx
call fcn.140007070
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140003c40
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 [str._]
xor eax, eax
jmp 0x1400051c8
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 0x140005558
mov rbx, rdi
add rdi, 2
cmp r15d, 0x21
jg 0x140005280
cmp r15d, 9
je 0x1400051f9
cmp r15d, 0x20
jne 0x1400052f0
test r14b, r14b
jne 0x1400052f0
mov r13, qword [rbp + 8]
lea rcx, [rbp - 0x38]
mov rdx, r13
call fcn.140007070
mov rdx, qword [rbp]
cmp rdx, qword [rbp - 8]
jne 0x140005229
lea rcx, [rbp - 0x10]
call fcn.140003c40
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 0x140005264
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140005260
cmp eax, 9
je 0x140005260
xor r8d, r8d
mov eax, r14d
jmp 0x1400051c8
cmp r15d, 0x22
je 0x14000530a
cmp r15d, 0x5c
jne 0x1400052f0
movzx eax, word [rdi]
xor r15d, r15d
cmp ax, 0x5c
jne 0x1400052b3
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + r15*2 + 4]
inc r15
cmp ax, 0x5c
je 0x1400052a0
inc r15
cmp ax, 0x22
jne 0x140005330
mov rbx, r15
shr rbx, 1
mov rax, qword [rbp + 0x10]
sub rax, r8
cmp rax, rbx
jae 0x140005354
mov rcx, r12
mov rdx, r8
mov r8, rbx
call fcn.14001c6f0
mov r8, qword [rbp + 0x18]
jmp 0x14000535e
cmp r8, qword [rbp + 0x10]
jne 0x1400051b4
mov rcx, r12
mov rdx, r8
call fcn.140003ed0
jmp 0x1400051b0
mov al, 1
test r14b, r14b
je 0x1400051c8
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x140005488
xor eax, eax
test ecx, ecx
jne 0x1400051c8
jmp 0x1400055d2
mov rax, qword [rbp + 0x10]
sub rax, r8
cmp rax, r15
jae 0x140005370
mov rcx, r12
mov rdx, r8
mov r8, r15
call fcn.14001c6f0
mov r13, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
jmp 0x140005379
cmp r15, 2
jb 0x140005440
mov r13, qword [rbp + 8]
cmp r15, 0x20
jae 0x1400053e5
mov rax, rbx
jmp 0x140005430
test r15, r15
je 0x1400051c1
cmp r15, 0x10
jae 0x140005384
mov rax, r15
jmp 0x1400053d0
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 0x1400053b0
cmp r15, rcx
je 0x1400051c1
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x1400053d0
jmp 0x1400051c1
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 0x140005410
cmp rbx, rcx
je 0x140005440
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x140005430
mov qword [rbp + 0x18], r8
mov eax, r14d
test r15b, 1
je 0x1400051c8
xor ebx, ebx
cmp word [rdi], 0
setne r15b
cmp r8, qword [rbp + 0x10]
jne 0x140005470
mov rcx, r12
mov rdx, r8
call fcn.140003ed0
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 0x1400051be
cmp r8, qword [rbp + 0x10]
jne 0x14000549d
mov rcx, r12
mov rdx, r8
call fcn.140003ed0
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 0x1400051c8
lea rcx, [rbp - 0x38]
call fcn.14000c7e0
movzx ecx, byte [rbp - 0x20]
mov rax, qword [rbp - 0x38]
cmp cl, 2
jne 0x140005580
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 0x14000559b
test rcx, rcx
je 0x14000559b
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 0x140005542
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
call fcn.140001ee0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.140001ee0
jmp 0x14000559b
test r8, r8
jne 0x1400055d2
test r14b, r14b
jne 0x1400055d2
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp]
mov r14, qword [rbp - 8]
mov rdx, qword [rbp + 0x10]
test rdx, rdx
jne 0x140005625
jmp 0x140005637
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.140003c40
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 0x140005652
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.140007070
mov rdi, qword [rbp]
cmp rdi, qword [rbp - 8]
jne 0x1400055f9
lea rcx, [rbp - 0x10]
mov rdx, rdi
call fcn.140003c40
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 0x140005637
mov rcx, qword [rbp + 8]
add rdx, rdx
mov r8d, 2
call fcn.140001ee0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x140005652
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.140001ee0
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