Function at 0x4bf400
Capabilities:
Encrypt data using curve25519
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x338
call fcn.00626ba0
mov eax, dword [0x70a514]
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 0x4bf494
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4bf458
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4bf458
cmp dword [ecx], 0xffffffff
je 0x4bf458
push 0x3b
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x66
jmp 0x4bfb9f
test eax, eax
je 0x4bf486
cmp edi, 0x40a
je 0x4bf47c
cmp edi, 0x43f
je 0x4bf47c
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4bf481
mov eax, 0x20
cmp dword [ebp + 0x10], eax
je 0x4bf494
push 0x41
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x66
jmp 0x4bfb9f
push 0x40
mov dword [0x70b32c], 0
call fcn.00630d7d
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x4bfb96
push 0x40
push 0
push esi
call fcn.00629cd0
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4bf4de
push dword [ebp + 0x10]
push dword [esp + 0x18]
push esi
call fcn.00629750
add esp, 0xc
jmp 0x4bfb5b
cmp edi, 0x40a
je 0x4bf4fe
cmp edi, 0x43f
je 0x4bf4fe
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4bf503
mov eax, 0x20
push eax
mov dword [0x70b32c], 0
call fcn.00630d7d
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [eax + 0x3c], esi
test esi, esi
jne 0x4bf55f
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.0047b5e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call fcn.0062d677
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 2
jne 0x4bf5fa
cmp edi, 0x40a
je 0x4bf589
cmp edi, 0x43f
je 0x4bf589
xor edx, edx
cmp edi, 0x40b
setne dl
add edx, 0x38
jmp 0x4bf58e
mov edx, 0x20
mov ecx, esi
call fcn.004792e0
test eax, eax
jg 0x4bf5cc
push esi
call fcn.0062d677
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0x3c], 0
push eax
call fcn.0062d677
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
cmp edi, 0x40a
jne 0x4bf5e9
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 0x4bf63c
cmp edi, 0x40b
jne 0x4bf62d
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x4bf62d
cmp edi, 0x40a
je 0x4bf61a
cmp edi, 0x43f
je 0x4bf61a
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4bf61f
mov eax, 0x20
push eax
push dword [esp + 0x18]
push esi
call fcn.00629750
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x4bf643.1036
movzx eax, byte [eax + 0x4bfbdc]
jmp dword [eax*4 + 0x4bfbc8]
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.004f8720
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.004f64f0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x6c]
mov ecx, edx
call fcn.004f5810
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.004f55a0
lea eax, [esp + 0x314]
push 0x20
push eax
call fcn.00401320
add esp, 0xc
jmp 0x4bfb5b
lea ecx, [esp + 0x1d0]
call fcn.0048ee40
push 0x20
mov edx, esi
call fcn.0048f650
lea edx, [esp + 0x1d4]
lea ecx, [esp + 0x94]
call fcn.0048eef0
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.004f8720
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x2e0]
call fcn.004f64f0
lea eax, [esp + 0x2e0]
push eax
lea edx, [esp + 0xe0]
lea ecx, [esp + 0x78]
call fcn.004f5810
lea eax, [esp + 0x2e4]
push eax
lea edx, [esp + 0x10c]
lea ecx, [esp + 0x34]
call fcn.004f5810
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.004f55a0
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x324]
call fcn.004f55a0
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 0x4bfb5b
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.005347b0
add esp, 4
mov esi, 1
nop dword [eax]
nop word [eax + eax]
lea edx, [esp + 0x2d4]
mov ecx, edx
call fcn.00534920
add esi, esi
cmp esi, 2
jb 0x4bf960
lea eax, [esp + 0x2d4]
push eax
lea ecx, [esp + 0xd4]
call fcn.005004b0
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.00535440
lea edx, [esp + 0x98]
lea ecx, [esp + 0x28]
call fcn.00535000
lea eax, [esp + 0x28]
push eax
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00535440
lea eax, [esp + 0x1dc]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x30]
call fcn.00535440
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.00535440
lea eax, [esp + 0x264]
push eax
mov edx, eax
lea ecx, [esp + 0x228]
call fcn.00535440
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x228]
add esp, 0x14
mov ecx, esi
call fcn.00534a40
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 0x4bfb5b
push ecx
push esi
mov edx, 0x39
lea ecx, [esp + 0x2dc]
call fcn.004f4a40
add esp, 8
test eax, eax
je case.0x4bf643.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.005347b0
add esp, 4
mov esi, 1
nop dword [eax]
lea edx, [esp + 0x20]
mov ecx, edx
call fcn.00534920
add esi, esi
cmp esi, 4
jb 0x4bfaf0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1d4]
call fcn.005004b0
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1d4]
mov ecx, esi
call fcn.00500850
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 0x4bfb5b
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4bfb7d
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00472950
add esp, 0xc
test eax, eax
je 0x4bfb7d
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.00626a7a
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.0047b5e0
mov ecx, dword [esp + 0x348]
add esp, 0xc
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret