Function at 0x1800b8520
Capabilities:
Encrypt data using curve25519

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x9a0
mov qword [rax - 0x938], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x990], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
lea rsi, [0x1802802d0]
mov qword [rsp + 0x60], rsi
mov edx, 0xffffffff
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [rsp + 0x68], 1
lea r14, [rbx + 0x98]
xor r15d, r15d
mov qword [r14 + 0x10], r15
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800b859e
mov rax, qword [r14]
mov byte [rax], r15b
lea rdi, [rbx + 0xb8]
mov qword [rdi + 0x10], r15
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800b85b9
mov rax, qword [rdi]
mov byte [rax], r15b
mov ecx, dword [rbx + 8]
test ecx, ecx
je 0x1800b8e41
sub ecx, 2
je 0x1800b8a2e
sub ecx, 1
je 0x1800b88af
sub ecx, 2
je 0x1800b8702
cmp ecx, 1
jne 0x1800b8ebc
mov qword [rsp + 0x30], rsi
mov edx, 0xffffffff
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [rsp + 0x38], 1
mov rcx, qword [rbx + 0x138]
mov rax, qword [rcx]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x580]
call qword [rax + 0x40]
nop
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rdi + 0x10], r15
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800b8641
mov rax, qword [rdi]
mov byte [rax], 0
mov qword [r14 + 0x10], r15
cmp qword [r14 + 0x18], 0x10
jb 0x1800b8652
mov r14, qword [r14]
mov byte [r14], 0
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x20
jb 0x1800b869a
lea rax, [rcx + 0x20]
mov qword [rdi + 0x10], rax
cmp rdx, 0x10
jb 0x1800b867b
mov rdi, qword [rdi]
add rdi, rcx
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x580]
mov rcx, rdi
call fcn.1801547b0
mov byte [rdi + 0x20], 0
jmp 0x1800b86b8
mov qword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
lea r9, [rsp + 0x580]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rdi
call fcn.1800c4370
mov qword [rsp + 0x30], rsi
mov edx, 0xffffffff
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [rsp + 0x38], 1
mov rcx, qword [rbx + 0x138]
mov rax, qword [rcx]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x580]
call qword [rax + 0x40]
nop
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1800b8e41
cmp dword [rbx + 0xc], 3
je 0x1800b8757
mov dword [rbx + 0x10], 5
movups xmm0, xmmword [str.Encryption_level_not_supported___use_Secure]
movups xmmword [rbx + 0x14], xmm0
movups xmm1, xmmword [0x1801de920]
movups xmmword [rbx + 0x24], xmm1
movsd xmm0, qword [0x1801de930]
movsd qword [rbx + 0x34], xmm0
mov eax, dword [0x1801de938]
mov dword [rbx + 0x3c], eax
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rsp + 0x68], 0
mov eax, 7
jmp 0x1800b8e72
mov qword [rsp + 0x30], rsi
mov edx, 0xffffffff
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [rsp + 0x38], 1
mov rcx, qword [rbx + 0x138]
mov rax, qword [rcx]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0xa0]
call qword [rax + 0x40]
nop
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
and byte [rsp + 0xa0], 0xf8
movzx eax, byte [rsp + 0xbf]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0xbf], al
mov byte [rsp + 0x30], 9
xor eax, eax
mov qword [rsp + 0x31], rax
mov qword [rsp + 0x39], rax
mov qword [rsp + 0x41], rax
mov dword [rsp + 0x49], eax
mov word [rsp + 0x4d], ax
mov byte [rsp + 0x4f], al
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x580]
call fcn.1800cad70
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x580]
mov rcx, r14
call fcn.1800c14b0
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0xa0]
mov rcx, rdi
call fcn.1800c14b0
mov qword [rsp + 0x30], rsi
mov edx, 0xffffffff
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [rsp + 0x38], 1
mov rcx, qword [rbx + 0x138]
mov rax, qword [rcx]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0xa0]
call qword [rax + 0x40]
nop
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rsp + 0x30], rsi
mov edx, 0xffffffff
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [rsp + 0x38], 1
mov rcx, qword [rbx + 0x138]
mov rax, qword [rcx]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x580]
call qword [rax + 0x40]
nop
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1800b8e41
mov ecx, dword [rbx + 0xc]
test ecx, ecx
je 0x1800b88d5
sub ecx, 1
je 0x1800b88ce
cmp ecx, 2
je 0x1800b88c7
mov eax, 0x400
jmp 0x1800b88da
mov eax, 0x800
jmp 0x1800b88da
mov eax, 0x300
jmp 0x1800b88da
mov eax, 0x200
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
mov rdx, qword [rbx + 0x138]
lea rcx, [rsp + 0x190]
call fcn.1800c3ab0
nop
lea rsi, vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.1.0
mov qword [rsp + 0xa0], rsi
lea r15, vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb8], rdi
lea rcx, [rsp + 0x198]
mov rax, qword [rsp + 0x198]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdi, qword [rax]
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [rdi + Ordinal_41]
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
call qword [rax + Ordinal_41]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x100]
call fcn.1800be2a0
nop
mov qword [rsp + 0x580], rsi
mov qword [rsp + 0x588], r15
mov qword [rsp + 0x598], r14
lea rcx, [rsp + 0x108]
mov rax, qword [rsp + 0x108]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdi, qword [rax]
lea rdx, [rsp + 0x580]
mov rcx, rax
call qword [rdi + Ordinal_41]
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x580]
mov rax, qword [rsp + 0x580]
call qword [rax + Ordinal_41]
nop
mov rdx, qword [rsp + 0x170]
mov rdi, rdx
xor eax, eax
mov rcx, qword [rsp + 0x168]
rep stosq qword [rdi], rax
mov rcx, rdx
call fcn.18015d8ec
mov rdx, qword [rsp + 0x148]
mov rdi, rdx
xor eax, eax
mov rcx, qword [rsp + 0x140]
rep stosq qword [rdi], rax
mov rcx, rdx
call fcn.18015d8ec
nop
lea rcx, [rsp + 0x1a8]
call fcn.1800b96e0
jmp 0x1800b8e41
lea rcx, [rsp + 0x5a0]
call fcn.1800b8f10
nop
mov edx, 1
lea rcx, [rsp + 0x380]
call fcn.1800b9020
nop
lea rcx, [rsp + 0x190]
call fcn.1800c0350
nop
mov ecx, dword [rbx + 0xc]
test ecx, ecx
je 0x1800b8bae
sub ecx, 1
je 0x1800b8b49
cmp ecx, 1
lea rcx, [rsp + 0x30]
je 0x1800b8ae2
call fcn.1800b7f10
nop
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1800fba60
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800b8c12
mov rax, qword [rsp + 0x40]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8c0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b8ef1
jmp 0x1800b8c0d
call fcn.1800b7e10
nop
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1800fba60
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800b8c12
mov rax, qword [rsp + 0x40]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8c0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b8ef7
jmp 0x1800b8c0d
lea rcx, [rsp + 0x30]
call fcn.1800b7e90
nop
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1800fba60
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800b8c12
mov rax, qword [rsp + 0x40]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8c0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b8efd
jmp 0x1800b8c0d
lea rcx, [rsp + 0x30]
call fcn.1800b7d90
nop
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1800fba60
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800b8c12
mov rax, qword [rsp + 0x40]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8c0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b8f03
call fcn.1801525f4
mov rax, qword [rsp + 0x198]
movsxd rcx, dword [rax + 4]
lea r8, [rsp + 0x198]
add r8, rcx
mov rdx, qword [rbx + 0x138]
lea rcx, [rsp + 0x390]
mov rax, qword [rsp + 0x390]
call qword [rax]
lea rdx, [rsp + 0x5a0]
lea rcx, [rsp + 0x380]
call fcn.1800bea80
lea r12, vtable.CryptoPP::ByteQueue.0
mov qword [rsp + 0x100], r12
lea r13, vtable.CryptoPP::ByteQueue.1.0
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x140], r15
mov byte [rsp + 0x118], 1
mov qword [rsp + 0x120], 0x100
mov ecx, gethostbyname
call fcn.180152604
mov rsi, rax
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x120]
mov qword [rax + 0x10], rcx
test rcx, rcx
jne 0x1800b8cc1
mov rax, r15
jmp 0x1800b8cc6
call fcn.180102150
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], r15
mov qword [rsi + 0x20], r15
mov qword [rsi], r15
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x128], rsi
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x388]
mov rax, qword [rsp + 0x388]
call qword [rax + Ordinal_26]
lea rsi, vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.1.0
mov qword [rsp + 0x580], rsi
lea r15, vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov qword [rsp + 0x588], r15
mov qword [rsp + 0x598], rdi
lea rdx, [rsp + 0x580]
lea rcx, [rsp + 0x388]
call fcn.1800f18e0
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x580]
mov rax, qword [rsp + 0x580]
call qword [rax + Ordinal_41]
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb8], r14
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x5a8]
call fcn.1800f1150
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
call qword [rax + Ordinal_41]
nop
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x108], r13
lea rcx, [rsp + 0x100]
call fcn.1800d5210
nop
lea rcx, [rsp + 0x190]
call fcn.1800b91c0
nop
mov rdx, qword [rsp + 0x560]
mov rdi, rdx
xor eax, eax
mov rcx, qword [rsp + 0x558]
rep stosq qword [rdi], rax
mov rcx, rdx
call fcn.18015d8ec
lea rcx, [rsp + 0x3f0]
call fcn.1800b91c0
mov qword [rsp + 0x3a0], r12
mov qword [rsp + 0x3a8], r13
lea rcx, [rsp + 0x3a0]
call fcn.1800d5210
nop
lea rcx, [rsp + 0x710]
call fcn.1800b9400
lea rcx, [rsp + 0x5b8]
call fcn.1800b91c0
nop
mov dword [rbx + 0x10], 4
mov rcx, qword [0x1802802d0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x1800b8e72
mov rcx, qword [rsp + 0x990]
xor rcx, rsp
call fcn.1801525d0
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x88
call fcn.180152604
mov qword [rsp + 0x30], rax
lea rdx, str.Unsupported_encryption_method
mov rcx, rax
call fcn.1800b80e0
mov qword [rsp + 0x70], rax
lea rdx, [0x1802464b0]
lea rcx, [rsp + 0x70]
call fcn.180155078
nop
call fcn.18015db34
int3
call fcn.18015db34
int3
call fcn.18015db34
int3
call fcn.18015db34
int3