Function at 0x1400a49e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x30], xmm7
movdqa xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rcx
cmp r8, 0xe
jne 0x1400a4b81
movabs rax, 0x5f6c616d69636544
xor rax, qword [rdx]
movabs rcx, 0x7265626d754e5f6c
xor rcx, qword [rdx + 6]
or rcx, rax
jne 0x1400a4cc4
mov ecx, 0x200
mov edx, 4
call fcn.140001150
test rax, rax
je 0x1400a50ab
mov ecx, 2
lea rdx, [0x14021c098]
movdqa xmm0, xmmword [0x1401fca70]
nop dword [rax]
movdqu xmm1, xmmword [rdx + rcx*8 - 0x10]
movdqu xmm2, xmmword [rdx + rcx*8]
pshufd xmm3, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm4, xmm3
pxor xmm4, xmm0
movdqa xmm5, xmm1
pxor xmm5, xmm0
movdqa xmm6, xmm5
pcmpgtd xmm6, xmm4
movdqa xmm7, xmm3
pand xmm7, xmm6
pandn xmm6, xmm1
por xmm6, xmm7
pcmpgtd xmm4, xmm5
pand xmm3, xmm4
pandn xmm4, xmm1
por xmm4, xmm3
punpckldq xmm6, xmm4
movdqu xmmword [rax + rcx*8 - 0x10], xmm6
pshufd xmm1, xmm2, 0xe8
pshufd xmm2, xmm2, 0xed
movdqa xmm3, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm2
pxor xmm4, xmm0
movdqa xmm5, xmm4
pcmpgtd xmm5, xmm3
movdqa xmm6, xmm1
pand xmm6, xmm5
pandn xmm5, xmm2
por xmm5, xmm6
pcmpgtd xmm3, xmm4
pand xmm1, xmm3
pandn xmm3, xmm2
por xmm3, xmm1
punpckldq xmm5, xmm3
movdqu xmmword [rax + rcx*8], xmm5
add rcx, 4
cmp rcx, 0x42
jne 0x1400a4a70
mov rcx, rax
add rcx, 0x200
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 8], rax
mov qword [rbp], rcx
mov qword [rbp + 8], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400d6e10
mov rax, qword [rbp - 0x20]
test rax, rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400dd600
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmm1, xmmword [rbp]
movdqu xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x1400a5006
cmp rdi, 3
je 0x1400a4c27
cmp rdi, 8
je 0x1400a4cb1
cmp rdi, 5
jne 0x1400a4cc4
mov eax, 0x49435341
xor eax, dword [rdx]
movzx ecx, byte [rdx + 4]
xor ecx, 0x49
or ecx, eax
jne 0x1400a4cc4
mov ecx, 8
mov edx, 4
call fcn.140001150
test rax, rax
je 0x1400a50b2
movabs rcx, 0x7f00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rbp - 0x10], 1
mov qword [rbp - 8], rax
mov qword [rbp], rcx
mov qword [rbp + 8], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400d6e10
mov rax, qword [rbp - 0x20]
test rax, rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400dd600
jmp 0x1400a4b6b
movzx eax, word [rdx]
xor eax, 0x6e41
movzx ecx, byte [rdx + 2]
xor ecx, 0x79
or cx, ax
jne 0x1400a4cc4
mov ecx, 8
mov edx, 4
call fcn.140001150
test rax, rax
je 0x1400a50b2
movabs rcx, 0x10ffff00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rbp - 0x10], 1
mov qword [rbp - 8], rax
mov qword [rbp], rcx
mov qword [rbp + 8], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400d6e10
mov rax, qword [rbp - 0x20]
test rax, rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400dd600
jmp 0x1400a4b6b
movabs rax, 0x64656e6769737341
cmp qword [rdx], rax
je 0x1400a5022
mov qword [rbp - 0x40], rsi
mov ebx, 0x25
xor esi, esi
xor r13d, r13d
mov eax, 0x25
mov qword [rbp - 0x48], rax
jmp 0x1400a4cec
mov qword [rbp - 0x48], rbx
sub rbx, r13
mov rdx, r14
jbe 0x1400a4d53
shr rbx, 1
add rbx, r13
mov r15, rbx
shl r15, 5
lea rax, [0x140234b98]
mov rcx, qword [r15 + rax]
mov r8, qword [r15 + rax + 8]
mov r12, r8
sub r12, rdi
cmovae r8, rdi
mov r14, rdx
call fcn.1401d8ee0
cdqe
test eax, eax
cmovne r12, rax
xor eax, eax
test r12, r12
setne al
mov ecx, 0xff
cmovs eax, ecx
cmp al, 1
je 0x1400a4ce0
movzx eax, al
cmp eax, 0xff
jne 0x1400a4d5d
inc rbx
mov r13, rbx
mov rbx, qword [rbp - 0x48]
sub rbx, r13
mov rdx, r14
ja 0x1400a4cec
test rsi, rsi
jne 0x1400a4d77
jmp 0x1400a4fd7
lea rax, [0x140234b98]
mov rsi, qword [r15 + rax + 0x10]
mov r15, qword [r15 + rax + 0x18]
test rsi, rsi
je 0x1400a4fd7
test r15, r15
je 0x1400a4dd3
xor edi, edi
mov rax, r15
shr rax, 0x3c
sete al
jne 0x1400a5097
lea rbx, [r15*8]
mov dil, al
shl rdi, 2
mov rcx, rbx
mov rdx, rdi
call fcn.140001150
test rax, rax
je 0x1400a509e
lea r10, [rsi + r15*8]
lea rdx, [r15 - 1]
movabs r9, 0x1fffffffffffffff
and r9, rdx
cmp r9, 7
jae 0x1400a4ddf
xor edx, edx
jmp 0x1400a4f50
mov eax, 4
xor edx, edx
jmp 0x1400a4f72
cmp rax, r10
jae 0x1400a4df4
lea rdx, [rax + r15*8]
cmp rsi, rdx
jae 0x1400a4df4
xor edx, edx
jmp 0x1400a4f50
inc r9
mov rdx, r9
and rdx, 0xfffffffffffffffe
lea rbx, [rdx - 2]
mov r8, rbx
shr r8, 1
inc r8
test rbx, rbx
je 0x1400a504d
mov rbx, r8
and rbx, 0xfffffffffffffffe
xor edi, edi
movdqa xmm0, xmmword [0x1401fca70]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rsi + rdi*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
movdqa xmm5, xmm4
pcmpgtd xmm5, xmm3
movdqa xmm6, xmm2
pand xmm6, xmm5
pandn xmm5, xmm1
por xmm5, xmm6
pcmpgtd xmm3, xmm4
pand xmm2, xmm3
pandn xmm3, xmm1
por xmm3, xmm2
punpckldq xmm5, xmm3
movdqu xmmword [rax + rdi*8], xmm5
movdqu xmm1, xmmword [rsi + rdi*8 + 0x10]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
movdqa xmm5, xmm4
pcmpgtd xmm5, xmm3
movdqa xmm6, xmm2
pand xmm6, xmm5
pandn xmm5, xmm1
por xmm5, xmm6
pcmpgtd xmm3, xmm4
pand xmm2, xmm3
pandn xmm3, xmm1
por xmm3, xmm2
punpckldq xmm5, xmm3
movdqu xmmword [rax + rdi*8 + 0x10], xmm5
add rdi, 4
add rbx, 0xfffffffffffffffe
jne 0x1400a4e30
test r8b, 1
je 0x1400a4f3a
movdqu xmm0, xmmword [rsi + rdi*8]
pshufd xmm1, xmm0, 0xe8
pshufd xmm0, xmm0, 0xed
movdqa xmm2, xmmword [0x1401fca70]
movdqa xmm3, xmm1
pxor xmm3, xmm2
pxor xmm2, xmm0
movdqa xmm4, xmm2
pcmpgtd xmm4, xmm3
movdqa xmm5, xmm1
pand xmm5, xmm4
pandn xmm4, xmm0
por xmm4, xmm5
pcmpgtd xmm3, xmm2
pand xmm1, xmm3
pandn xmm3, xmm0
por xmm3, xmm1
punpckldq xmm4, xmm3
movdqu xmmword [rax + rdi*8], xmm4
cmp r9, rdx
je 0x1400a4f72
lea rsi, [rsi + rdx*8]
nop word cs:[rax + rax]
mov ebx, dword [rsi]
mov edi, dword [rsi + 4]
cmp ebx, edi
mov ecx, edi
cmovb ecx, ebx
cmova edi, ebx
mov dword [rax + rdx*8], ecx
mov dword [rax + rdx*8 + 4], edi
inc rdx
add rsi, 8
cmp rsi, r10
jne 0x1400a4f50
lea rcx, [rax + rdx*8]
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], rax
mov qword [rbp], rcx
mov qword [rbp + 8], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400d6e10
mov rax, qword [rbp - 0x20]
test rax, rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400dd600
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x60], xmm0
mov rax, qword [rbp]
mov qword [rbp - 0x50], rax
movzx eax, byte [rbp + 8]
mov ecx, dword [rbp + 9]
mov dword [rbp - 0x38], ecx
mov ecx, dword [rbp + 0xc]
mov dword [rbp - 0x35], ecx
cmp al, 2
jne 0x1400a4fe4
mov rax, qword [rbp - 0x40]
mov byte [rax], 1
mov byte [rax + 0x18], 2
jmp 0x1400a5006
mov rcx, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x40]
mov qword [rbx + 0x10], rcx
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rbx], xmm0
mov ecx, dword [rbp - 0x38]
mov edx, dword [rbp - 0x35]
mov dword [rbx + 0x19], ecx
mov dword [rbx + 0x1c], edx
mov byte [rbx + 0x18], al
movaps xmm6, xmmword [rbp + 0x20]
movaps xmm7, xmmword [rbp + 0x30]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rdx, [0x14021f455]
lea rcx, [rbp - 0x10]
mov r8d, 0xa
call fcn.1400a49e0
movzx eax, byte [rbp - 0x10]
movzx ecx, byte [rbp + 8]
cmp cl, 2
jne 0x1400a505e
mov byte [rsi], al
mov byte [rsi + 0x18], 2
jmp 0x1400a5006
xor edi, edi
test r8b, 1
jne 0x1400a4ee6
jmp 0x1400a4f3a
mov rdx, qword [rbp]
mov qword [rbp - 0x20], rdx
movups xmm0, xmmword [rbp - 0xf]
movups xmmword [rbp - 0x2f], xmm0
mov edx, dword [rbp + 9]
mov dword [rbp - 0x17], edx
mov edx, dword [rbp + 0xc]
mov dword [rbp - 0x14], edx
mov byte [rbp - 0x30], al
mov byte [rbp - 0x18], cl
lea rcx, [rbp - 0x30]
call fcn.1400dd120
movups xmm0, xmmword [rbp - 0x30]
movdqu xmm1, xmmword [rbp - 0x20]
jmp 0x1400a4b74
call fcn.1401bf0a0
ud2
mov rcx, rbx
mov rdx, rdi
call fcn.1401f27a0
ud2
mov ecx, 0x200
jmp 0x1400a50b7
mov ecx, 8
mov edx, 4
call fcn.1401f27a0
ud2