Function at 0x1402d0510
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]
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov eax, dword [0x140694ec8]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, 0xa1ba8bd8
add eax, dword [0x1406371e8]
cmp ecx, eax
jne 0x1402d05d4
mov r14d, 0x2a7a
mov eax, dword [0x14063720c]
add eax, r14d
cdqe
add rax, qword [0x140637228]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [0x1405fc400]
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
add r14d, dword [0x140637200]
mov byte [rbp + 0x20], 0
movsxd rax, r14d
add rax, qword [0x140637240]
mov rcx, rbx
mov edx, 0x405ee07f
mov r8d, 0x4048d533
call qword [0x1405fc400]
mov r14, rax
mov eax, dword [0x140694ecc]
mov ecx, 0xa1ba8c18
add ecx, dword [0x1406371e8]
cmp eax, ecx
jl 0x1402d066f
lea r14, [rbp - 0x40]
mov r15d, 0x2a7a
nop
mov eax, dword [0x14063720c]
mov ecx, dword [0x1406371e8]
mov edx, ecx
xor edx, 0xa1ba8bd8
sub eax, ecx
and ecx, 0x21ba8bd8
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0x5e459ea2
cdqe
add rax, qword [0x140637228]
mov rcx, rdi
mov rdx, r14
call qword [0x1405fc400]
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov eax, dword [0x140637200]
add eax, r15d
cdqe
add rax, qword [0x140637240]
mov rcx, rbx
mov edx, 0x405ee07f
mov r8d, 0x4048d533
call qword [0x1405fc400]
mov eax, dword [0x140694ec8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402d05e0
jmp 0x1402d055a
cmp r14, 0xf
jbe 0x1402d0686
lea rcx, [rbp + 0x20]
mov rdx, r14
mov r9, rbx
call fcn.140088ee0
jmp 0x1402d069f
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x20]
mov rdx, rbx
mov r8, r14
call fcn.140511c70
mov byte [rbp + r14 + 0x20], 0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jae 0x1402d06f6
mov eax, 0x2a7a
add eax, dword [0x140637210]
cdqe
add rax, qword [0x140637220]
xor ecx, ecx
mov edx, 1
mov r8d, 0x6a2179d1
call qword [0x1405fc400]
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x20]
mov edx, 2
mov r9, rax
call fcn.14008a220
jmp 0x1402d071c
lea rax, [rcx + 2]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
mov r8, rax
cmp rdx, 0x10
jb 0x1402d070f
mov r8, qword [rbp + 0x20]
mov word [r8 + rcx], 0x203a
mov byte [r8 + rcx + 2], 0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp], xmm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rbx, [rbp - 0x20]
mov r8, rbp
lea r9, [rbp - 0x40]
mov rcx, rbx
call fcn.1402bbe40
cmp qword [rbp - 8], 0x10
jb 0x1402d075c
mov rbx, qword [rbp - 0x20]
lea rax, [0x14052eee8]
mov qword [rsi], rax
lea rdx, [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rbp - 0x50], rbx
mov byte [rbp - 0x48], 1
lea rcx, [rbp - 0x50]
call fcn.14051275c
lea rax, [0x14052f588]
mov qword [rsi], rax
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x1402d0899
mov rbx, qword [rbp - 0x20]
mov rcx, rax
xor rcx, 1
mov edx, eax
and edx, 1
lea r14, [rcx + rdx*2]
cmp r14, 0x1000
jb 0x1402d07e6
mov rcx, qword [rbx - 8]
add rbx, qword [0x1406371e0]
sub rbx, rcx
movabs rdx, 0x98f1f5000136f3c
add rdx, rbx
cmp rdx, 0x20
jae 0x1402d08c1
add rax, 0x28
mov r14, rax
mov rbx, rcx
mov r15d, 0x2a7a
mov r12d, 0xa1ba8c1a
mov r13b, 1
nop word cs:[rax + rax]
mov eax, dword [0x140637204]
add eax, r15d
cdqe
add rax, qword [0x140637230]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [0x1405fc400]
mov eax, dword [0x140694ecc]
mov ecx, dword [0x1406371e8]
add ecx, r12d
cmp eax, ecx
jl 0x1402d0899
nop dword [rax + rax]
mov eax, dword [0x140637204]
mov ecx, dword [0x1406371e8]
add eax, ecx
add eax, 0xa1bab652
cdqe
add rax, qword [0x140637230]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [0x1405fc400]
test r13b, r13b
je 0x1402d0850
jmp 0x1402d0800
mov eax, dword [0x140694ecc]
cmp eax, 0x42
jle 0x1402d08dc
jmp 0x1402d08f6
mov eax, dword [0x140694ec8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1402d08cc
mov eax, dword [0x140694ecc]
cmp eax, 0x2e
jg 0x1402d08b0
mov eax, dword [0x140694ecc]
cmp eax, 0x32
jg 0x1402d08b0
call fcn.1404ca324
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
xor eax, eax
test al, al
je 0x1402d090c
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
jmp 0x1402d08dc
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x1402d0977
mov r8, qword [rbp]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x1402d0946
mov rcx, qword [r8 - 8]
add r8, 0xfffffffffffffff8
sub r8, rcx
cmp r8, 0x20
jae 0x1402d0a70
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, 0x2a7a
add eax, dword [0x140637204]
cdqe
add rax, qword [0x140637230]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
call qword [0x1405fc400]
lea rbx, [0x1402d51c0]
lea rax, [fcn.1402d0510]
lea r14d, [rax + rax]
add r14d, 0x2d60
mov r15d, r14d
not r15d
nop word cs:[rax + rax]
mov eax, dword [0x140694ecc]
cmp eax, 0x2a
jg 0x1402d09ce
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rax, qword [rbp + 0x38]
mov ecx, dword [0x140694ecc]
cmp ecx, 0x1d
jle 0x1402d0a02
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov ecx, 0x24
call fcn.1404ca39c
mov qword [0x140694ec0], rax
mov rcx, rbx
call fcn.1404ea090
test r15d, r14d
jne 0x1402d09a0
jmp 0x1402d09ab
cmp rax, 0x10
jb 0x1402d0b52
mov rbx, qword [rbp + 0x20]
mov rcx, rax
xor rcx, 1
mov edx, eax
and edx, 1
lea r14, [rcx + rdx*2]
cmp r14, 0x1000
jb 0x1402d0a51
mov rcx, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rcx
cmp rbx, 0x20
jae 0x1402d0a80
add rax, qword [0x1406371e0]
movabs r14, 0x98f1f5000136f6c
add r14, rax
mov rbx, rcx
mov eax, dword [0x140694ec8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402d0ae6
jmp 0x1402d0a85
mov eax, dword [0x140694ecc]
cmp eax, 0x59
jg 0x1402d0a70
call fcn.1404ca324
call fcn.1404ca324
mov eax, dword [0x140637204]
mov ecx, dword [0x1406371e8]
mov edx, ecx
xor edx, 0xa1ba8bd8
and ecx, 0x21ba8bd8
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0x2a7a
cdqe
add rax, qword [0x140637230]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [0x1405fc400]
mov eax, dword [0x140694ec8]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
je 0x1402d0b52
mov r15d, 0xa1ba8bd9
lea rax, [fcn.1402d0510]
lea r12d, [rax + rax]
add r12d, 0x2480
nop
mov eax, dword [0x140637204]
mov ecx, dword [0x1406371e8]
add eax, ecx
add eax, 0xa1bab652
cdqe
add rax, qword [0x140637230]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [0x1405fc400]
mov eax, dword [0x1406371e8]
add eax, r15d
test r12d, eax
jne 0x1402d0b00
jmp 0x1402d0a85
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x1402d0c2c
mov r8, qword [rbp - 0x40]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x1402d0bd5
mov rcx, qword [r8 - 8]
mov rdx, r8
xor rdx, 0xfffffffffffffff8
movabs r9, 0x7ffffffffffffff8
and r9, r8
lea rdx, [rdx + r9*2]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1402d0c5c
mov edx, dword [0x140694ec8]
lea r8d, [rdx - 1]
imul r8d, edx
and r8d, 1
mov edx, 0xa1ba8bd8
add edx, dword [0x1406371e8]
cmp r8d, edx
nop word [rax + rax]
mov edx, dword [0x140694ecc]
cmp edx, 0x2d
jge 0x1402d0bc0
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, 0x2a7a
add eax, dword [0x140637204]
cdqe
add rax, qword [0x140637230]
mov r10d, dword [0x1406371e8]
lea ecx, [r10 - 0x5e457428]
mov edx, r10d
xor edx, 0xa1ba8bd9
mov r11d, r10d
and r11d, 0x21ba8bd9
lea edx, [rdx + r11*2]
lea r11d, [r10 - 0x38f96a80]
add r10d, 0x1af4e
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call qword [0x1405fc400]
lea rax, [0x14053c788]
mov qword [rsi], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x28], rax
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1404ca324
int3