Function at 0x180087ac0
Capabilities:
Encode data using xor
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1801b4ca8]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, r8
mov qword [rsp + 0x28], rcx
mov rdi, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x14c
call fcn.1800c0bd0
movzx eax, byte [rbx + 1]
lea rcx, [rbp + 0x44]
mov byte [rsp + 0x5d], al
mov rdx, rdi
movzx eax, byte [rbx + 2]
mov byte [rsp + 0x5e], al
movzx eax, byte [rbx + 3]
mov byte [rsp + 0x5f], al
movzx eax, byte [rbx + 4]
mov byte [rsp + 0x60], al
movzx eax, byte [rbx + 5]
mov byte [rsp + 0x61], al
movzx eax, byte [rbx + 6]
mov byte [rsp + 0x62], al
movzx eax, byte [rbx + 7]
mov byte [rsp + 0x63], al
movzx eax, byte [rbx + 8]
mov byte [rsp + 0x64], al
movzx eax, byte [rbx + 9]
mov byte [rsp + 0x65], al
movzx eax, byte [rbx + 0xa]
mov byte [rsp + 0x66], al
movzx eax, byte [rbx + 0xb]
mov byte [rsp + 0x67], al
movzx eax, byte [rbx + 0xc]
mov byte [rsp + 0x68], al
movzx eax, byte [rbx + 0xd]
mov byte [rsp + 0x69], al
movzx eax, byte [rbx + 0xe]
mov byte [rsp + 0x6a], al
movzx eax, byte [rbx + 0xf]
mov byte [rsp + 0x6b], al
movzx eax, byte [rbx + 0x10]
mov byte [rsp + 0x6c], al
movzx eax, byte [rbx + 0x11]
mov byte [rsp + 0x6d], al
movzx eax, byte [rbx + 0x12]
mov byte [rsp + 0x6e], al
movzx eax, byte [rbx + 0x13]
mov byte [rsp + 0x6f], al
movzx eax, byte [rbx + 0x14]
mov byte [rsp + 0x70], al
movzx eax, byte [rbx + 0x15]
mov byte [rsp + 0x71], al
movzx eax, byte [rbx + 0x16]
mov byte [rsp + 0x72], al
movzx eax, byte [rbx + 0x17]
mov byte [rsp + 0x73], al
movzx eax, byte [rbx + 0x18]
mov byte [rsp + 0x74], al
movzx eax, byte [rbx + 0x19]
mov byte [rsp + 0x75], al
movzx eax, byte [rbx + 0x1a]
mov byte [rsp + 0x76], al
movzx eax, byte [rbx + 0x1b]
mov byte [rsp + 0x77], al
movzx eax, byte [rbx + 0x1c]
mov byte [rsp + 0x78], al
movzx eax, byte [rbx + 0x1d]
mov byte [rsp + 0x79], al
movzx eax, byte [rbx + 0x1e]
mov byte [rsp + 0x7a], al
movzx eax, byte [rbx]
and al, 0xf8
mov byte [rsp + 0x5c], al
movzx eax, byte [rbx + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x7b], al
call fcn.180085410
mov edi, dword [rbp + 0x44]
mov r14d, dword [rbp + 0x48]
lea eax, [rdi + 1]
mov dword [rsp + 0x7c], eax
mov edx, dword [rbp + 0x64]
mov eax, 1
mov ecx, dword [rbp + 0x68]
sub eax, edi
mov esi, dword [rbp + 0x4c]
mov ebx, dword [rbp + 0x50]
mov r11d, dword [rbp + 0x54]
mov r10d, dword [rbp + 0x58]
mov r9d, dword [rbp + 0x5c]
mov r8d, dword [rbp + 0x60]
mov dword [rbp - 0x64], edx
neg edx
mov dword [rbp - 0x60], ecx
neg ecx
mov dword [rbp - 0x80], r14d
neg r14d
mov dword [rbp - 0x7c], esi
neg esi
mov dword [rbp - 0x78], ebx
neg ebx
mov dword [rbp - 0x74], r11d
neg r11d
mov dword [rbp - 0x70], r10d
neg r10d
mov dword [rbp - 0x6c], r9d
neg r9d
mov dword [rbp - 0x68], r8d
neg r8d
mov dword [rbp + 0x14], edx
lea rdx, [rbp - 0xc]
mov dword [rbp + 0x18], ecx
lea rcx, [rbp - 0xc]
mov dword [rbp - 0xc], eax
mov dword [rbp - 8], r14d
mov dword [rbp - 4], esi
mov dword [rbp], ebx
mov dword [rbp + 4], r11d
mov dword [rbp + 8], r10d
mov dword [rbp + 0xc], r9d
mov dword [rbp + 0x10], r8d
call fcn.180085700
lea r8, [rbp - 0xc]
lea rdx, [rsp + 0x7c]
lea rcx, [rbp + 0x44]
call fcn.180086100
mov eax, dword [rbp + 0x44]
xor ebx, ebx
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
mov eax, dword [rbp + 0x48]
xorps xmm1, xmm1
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x4c]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x54]
mov dword [rsp + 0x44], eax
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x54], eax
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x58], eax
mov dword [rbp - 0x34], 1
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], ebx
mov dword [rbp + 0x1c], ebx
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x40], ebx
mov qword [rbp - 0x5c], 1
mov dword [rbp - 0x54], ebx
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], ebx
mov ecx, 0xfe
nop word [rax + rax]
mov eax, ecx
mov dword [rsp + 0x30], ecx
movzx ecx, cl
and ecx, 7
shr rax, 3
movzx edx, byte [rsp + rax + 0x5c]
shr edx, cl
lea rcx, [rbp - 0x34]
and edx, 1
xor ebx, edx
mov dword [rsp + 0x20], edx
mov r8d, ebx
lea rdx, [rsp + 0x34]
call fcn.180085270
mov r8d, ebx
lea rdx, [rbp - 0x5c]
lea rcx, [rbp + 0x1c]
call fcn.180085270
mov eax, dword [rsp + 0x34]
sub eax, dword [rbp - 0x5c]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x38]
sub eax, dword [rbp - 0x58]
mov dword [rbp - 0x80], eax
mov eax, dword [rsp + 0x3c]
sub eax, dword [rbp - 0x54]
mov dword [rbp - 0x7c], eax
mov eax, dword [rsp + 0x40]
sub eax, dword [rbp - 0x50]
mov r12d, dword [rbp + 0x28]
mov r13d, dword [rbp - 0x24]
mov r15d, dword [rbp - 0x20]
mov esi, dword [rbp - 0x1c]
mov ebx, dword [rbp - 0x18]
mov r10d, dword [rbp - 0x14]
mov dword [rbp - 0x78], eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rbp - 0x4c]
mov dword [rbp - 0x74], eax
mov eax, dword [rsp + 0x48]
sub eax, dword [rbp - 0x48]
mov dword [rbp - 0x70], eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rbp - 0x44]
mov dword [rbp - 0x6c], eax
mov eax, dword [rsp + 0x50]
sub eax, dword [rbp - 0x40]
mov dword [rbp - 0x68], eax
mov eax, dword [rsp + 0x54]
sub eax, dword [rbp - 0x3c]
mov dword [rbp - 0x64], eax
mov eax, dword [rsp + 0x58]
sub eax, dword [rbp - 0x38]
mov dword [rbp - 0x60], eax
mov eax, dword [rbp - 0x34]
sub eax, dword [rbp + 0x1c]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0x30]
sub eax, dword [rbp + 0x20]
mov dword [rbp - 8], eax
mov eax, dword [rbp - 0x2c]
sub eax, dword [rbp + 0x24]
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x28]
sub eax, r12d
mov dword [rbp], eax
mov eax, r13d
sub eax, dword [rbp + 0x2c]
mov dword [rbp + 4], eax
mov eax, r15d
sub eax, dword [rbp + 0x30]
mov dword [rbp + 8], eax
mov eax, esi
sub eax, dword [rbp + 0x34]
mov dword [rbp + 0xc], eax
mov eax, ebx
sub eax, dword [rbp + 0x38]
mov dword [rbp + 0x10], eax
mov eax, r10d
sub eax, dword [rbp + 0x3c]
mov dword [rbp + 0x14], eax
mov r8d, dword [rbp - 0x10]
lea rdx, [rsp + 0x7c]
add r13d, dword [rbp + 0x2c]
lea rcx, [rbp - 0x5c]
add r15d, dword [rbp + 0x30]
mov eax, r8d
sub eax, dword [rbp + 0x40]
add r8d, dword [rbp + 0x40]
add esi, dword [rbp + 0x34]
add ebx, dword [rbp + 0x38]
add r10d, dword [rbp + 0x3c]
add dword [rbp - 0x28], r12d
mov dword [rbp + 0x18], eax
mov eax, dword [rbp - 0x34]
add eax, dword [rbp + 0x1c]
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 0x30]
add eax, dword [rbp + 0x20]
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 0x2c]
add eax, dword [rbp + 0x24]
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp - 0x5c]
add eax, dword [rsp + 0x34]
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp - 0x58]
add eax, dword [rsp + 0x38]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp - 0x54]
add eax, dword [rsp + 0x3c]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp - 0x50]
add eax, dword [rsp + 0x40]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp - 0x4c]
add eax, dword [rsp + 0x44]
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp - 0x48]
add eax, dword [rsp + 0x48]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp - 0x44]
add eax, dword [rsp + 0x4c]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp - 0x40]
add eax, dword [rsp + 0x50]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp - 0x3c]
add eax, dword [rsp + 0x54]
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp - 0x38]
add eax, dword [rsp + 0x58]
mov dword [rbp - 0x10], r8d
lea r8, [rbp - 0x34]
mov dword [rbp + 0x40], eax
mov dword [rbp - 0x24], r13d
mov dword [rbp - 0x20], r15d
mov dword [rbp - 0x1c], esi
mov dword [rbp - 0x18], ebx
mov dword [rbp - 0x14], r10d
call fcn.180086100
lea r8, [rbp - 0xc]
lea rdx, [rbp + 0x1c]
lea rcx, [rbp + 0x1c]
call fcn.180086100
lea rdx, [rbp - 0xc]
lea rcx, [rsp + 0x7c]
call fcn.180085970
lea rdx, [rbp - 0x34]
lea rcx, [rbp - 0xc]
call fcn.180085970
mov eax, dword [rbp + 0x1c]
add eax, dword [rbp - 0x5c]
mov dword [rsp + 0x34], eax
mov eax, dword [rbp + 0x20]
add eax, dword [rbp - 0x58]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x24]
add eax, dword [rbp - 0x54]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbp - 0x50]
add eax, dword [rbp + 0x28]
mov r8d, dword [rbp + 0x3c]
mov ecx, dword [rbp + 0x40]
mov r15d, dword [rbp + 0x2c]
mov esi, dword [rbp + 0x30]
mov ebx, dword [rbp + 0x34]
mov r10d, dword [rbp + 0x38]
mov edx, dword [rbp - 0x38]
mov r12d, dword [rbp - 0x4c]
mov r14d, dword [rbp - 0x48]
mov edi, dword [rbp - 0x44]
mov r11d, dword [rbp - 0x40]
mov r9d, dword [rbp - 0x3c]
mov dword [rsp + 0x40], eax
lea eax, [r15 + r12]
mov dword [rsp + 0x44], eax
sub r12d, r15d
lea eax, [rsi + r14]
mov dword [rbp + 0x2c], r12d
mov dword [rsp + 0x48], eax
sub r14d, esi
lea eax, [rbx + rdi]
mov dword [rbp + 0x30], r14d
mov dword [rsp + 0x4c], eax
sub edi, ebx
lea eax, [r10 + r11]
mov dword [rbp + 0x34], edi
mov dword [rsp + 0x50], eax
sub r11d, r10d
lea eax, [r8 + r9]
mov dword [rbp + 0x38], r11d
mov dword [rsp + 0x54], eax
sub r9d, r8d
lea eax, [rcx + rdx]
mov dword [rbp + 0x3c], r9d
mov dword [rsp + 0x58], eax
lea r8, [rsp + 0x7c]
mov eax, dword [rbp - 0x5c]
sub edx, ecx
sub eax, dword [rbp + 0x1c]
lea rcx, [rbp - 0x34]
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp - 0x58]
sub eax, dword [rbp + 0x20]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp - 0x54]
sub eax, dword [rbp + 0x24]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp - 0x50]
sub eax, dword [rbp + 0x28]
mov dword [rbp + 0x40], edx
lea rdx, [rbp - 0xc]
mov dword [rbp + 0x28], eax
call fcn.180086100
mov eax, dword [rsp + 0x7c]
lea rdx, [rbp + 0x1c]
sub dword [rbp - 0xc], eax
lea rcx, [rbp + 0x1c]
mov eax, dword [rbp - 0x80]
sub dword [rbp - 8], eax
mov eax, dword [rbp - 0x7c]
sub dword [rbp - 4], eax
mov eax, dword [rbp - 0x78]
sub dword [rbp], eax
mov eax, dword [rbp - 0x74]
sub dword [rbp + 4], eax
mov eax, dword [rbp - 0x70]
sub dword [rbp + 8], eax
mov eax, dword [rbp - 0x6c]
sub dword [rbp + 0xc], eax
mov eax, dword [rbp - 0x68]
sub dword [rbp + 0x10], eax
mov eax, dword [rbp - 0x64]
sub dword [rbp + 0x14], eax
mov eax, dword [rbp - 0x60]
sub dword [rbp + 0x18], eax
call fcn.180085970
lea rdx, [rbp - 0xc]
lea rcx, [rbp - 0x5c]
call fcn.1800877d0
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x34]
call fcn.180085970
mov eax, dword [rbp - 0x5c]
lea r8, [rbp + 0x1c]
add dword [rsp + 0x7c], eax
lea rdx, [rbp + 0x44]
mov eax, dword [rbp - 0x58]
lea rcx, [rbp - 0x5c]
add dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x54]
add dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x50]
add dword [rbp - 0x78], eax
mov eax, dword [rbp - 0x4c]
add dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x48]
add dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x44]
add dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x40]
add dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x3c]
add dword [rbp - 0x64], eax
mov eax, dword [rbp - 0x38]
add dword [rbp - 0x60], eax
call fcn.180086100
lea r8, [rsp + 0x7c]
lea rdx, [rbp - 0xc]
lea rcx, [rbp + 0x1c]
call fcn.180086100
mov eax, dword [rsp + 0x30]
mov ebx, dword [rsp + 0x20]
lea ecx, [rax - 1]
test eax, eax
jne 0x180087d60
mov r8d, ebx
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x34]
call fcn.180085270
mov r8d, ebx
lea rdx, [rbp - 0x5c]
lea rcx, [rbp + 0x1c]
call fcn.180085270
lea rdx, [rbp + 0x1c]
lea rcx, [rbp + 0x1c]
call fcn.180085700
lea r8, [rbp + 0x1c]
lea rdx, [rbp - 0x34]
lea rcx, [rbp - 0x34]
call fcn.180086100
mov rcx, qword [rsp + 0x28]
lea rdx, [rbp - 0x34]
call fcn.180087560
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1800bfa90
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret