Function at 0x4bfa06
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x338
call fcn.00663af0
mov eax, dword [0x74e694]
xor eax, esp
mov dword [esp + 0x334], eax
cmp dword [ebp + 0x14], 2
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
je 0x4bf684
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4bf648
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4bf648
cmp dword [ecx], 0xffffffff
je 0x4bf648
push 0x3b
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x66
jmp 0x4bfd8f
test eax, eax
je 0x4bf676
cmp edi, 0x40a
je 0x4bf66c
cmp edi, 0x43f
je 0x4bf66c
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4bf671
mov eax, 0x20
cmp dword [ebp + 0x10], eax
je 0x4bf684
push 0x41
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x66
jmp 0x4bfd8f
push 0x40
mov dword [0x74f4ac], 0
call fcn.0066dc36
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x4bfd86
push 0x40
push 0
push esi
call fcn.00667150
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4bf6ce
push dword [ebp + 0x10]
push dword [esp + 0x18]
push esi
call fcn.00666bd0
add esp, 0xc
jmp 0x4bfd4b
cmp edi, 0x40a
je 0x4bf6ee
cmp edi, 0x43f
je 0x4bf6ee
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4bf6f3
mov eax, 0x20
push eax
mov dword [0x74f4ac], 0
call fcn.0066dc36
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [eax + 0x3c], esi
test esi, esi
jne 0x4bf74f
push 0x52
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x41
mov edx, 0x10a
lea ecx, [esi + 0x10]
call fcn.0047b7e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call fcn.0066a657
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 2
jne 0x4bf7ea
cmp edi, 0x40a
je 0x4bf779
cmp edi, 0x43f
je 0x4bf779
xor edx, edx
cmp edi, 0x40b
setne dl
add edx, 0x38
jmp 0x4bf77e
mov edx, 0x20
mov ecx, esi
call fcn.004794e0
test eax, eax
jg 0x4bf7bc
push esi
call fcn.0066a657
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0x3c], 0
push eax
call fcn.0066a657
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
cmp edi, 0x40a
jne 0x4bf7d9
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
lea eax, [edi - 0x40a]
jmp 0x4bf82c
cmp edi, 0x40b
jne 0x4bf81d
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x4bf81d
cmp edi, 0x40a
je 0x4bf80a
cmp edi, 0x43f
je 0x4bf80a
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4bf80f
mov eax, 0x20
push eax
push dword [esp + 0x18]
push esi
call fcn.00666bd0
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x4bf833.1036
movzx eax, byte [eax + 0x4bfdcc]
jmp dword [eax*4 + 0x4bfdb8]
movups xmm0, xmmword [esi]
lea edx, [esp + 0x310]
movups xmm1, xmmword [esi + 0x10]
lea ecx, [esp + 0xd0]
movd eax, xmm0
movaps xmmword [esp + 0x320], xmm1
movaps xmmword [esp + 0x310], xmm0
and al, 0xf8
psrldq xmm1, 0xc
mov byte [esp + 0x310], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [esp + 0x32f], al
call fcn.004f8920
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x120]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x2d4], edx
mov edx, dword [esp + 0x124]
mov dword [esp + 0x68], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x2d8], edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0x6c], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x2dc], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 0x70], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x2e0], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0x74], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x2e4], edx
mov edx, dword [esp + 0x134]
mov dword [esp + 0x78], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x2e8], edx
mov edx, dword [esp + 0x138]
mov dword [esp + 0x7c], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x2ec], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x80], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x2f0], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0x84], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x2f4], edx
mov edx, dword [esp + 0x144]
mov dword [esp + 0x88], eax
lea eax, [edx + ecx]
sub edx, ecx
mov dword [esp + 0x2f8], edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2d4]
mov dword [esp + 0x8c], eax
call fcn.004f66f0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x6c]
mov ecx, edx
call fcn.004f5a10
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.004f57a0
lea eax, [esp + 0x314]
push 0x20
push eax
call fcn.00401320
add esp, 0xc
jmp 0x4bfd4b
lea ecx, [esp + 0x1d0]
call fcn.0048eff0
push 0x20
mov edx, esi
call fcn.0048f800
lea edx, [esp + 0x1d4]
lea ecx, [esp + 0x94]
call fcn.0048f0a0
lea eax, [esp + 0x1d4]
push 0xd8
push eax
call fcn.00401320
movzx eax, byte [esp + 0xbb]
lea edx, [esp + 0x9c]
and byte [esp + 0x9c], 0xf8
lea ecx, [esp + 0xdc]
and al, 0x3f
or al, 0x40
mov byte [esp + 0xbb], al
call fcn.004f8920
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x2e0]
call fcn.004f66f0
lea eax, [esp + 0x2e0]
push eax
lea edx, [esp + 0xe0]
lea ecx, [esp + 0x78]
call fcn.004f5a10
lea eax, [esp + 0x2e4]
push eax
lea edx, [esp + 0x10c]
lea ecx, [esp + 0x34]
call fcn.004f5a10
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.004f57a0
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x324]
call fcn.004f57a0
movzx eax, byte [esp + 0x324]
shl al, 7
xor byte [esi + 0x1f], al
lea eax, [esp + 0xa4]
push 0x40
push eax
call fcn.00401320
add esp, 0x1c
jmp 0x4bfd4b
movups xmm0, xmmword [esi + 0x10]
push 0x38
movups xmm1, xmmword [esi]
lea edx, [esp + 0x24]
movups xmmword [esp + 0x34], xmm0
lea ecx, [esp + 0x2d8]
movups xmm0, xmmword [esi + 0x20]
movd eax, xmm1
movups xmmword [esp + 0x44], xmm0
movq xmm0, qword [esi + 0x30]
and al, 0xfc
movaps xmmword [esp + 0x24], xmm1
movq qword [esp + 0x54], xmm0
or byte [esp + 0x5b], 0x80
mov byte [esp + 0x24], al
call fcn.00534980
add esp, 4
mov esi, 1
nop dword [eax]
nop word [eax + eax]
lea edx, [esp + 0x2d4]
mov ecx, edx
call fcn.00534af0
add esi, esi
cmp esi, 2
jb 0x4bfb50
lea eax, [esp + 0x2d4]
push eax
lea ecx, [esp + 0xd4]
call fcn.005006b0
mov ecx, 0x40
lea esi, [esp + 0xd4]
lea edi, [esp + 0x1d4]
lea eax, [esp + 0x1d4]
rep movsd dword es:[edi], dword [esi]
push eax
mov edx, eax
lea ecx, [esp + 0x98]
call fcn.00535610
lea edx, [esp + 0x98]
lea ecx, [esp + 0x28]
call fcn.005351d0
lea eax, [esp + 0x28]
push eax
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00535610
lea eax, [esp + 0x1dc]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x30]
call fcn.00535610
movups xmm0, xmmword [esp + 0x30]
lea eax, [esp + 0x220]
push eax
movups xmmword [esp + 0x2a4], xmm0
lea edx, [esp + 0x2a4]
movups xmm0, xmmword [esp + 0x44]
lea ecx, [esp + 0x264]
movups xmmword [esp + 0x2b4], xmm0
movups xmm0, xmmword [esp + 0x54]
movups xmmword [esp + 0x2c4], xmm0
movups xmm0, xmmword [esp + 0x64]
movups xmmword [esp + 0x2d4], xmm0
call fcn.00535610
lea eax, [esp + 0x264]
push eax
mov edx, eax
lea ecx, [esp + 0x228]
call fcn.00535610
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x228]
add esp, 0x14
mov ecx, esi
call fcn.00534c10
lea eax, [esp + 0x1d4]
push 0x100
push eax
call fcn.00401320
lea eax, [esp + 0xdc]
push 0x100
push eax
call fcn.00401320
mov edi, dword [esp + 0x30]
add esp, 0x14
jmp 0x4bfd4b
push ecx
push esi
mov edx, 0x39
lea ecx, [esp + 0x2dc]
call fcn.004f4c40
add esp, 8
test eax, eax
je case.0x4bf833.1036
and byte [esp + 0x2d4], 0xfc
lea edx, [esp + 0x2d4]
or byte [esp + 0x30b], 0x80
lea ecx, [esp + 0x20]
push 0x39
mov byte [esp + 0x310], 0
call fcn.00534980
add esp, 4
mov esi, 1
nop dword [eax]
lea edx, [esp + 0x20]
mov ecx, edx
call fcn.00534af0
add esi, esi
cmp esi, 4
jb 0x4bfce0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1d4]
call fcn.005006b0
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1d4]
mov ecx, esi
call fcn.00500a50
lea eax, [esp + 0x24]
push 0x38
push eax
call fcn.00401320
lea eax, [esp + 0x1dc]
push 0x100
push eax
call fcn.00401320
lea eax, [esp + 0x2e8]
push 0x39
push eax
call fcn.00401320
add esp, 0x1c
jmp 0x4bfd4b
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4bfd6d
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00472b40
add esp, 0xc
test eax, eax
je 0x4bfd6d
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x18], esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
push 0x48
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x41
mov edx, 0x10a
mov ecx, 0x10
call fcn.0047b7e0
mov ecx, dword [esp + 0x348]
add esp, 0xc
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret