Function at 0x4cc3ba
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x328
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, esp
mov dword [esp + 0x324], eax
cmp dword [ebp + 0x14], 2
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
je 0x4cc204
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4cc1c8
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4cc1c8
cmp dword [ecx], 0xffffffff
je 0x4cc1c8
push 0x3b
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x66
jmp 0x4cc88f
test eax, eax
je 0x4cc1f6
cmp edi, 0x40a
je 0x4cc1ec
cmp edi, 0x43f
je 0x4cc1ec
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4cc1f1
mov eax, 0x20
cmp dword [ebp + 0x10], eax
je 0x4cc204
push 0x41
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoececx_meth.c
push 0x66
jmp 0x4cc88f
push 0x40
mov dword [0x6a7ea4], 0
call fcn.005ee808
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
je 0x4cc886
push 0x40
push 0
push esi
call fcn.005e1a80
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4cc24e
push dword [ebp + 0x10]
push dword [esp + 0x10]
push esi
call fcn.005e1be0
add esp, 0xc
jmp 0x4cc84b
cmp edi, 0x40a
je 0x4cc26e
cmp edi, 0x43f
je 0x4cc26e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4cc273
mov eax, 0x20
push eax
mov dword [0x6a7ea4], 0
call fcn.005ee808
mov esi, eax
add esp, 4
mov eax, dword [esp + 8]
mov dword [eax + 0x3c], esi
test esi, esi
jne 0x4cc2cf
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.00489de0
mov eax, dword [esp + 0x14]
add esp, 0xc
push eax
call fcn.005e4cbe
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 2
jne 0x4cc36a
cmp edi, 0x40a
je 0x4cc2f9
cmp edi, 0x43f
je 0x4cc2f9
xor edx, edx
cmp edi, 0x40b
setne dl
add edx, 0x38
jmp 0x4cc2fe
mov edx, 0x20
mov ecx, esi
call fcn.00487f80
test eax, eax
jg 0x4cc33c
push esi
call fcn.005e4cbe
mov eax, dword [esp + 0xc]
add esp, 4
mov dword [eax + 0x3c], 0
push eax
call fcn.005e4cbe
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret
cmp edi, 0x40a
jne 0x4cc359
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 0x4cc3ac
cmp edi, 0x40b
jne 0x4cc39d
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x4cc39d
cmp edi, 0x40a
je 0x4cc38a
cmp edi, 0x43f
je 0x4cc38a
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4cc38f
mov eax, 0x20
push eax
push dword [esp + 0x10]
push esi
call fcn.005e1be0
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x4cc3b3.1036
movzx eax, byte [eax + 0x4cc8cc]
jmp dword [eax*4 + 0x4cc8b8]
movups xmm0, xmmword [esi]
lea edx, [esp + 0x2c0]
movups xmm1, xmmword [esi + 0x10]
lea ecx, [esp + 0x80]
movd eax, xmm0
movaps xmmword [esp + 0x2d0], xmm1
movaps xmmword [esp + 0x2c0], xmm0
and al, 0xf8
psrldq xmm1, 0xc
mov byte [esp + 0x2c0], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [esp + 0x2df], al
call fcn.005039a0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xd0]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x284], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x18], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x288], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x1c], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x28c], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x20], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x290], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x24], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x294], edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x28], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x298], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x2c], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x29c], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x30], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x2a0], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x34], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x2a4], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x38], eax
lea eax, [edx + ecx]
sub edx, ecx
mov dword [esp + 0x2a8], edx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x284]
mov dword [esp + 0x3c], eax
call fcn.00501820
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x1c]
mov ecx, edx
call fcn.00500b40
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.005008d0
lea eax, [esp + 0x2c4]
push 0x20
push eax
call fcn.00401320
add esp, 0xc
jmp 0x4cc84b
lea ecx, [esp + 0x180]
call fcn.0049c6d0
push 0x20
mov edx, esi
call fcn.0049cee0
lea edx, [esp + 0x184]
lea ecx, [esp + 0x2ec]
call fcn.0049c780
lea eax, [esp + 0x184]
push 0xd8
push eax
call fcn.00401320
movzx eax, byte [esp + 0x313]
lea edx, [esp + 0x2f4]
and byte [esp + 0x2f4], 0xf8
lea ecx, [esp + 0x8c]
and al, 0x3f
or al, 0x40
mov byte [esp + 0x313], al
call fcn.005039a0
lea edx, [esp + 0xdc]
lea ecx, [esp + 0x290]
call fcn.00501820
lea eax, [esp + 0x290]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x28]
call fcn.00500b40
lea eax, [esp + 0x294]
push eax
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x54]
call fcn.00500b40
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x54]
mov ecx, esi
call fcn.005008d0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x2d4]
call fcn.005008d0
movzx eax, byte [esp + 0x2d4]
shl al, 7
xor byte [esi + 0x1f], al
lea eax, [esp + 0x2fc]
push 0x40
push eax
call fcn.00401320
add esp, 0x1c
jmp 0x4cc84b
movups xmm0, xmmword [esi + 0x10]
push 0x38
movups xmm1, xmmword [esi]
lea edx, [esp + 0x44]
movups xmmword [esp + 0x54], xmm0
lea ecx, [esp + 0x288]
movups xmm0, xmmword [esi + 0x20]
movd eax, xmm1
movups xmmword [esp + 0x64], xmm0
movq xmm0, qword [esi + 0x30]
and al, 0xfc
movaps xmmword [esp + 0x44], xmm1
movq qword [esp + 0x74], xmm0
or byte [esp + 0x7b], 0x80
mov byte [esp + 0x44], al
call fcn.00541520
add esp, 4
mov esi, 1
nop word [eax + eax]
lea edx, [esp + 0x284]
mov ecx, edx
call fcn.00541710
add esi, esi
cmp esi, 2
jb 0x4cc6c0
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x84]
call fcn.0050b960
mov ecx, 0x40
lea esi, [esp + 0x84]
lea edi, [esp + 0x184]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x184]
lea ecx, [esp + 0x244]
call fcn.0050b0d0
lea eax, [esp + 0x1c4]
push eax
lea edx, [esp + 0x248]
lea ecx, [esp + 0x208]
call fcn.00542090
lea eax, [esp + 0x208]
push eax
mov edx, eax
lea ecx, [esp + 0x1cc]
call fcn.00542090
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1cc]
add esp, 8
mov ecx, esi
call fcn.00541840
lea eax, [esp + 0x184]
push 0x100
push eax
call fcn.00401320
lea eax, [esp + 0x8c]
push 0x100
push eax
call fcn.00401320
mov edi, dword [esp + 0x28]
add esp, 0x14
jmp 0x4cc84b
push ecx
push esi
mov edx, 0x39
lea ecx, [esp + 0x28c]
call fcn.004ffd70
add esp, 8
test eax, eax
je case.0x4cc3b3.1036
and byte [esp + 0x284], 0xfc
lea edx, [esp + 0x284]
or byte [esp + 0x2bb], 0x80
lea ecx, [esp + 0x40]
push 0x39
mov byte [esp + 0x2c0], 0
call fcn.00541520
add esp, 4
mov esi, 1
nop word [eax + eax]
lea edx, [esp + 0x40]
mov ecx, edx
call fcn.00541710
add esi, esi
cmp esi, 4
jb 0x4cc7e0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x184]
call fcn.0050b960
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x184]
mov ecx, esi
call fcn.0050bbc0
lea eax, [esp + 0x44]
push 0x38
push eax
call fcn.00401320
lea eax, [esp + 0x18c]
push 0x100
push eax
call fcn.00401320
lea eax, [esp + 0x298]
push 0x39
push eax
call fcn.00401320
add esp, 0x1c
jmp 0x4cc84b
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cc86d
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00481bd0
add esp, 0xc
test eax, eax
je 0x4cc86d
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x18], esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.005df097
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.00489de0
mov ecx, dword [esp + 0x338]
add esp, 0xc
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret