Function at 0x1803088c0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
mov eax, 0x1d0
call fcn.1800b8180
sub rsp, rax
mov rax, qword [0x1804a20e0]
xor rax, rsp
mov qword [rbp + 0xc8], rax
movups xmm2, xmmword [rdx]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp + 0x80]
movups xmm0, xmmword [rdx + 0x10]
mov rdx, r8
xor edi, edi
movd eax, xmm2
movups xmmword [rbp + 0xb8], xmm0
and al, 0xf8
psrldq xmm0, 8
movups xmmword [rbp + 0xa8], xmm2
mov byte [rbp + 0xa8], al
movq rax, xmm0
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp + 0xc7], al
call fcn.180305df0
xor eax, eax
lea r8d, [rdi + 0x28]
lea rdx, [rbp + 0x80]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea ebx, [rdi + 1]
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
call fcn.18020f990
xor eax, eax
mov edx, 0xfe
mov qword [rbp - 0x48], rax
mov r10d, ebx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov dword [rsp + 0x7c], edx
mov eax, edx
test edx, edx
jns 0x1803089b0
lea eax, [rdx + 7]
sar eax, 3
movsxd rcx, eax
mov eax, ebx
movzx r8d, byte [rbp + rcx + 0xa8]
movzx ecx, dl
mov edx, dword [rbp + 0xc]
and ecx, 7
shr r8d, cl
mov ecx, dword [rbp + 8]
and r8d, 1
xor eax, ecx
mov dword [rbp - 0x80], r8d
mov r9d, r8d
xor r9d, edi
neg r9d
and eax, r9d
mov dword [rsp + 0x20], r9d
xor ecx, eax
xor ebx, eax
mov dword [rsp + 0x50], ecx
mov ecx, dword [rbp - 0x1c]
mov eax, ecx
xor eax, edx
mov dword [rbp - 0x7c], ebx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp - 0x18]
mov eax, ecx
mov dword [rsp + 0x58], edx
mov edx, dword [rbp + 0x10]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp - 0x14]
mov eax, ecx
mov dword [rsp + 0x5c], edx
mov edx, dword [rbp + 0x14]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x34], ecx
mov ecx, dword [rbp - 0x10]
mov eax, ecx
mov dword [rsp + 0x60], edx
mov edx, dword [rbp + 0x18]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp - 0xc]
mov eax, ecx
mov dword [rsp + 0x64], edx
mov edx, dword [rbp + 0x1c]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x3c], ecx
mov ecx, dword [rbp - 8]
mov eax, ecx
mov dword [rsp + 0x68], edx
mov edx, dword [rbp + 0x20]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x40], ecx
mov ecx, dword [rbp - 4]
mov eax, ecx
mov dword [rsp + 0x6c], edx
mov edx, dword [rbp + 0x24]
xor eax, edx
and eax, r9d
xor ecx, eax
mov dword [rsp + 0x44], ecx
xor edx, eax
mov ecx, dword [rbp]
mov r12d, dword [rbp - 0x34]
mov eax, ecx
mov r13d, dword [rbp - 0x68]
mov r14d, dword [rbp - 0x30]
mov r15d, dword [rbp - 0x64]
mov esi, dword [rbp - 0x60]
mov ebx, dword [rbp - 0x5c]
mov r8d, dword [rbp - 0x54]
mov edi, dword [rbp - 0x2c]
mov dword [rsp + 0x70], edx
mov edx, dword [rbp + 0x28]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbp + 4]
mov eax, ecx
mov dword [rsp + 0x74], edx
mov edx, dword [rbp + 0x2c]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x4c], ecx
mov eax, r10d
mov ecx, dword [rbp - 0x70]
xor eax, ecx
and eax, r9d
mov dword [rsp + 0x78], edx
mov edx, dword [rbp - 0x44]
xor ecx, eax
xor r10d, eax
mov dword [rsp + 0x24], ecx
mov ecx, dword [rbp - 0x6c]
mov eax, ecx
xor eax, edx
mov dword [rsp + 0x54], r10d
and eax, r9d
mov dword [rbp - 0x48], r10d
mov r10d, dword [rbp - 0x58]
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rbp - 0x40]
mov eax, r13d
xor eax, ecx
mov dword [rbp - 0x44], edx
and eax, r9d
xor ecx, eax
xor r13d, eax
mov dword [rbp - 0x40], ecx
mov eax, r15d
mov ecx, dword [rbp - 0x3c]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor r15d, eax
mov dword [rbp - 0x3c], ecx
mov eax, esi
mov ecx, dword [rbp - 0x38]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor esi, eax
mov eax, ebx
mov dword [rbp - 0x38], ecx
xor eax, r12d
and eax, r9d
xor r12d, eax
xor ebx, eax
mov eax, r10d
mov dword [rbp - 0x34], r12d
xor eax, r14d
and eax, r9d
xor r10d, eax
xor r14d, eax
mov eax, r8d
mov dword [rbp - 0x30], r14d
xor eax, edi
mov r11d, dword [rbp - 0x28]
and eax, r9d
mov edx, dword [rbp - 0x50]
xor edi, eax
mov ecx, dword [rbp - 0x4c]
xor r8d, eax
mov dword [rbp - 0x2c], edi
mov eax, edx
xor eax, r11d
and eax, r9d
mov r9d, dword [rbp - 0x24]
xor r11d, eax
xor edx, eax
mov eax, ecx
mov dword [rbp - 0x28], r11d
xor eax, r9d
and eax, dword [rsp + 0x20]
xor r9d, eax
xor ecx, eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x50]
sub eax, dword [rsp + 0x54]
mov dword [rbp + 0x30], eax
mov eax, dword [rsp + 0x58]
sub eax, dword [rbp - 0x44]
mov dword [rbp + 0x34], eax
mov eax, dword [rsp + 0x5c]
sub eax, dword [rbp - 0x40]
mov dword [rbp + 0x38], eax
mov eax, dword [rsp + 0x60]
sub eax, dword [rbp - 0x3c]
mov dword [rbp + 0x3c], eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rbp - 0x38]
mov dword [rbp + 0x40], eax
mov eax, dword [rsp + 0x68]
sub eax, r12d
mov dword [rbp - 0x24], r9d
mov dword [rbp + 0x44], eax
mov eax, dword [rsp + 0x6c]
sub eax, r14d
mov dword [rbp + 0x48], eax
mov eax, dword [rsp + 0x70]
sub eax, edi
mov dword [rbp + 0x4c], eax
mov eax, dword [rsp + 0x74]
sub eax, r11d
mov dword [rbp + 0x50], eax
mov eax, dword [rsp + 0x78]
sub eax, r9d
mov dword [rbp + 0x54], eax
mov eax, dword [rbp - 0x7c]
sub eax, dword [rsp + 0x24]
mov dword [rbp + 0x58], eax
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x2c]
mov dword [rbp + 0x5c], eax
mov eax, dword [rsp + 0x30]
sub eax, r13d
mov dword [rbp + 0x60], eax
mov eax, dword [rsp + 0x34]
sub eax, r15d
mov dword [rbp + 0x64], eax
mov eax, dword [rsp + 0x38]
sub eax, esi
mov dword [rbp + 0x68], eax
mov eax, dword [rsp + 0x3c]
sub eax, ebx
mov dword [rbp + 0x6c], eax
mov eax, dword [rsp + 0x40]
sub eax, r10d
mov dword [rbp + 0x70], eax
mov eax, dword [rsp + 0x44]
sub eax, r8d
mov dword [rbp + 0x74], eax
mov eax, dword [rsp + 0x48]
sub eax, edx
mov dword [rbp + 0x78], eax
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp - 0x7c]
add eax, dword [rsp + 0x24]
mov dword [rbp - 0x20], eax
mov eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x2c]
mov dword [rbp - 0x1c], eax
mov eax, dword [rsp + 0x30]
add eax, r13d
mov dword [rbp - 0x18], eax
mov eax, dword [rsp + 0x34]
add eax, r15d
mov dword [rbp - 0x14], eax
mov eax, dword [rsp + 0x38]
add eax, esi
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x3c]
add eax, ebx
mov dword [rbp - 0xc], eax
mov eax, dword [rsp + 0x40]
add eax, r10d
mov dword [rbp - 8], eax
mov eax, dword [rsp + 0x44]
add eax, r8d
lea r8, [rbp - 0x20]
mov dword [rbp - 4], eax
mov eax, dword [rsp + 0x48]
add eax, edx
lea rdx, [rbp + 0x30]
mov dword [rbp], eax
mov eax, dword [rsp + 0x4c]
add eax, ecx
lea rcx, [rbp - 0x48]
mov dword [rbp + 4], eax
mov eax, dword [rsp + 0x50]
add eax, dword [rsp + 0x54]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x44]
add eax, dword [rsp + 0x58]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x40]
add eax, dword [rsp + 0x5c]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x3c]
add eax, dword [rsp + 0x60]
mov dword [rbp - 0x64], eax
mov eax, dword [rbp - 0x38]
add eax, dword [rsp + 0x64]
mov dword [rbp - 0x60], eax
mov eax, dword [rsp + 0x68]
add eax, r12d
mov dword [rbp - 0x5c], eax
mov eax, dword [rsp + 0x6c]
add eax, r14d
mov dword [rbp - 0x58], eax
mov eax, dword [rsp + 0x70]
add eax, edi
mov dword [rbp - 0x54], eax
mov eax, dword [rsp + 0x74]
add eax, r11d
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x78]
add eax, r9d
mov dword [rbp - 0x4c], eax
call fcn.180306340
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.180306340
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.180306e60
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x58]
call fcn.180306e60
mov eax, dword [rbp - 0x70]
add eax, dword [rbp - 0x48]
mov dword [rbp + 8], eax
mov eax, dword [rbp - 0x6c]
add eax, dword [rbp - 0x44]
mov r10d, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x50]
mov ecx, dword [rbp - 0x4c]
mov r15d, dword [rbp - 0x60]
mov esi, dword [rbp - 0x5c]
mov ebx, dword [rbp - 0x58]
mov r11d, dword [rbp - 0x2c]
mov r9d, dword [rbp - 0x28]
mov edx, dword [rbp - 0x24]
mov r12d, dword [rbp - 0x38]
mov r14d, dword [rbp - 0x34]
mov edi, dword [rbp - 0x30]
mov dword [rbp + 0xc], eax
mov eax, dword [rbp - 0x68]
add eax, dword [rbp - 0x40]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp - 0x3c]
add eax, dword [rbp - 0x64]
mov dword [rbp + 0x14], eax
lea eax, [r15 + r12]
mov dword [rbp + 0x18], eax
sub r12d, r15d
lea eax, [rsi + r14]
mov dword [rbp - 0x60], r12d
mov dword [rbp + 0x1c], eax
sub r14d, esi
lea eax, [rbx + rdi]
mov dword [rbp - 0x5c], r14d
mov dword [rbp + 0x20], eax
sub edi, ebx
lea eax, [r10 + r11]
mov dword [rbp - 0x58], edi
mov dword [rbp + 0x24], eax
sub r11d, r10d
lea eax, [r8 + r9]
mov dword [rbp - 0x54], r11d
mov dword [rbp + 0x28], eax
sub r9d, r8d
lea eax, [rcx + rdx]
mov dword [rbp - 0x50], r9d
mov dword [rbp + 0x2c], eax
lea r8, [rbp + 0x30]
mov eax, dword [rbp - 0x48]
sub edx, ecx
sub eax, dword [rbp - 0x70]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x44]
sub eax, dword [rbp - 0x6c]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x40]
sub eax, dword [rbp - 0x68]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x3c]
sub eax, dword [rbp - 0x64]
mov dword [rbp - 0x4c], edx
lea rdx, [rbp + 0x58]
mov dword [rbp - 0x64], eax
call fcn.180306340
mov eax, dword [rbp + 0x4c]
lea rdx, [rbp - 0x70]
sub dword [rbp + 0x74], eax
lea rcx, [rbp - 0x70]
mov eax, dword [rbp + 0x50]
sub dword [rbp + 0x78], eax
mov ebx, dword [rbp + 0x30]
mov edi, dword [rbp + 0x34]
mov esi, dword [rbp + 0x38]
mov r14d, dword [rbp + 0x3c]
mov r15d, dword [rbp + 0x40]
mov r12d, dword [rbp + 0x44]
mov r13d, dword [rbp + 0x48]
sub dword [rbp + 0x58], ebx
sub dword [rbp + 0x5c], edi
sub dword [rbp + 0x60], esi
sub dword [rbp + 0x64], r14d
sub dword [rbp + 0x68], r15d
sub dword [rbp + 0x6c], r12d
sub dword [rbp + 0x70], r13d
mov eax, dword [rbp + 0x54]
sub dword [rbp + 0x7c], eax
call fcn.180306e60
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.180306c60
lea rdx, [rbp + 8]
lea rcx, [rbp + 8]
call fcn.180306e60
mov eax, dword [rbp + 0x4c]
lea r8, [rbp - 0x70]
add eax, dword [rbp - 0x2c]
lea rdx, [rbp + 0x80]
add ebx, dword [rbp - 0x48]
lea rcx, [rbp - 0x48]
add edi, dword [rbp - 0x44]
add esi, dword [rbp - 0x40]
add r14d, dword [rbp - 0x3c]
add r15d, dword [rbp - 0x38]
add r12d, dword [rbp - 0x34]
add r13d, dword [rbp - 0x30]
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x50]
add eax, dword [rbp - 0x28]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x54]
add eax, dword [rbp - 0x24]
mov dword [rbp + 0x54], eax
mov dword [rbp + 0x30], ebx
mov dword [rbp + 0x34], edi
mov dword [rbp + 0x38], esi
mov dword [rbp + 0x3c], r14d
mov dword [rbp + 0x40], r15d
mov dword [rbp + 0x44], r12d
mov dword [rbp + 0x48], r13d
call fcn.180306340
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.180306340
mov edx, dword [rsp + 0x7c]
sub edx, 1
mov dword [rsp + 0x7c], edx
js 0x180308f5f
mov ebx, dword [rbp - 0x20]
mov r10d, dword [rbp - 0x48]
mov edi, dword [rsp + 0x20]
jmp 0x1803089a7
mov eax, dword [rbp - 0x20]
mov edx, eax
mov ecx, dword [rbp + 8]
xor edx, ecx
mov r8d, dword [rbp - 0x80]
neg r8d
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x1c]
mov edx, eax
mov dword [rbp + 8], ecx
mov ecx, dword [rbp + 0xc]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x18]
mov edx, eax
mov dword [rbp + 0xc], ecx
mov ecx, dword [rbp + 0x10]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x14]
mov edx, eax
mov dword [rbp + 0x10], ecx
mov ecx, dword [rbp + 0x14]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x10]
mov edx, eax
mov dword [rbp + 0x14], ecx
mov ecx, dword [rbp + 0x18]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0xc]
mov edx, eax
mov dword [rbp + 0x18], ecx
mov ecx, dword [rbp + 0x1c]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 8]
mov edx, eax
mov dword [rbp + 0x1c], ecx
mov ecx, dword [rbp + 0x20]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 8], eax
mov eax, dword [rbp - 4]
mov edx, eax
mov dword [rbp + 0x20], ecx
mov ecx, dword [rbp + 0x24]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 4], eax
mov eax, dword [rbp]
mov edx, eax
mov dword [rbp + 0x24], ecx
mov ecx, dword [rbp + 0x28]
xor edx, ecx
and edx, r8d
xor eax, edx
mov dword [rbp], eax
mov eax, dword [rbp + 4]
xor ecx, edx
mov edx, eax
mov dword [rbp + 0x28], ecx
mov ecx, dword [rbp + 0x2c]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov edx, dword [rbp - 0x4c]
mov dword [rbp + 4], eax
mov eax, dword [rbp - 0x70]
mov dword [rbp + 0x2c], ecx
mov ecx, dword [rbp - 0x48]
xor ecx, eax
and ecx, r8d
xor eax, ecx
mov ecx, dword [rbp - 0x6c]
mov dword [rbp - 0x70], eax
mov eax, ecx
xor eax, dword [rbp - 0x44]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x6c], ecx
mov ecx, dword [rbp - 0x68]
mov eax, ecx
xor eax, dword [rbp - 0x40]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x68], ecx
mov ecx, dword [rbp - 0x64]
mov eax, ecx
xor eax, dword [rbp - 0x3c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x64], ecx
mov ecx, dword [rbp - 0x60]
mov eax, ecx
xor eax, dword [rbp - 0x38]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x60], ecx
mov ecx, dword [rbp - 0x5c]
mov eax, ecx
xor eax, dword [rbp - 0x34]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x5c], ecx
mov ecx, dword [rbp - 0x58]
mov eax, ecx
xor eax, dword [rbp - 0x30]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x58], ecx
mov ecx, dword [rbp - 0x54]
mov eax, ecx
xor eax, dword [rbp - 0x2c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x54], ecx
mov ecx, dword [rbp - 0x50]
mov eax, ecx
xor eax, dword [rbp - 0x28]
and eax, r8d
xor ecx, eax
mov eax, edx
xor eax, dword [rbp - 0x24]
and eax, r8d
mov dword [rbp - 0x50], ecx
xor edx, eax
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x4c], edx
lea rdx, [rbp - 0x70]
call fcn.1803060c0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.180306340
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp - 0x20]
call fcn.180307970
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0xa8]
call fcn.180004dc0
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1800b8140
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret