Function at 0x514fc0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
call sub.KERNEL32.dll_GetCommandLineW
mov qword [rsp + 0x48], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
test rax, rax
je 0x515485
movzx r14d, word [rax]
test r14w, r14w
je 0x515485
mov qword [rsp + 0x80], 2
movups xmmword [rsp + 0x88], xmm0
add rax, 2
mov ecx, 2
xor r8d, r8d
lea rdi, [rsp + 0x80]
xor ebx, ebx
jmp 0x51505f
mov word [rcx + r8*2], r14w
inc r8
mov qword [rsp + 0x90], r8
movzx r14d, word [rbp]
lea rax, [rbp + 2]
test r14w, r14w
je 0x5150c4
mov rbp, rax
cmp r14w, 9
je 0x515090
movzx eax, r14w
cmp eax, 0x20
je 0x515090
cmp eax, 0x22
jne 0x515095
not bl
and bl, 1
movzx r14d, word [rbp]
lea rax, [rbp + 2]
test r14w, r14w
jne 0x51505f
jmp 0x5150c4
test bl, 1
je 0x5150c4
cmp r8, qword [rsp + 0x88]
jne 0x515040
mov rcx, rdi
mov rdx, r8
call fcn.004fe4a0
mov rcx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
jmp 0x515040
add rbp, 2
movzx eax, word [rbp]
cmp eax, 0x20
je 0x5150c0
cmp eax, 9
je 0x5150c0
mov rdi, qword [rsp + 0x80]
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.00521530
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.004fe620
mov qword [rsp + 0x98], rdi
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
shl rdx, 5
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + rdx + 0x10], xmm1
movups xmmword [rax + rdx], xmm0
inc rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movzx r13d, word [rbp]
test r13w, r13w
je 0x515561
mov r12d, 2
xor r8d, r8d
lea rbx, [rsp + 0x60]
lea r15, [rsp + 0x28]
movaps xmm6, xmmword [0x005c9bc0]
xor r14d, r14d
jmp 0x515193
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], r13w
inc r8
mov qword [rsp + 0x38], r8
movzx r13d, word [rdi]
mov rbp, rdi
test r13w, r13w
je 0x515567
lea rdi, [rbp + 2]
movzx eax, r13w
cmp eax, 0x21
jg 0x515240
cmp eax, 9
je 0x5151b2
cmp eax, 0x20
jne 0x5152b0
test r14b, 1
jne 0x5152b0
mov r12, qword [rsp + 0x28]
mov rcx, rbx
mov rdx, r12
call fcn.00521530
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x50]
jne 0x5151e7
lea rcx, [rsp + 0x48]
call fcn.004fe620
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
mov rcx, rdx
shl rcx, 5
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x38], 0
jmp 0x515224
add rdi, 2
movzx r13d, word [rdi]
cmp r13d, 0x20
je 0x515220
cmp r13d, 9
je 0x515220
xor r8d, r8d
jmp 0x515186
cmp eax, 0x22
je 0x5152d0
cmp eax, 0x5c
jne 0x5152b0
movzx eax, word [rdi]
xor r13d, r13d
cmp ax, 0x5c
jne 0x515273
nop word [rax + rax]
add rdi, 2
movzx eax, word [rbp + r13*2 + 4]
inc r13
cmp ax, 0x5c
je 0x515260
inc r13
cmp ax, 0x22
jne 0x5152de
mov rbp, r13
shr rbp, 1
mov rax, qword [rsp + 0x30]
sub rax, r8
cmp rax, rbp
jae 0x515324
mov rcx, r15
mov rdx, r8
mov r8, rbp
call fcn.004feae0
mov r8, qword [rsp + 0x38]
jmp 0x51532e
cmp r8, qword [rsp + 0x30]
jne 0x515170
mov rcx, r15
mov rdx, r8
call fcn.004fe4a0
mov r8, qword [rsp + 0x38]
jmp 0x515170
test r14b, 1
jne 0x515305
mov r14b, 1
jmp 0x515182
mov rax, qword [rsp + 0x30]
sub rax, r8
cmp rax, r13
jae 0x515341
mov rcx, r15
mov rdx, r8
mov r8, r13
call fcn.004feae0
mov r12, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
jmp 0x51534a
movzx r13d, word [rdi]
cmp r13d, 0x22
je 0x515448
test r13d, r13d
je 0x515567
xor r14d, r14d
jmp 0x515186
cmp r13, 2
jb 0x5153ff
mov r12, qword [rsp + 0x28]
cmp r13, 0x20
jae 0x5153a4
mov rax, rbp
jmp 0x5153f0
test r13, r13
je 0x51517d
cmp r13, 0x10
jae 0x515355
mov rax, r13
jmp 0x515390
mov rcx, r13
and rcx, 0xfffffffffffffff0
mov eax, r13d
and eax, 0xf
lea rdx, [r12 + r8*2]
add rdx, 0x10
add r8, rcx
xor r9d, r9d
movups xmmword [rdx + r9*2 - 0x10], xmm6
movups xmmword [rdx + r9*2], xmm6
add r9, 0x10
cmp rcx, r9
jne 0x515370
cmp r13, rcx
je 0x51517d
nop dword [rax]
mov word [r12 + r8*2], 0x5c
inc r8
dec rax
jne 0x515390
jmp 0x51517d
mov rcx, rbp
movabs rax, 0x7ffffffffffffff0
and rcx, rax
mov eax, ebp
and eax, 0xf
lea rdx, [r12 + r8*2]
add rdx, 0x10
add r8, rcx
xor r9d, r9d
nop word [rax + rax]
movups xmmword [rdx + r9*2 - 0x10], xmm6
movups xmmword [rdx + r9*2], xmm6
add r9, 0x10
cmp rcx, r9
jne 0x5153d0
cmp rbp, rcx
je 0x5153ff
nop dword [rax]
mov word [r12 + r8*2], 0x5c
inc r8
dec rax
jne 0x5153f0
mov qword [rsp + 0x38], r8
test r13b, 1
je 0x515182
xor r12d, r12d
cmp word [rdi], 0
setne bpl
cmp r8, qword [rsp + 0x30]
jne 0x515430
mov rcx, r15
mov rdx, r8
call fcn.004fe4a0
mov r8, qword [rsp + 0x38]
mov r12b, bpl
lea rdi, [rdi + r12*2]
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], 0x22
jmp 0x51517a
cmp r8, qword [rsp + 0x30]
jne 0x51545f
mov rcx, r15
mov rdx, r8
call fcn.004fe4a0
mov r8, qword [rsp + 0x38]
mov r12, qword [rsp + 0x28]
mov word [r12 + r8*2], 0x22
inc r8
mov qword [rsp + 0x38], r8
lea rax, [rbp + 4]
cmp word [rbp + 2], 0
cmovne rdi, rax
jmp 0x515182
lea rcx, [rsp + 0x60]
call fcn.00536230
movzx ecx, byte [rsp + 0x78]
mov rax, qword [rsp + 0x60]
cmp cl, 2
jne 0x515504
mov qword [rsp + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], 1
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x515527
test rcx, rcx
je 0x515527
lea rdi, [rax - 1]
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rcx, rbx
call qword [r14]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x5154ef
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.0044f660
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.0044f660
jmp 0x515527
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x79]
mov dword [rsp + 0x41], edx
mov edx, dword [rsp + 0x7c]
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x40], cl
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.004fe620
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov rax, rbx
shl rax, 5
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
inc rbx
mov r14, qword [rsp + 0x50]
jmp 0x5155c9
xor r8d, r8d
xor r14d, r14d
test r8, r8
jne 0x5155fe
and r14b, 1
jne 0x5155fe
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x5155a6
mov rcx, qword [rsp + 0x28]
add rdx, rdx
mov r8d, 2
call fcn.0044f660
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x5155c9
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x98]
call fcn.0044f660
shl rbx, 5
add rbx, rdi
mov qword [rsi], rdi
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rbx
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsp + 0x28]
lea rcx, [rsp + 0x60]
mov rdx, r12
call fcn.00521530
mov rbx, qword [rsp + 0x58]
cmp rbx, qword [rsp + 0x50]
jne 0x51562e
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.004fe620
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
mov rax, rbx
shl rax, 5
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
inc rbx
mov r14, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x515593
jmp 0x5155a6