Function at 0x444800
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00596bf0
cmp dword [ebp + 0x18], 2
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
je 0x444880
test eax, eax
je 0x44484d
mov eax, dword [eax + 4]
test eax, eax
je 0x44484d
cmp dword [eax], 0xffffffff
je 0x44484d
push 0x3b
push str.....cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.0040e790
add esp, 0x14
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x44487c
cmp ebx, 0x40a
je 0x444873
cmp ebx, 0x43f
je 0x444873
xor eax, eax
cmp ebx, 0x40b
setne al
add eax, 0x38
jmp 0x444878
mov eax, 0x20
cmp edi, eax
je 0x444880
push 0x41
jmp 0x44482f
mov eax, dword [fcn.004196c0]
push esi
test eax, eax
je 0x4448a6
cmp eax, fcn.004196c0
je 0x4448a6
push 0x46
push str.....cryptoececx_meth.c
push 0x40
call eax
mov esi, eax
add esp, 0xc
mov dword [ebp - 4], esi
jmp 0x4448c8
cmp dword [0x61b870], 0
je 0x4448b9
mov dword [0x61b870], 0
push 0x40
call fcn.0057c0af
add esp, 4
mov dword [ebp - 4], eax
mov esi, eax
test esi, esi
je 0x4448f2
push 0x40
push 0
push esi
call fcn.0057e420
add esp, 0xc
cmp dword [ebp + 0x18], 0
jne 0x444913
mov eax, dword [ebp + 0x14]
push edi
push eax
push esi
call fcn.0057e070
add esp, 0xc
jmp case.0x444a2b.1036
push 0x48
push str.....cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.0040e790
add esp, 0x14
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x40a
je 0x444933
cmp ebx, 0x43f
je 0x444933
xor ecx, ecx
cmp ebx, 0x40b
setne cl
add ecx, 0x38
jmp 0x444938
mov ecx, 0x20
push str.....cryptoececx_meth.c
mov edx, 0x50
call fcn.00423170
mov edi, eax
add esp, 4
mov dword [esi + 0x3c], edi
test edi, edi
jne 0x44496d
push 0x52
push str.....cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.0040e790
add esp, 0x14
jmp 0x4449c5
cmp dword [ebp + 0x18], 2
jne 0x444a43
cmp ebx, 0x40a
je 0x444997
cmp ebx, 0x43f
je 0x444997
xor ecx, ecx
cmp ebx, 0x40b
setne cl
lea esi, [ecx + 0x38]
jmp 0x44499c
mov esi, 0x20
call fcn.004106b0
test eax, eax
jg 0x4449fd
push str.....cryptoececx_meth.c
mov edx, 0x57
mov ecx, edi
call fcn.004231c0
mov edx, dword [ebp - 4]
add esp, 4
mov dword [edx + 0x3c], 0
mov esi, edx
mov eax, dword [fcn.00419900]
test eax, eax
je 0x4449eb
cmp eax, fcn.00419900
je 0x4449eb
push 0x79
push str.....cryptoececx_meth.c
push esi
call eax
add esp, 0xc
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0057bec0
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x40a
jne 0x444a32
mov al, byte [edi + 0x1f]
and byte [edi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
mov esi, dword [ebp - 4]
lea eax, [ebx - 0x40a]
cmp eax, 0x36
ja case.0x444a2b.1036
movzx edx, byte [eax + 0x444af0]
jmp dword [edx*4 + 0x444adc]
cmp ebx, 0x40b
jne 0x444a12
and byte [edi], 0xfc
or byte [edi + 0x37], 0x80
jmp 0x444a12
cmp ebx, 0x40a
je 0x444a71
cmp ebx, 0x43f
je 0x444a71
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ebx, 0x40b
setne al
add eax, 0x38
push eax
push ecx
push edi
call fcn.0057e070
add esp, 0xc
jmp 0x444a15
mov ecx, dword [ebp + 0x14]
mov eax, 0x20
push eax
push ecx
push edi
call fcn.0057e070
add esp, 0xc
jmp 0x444a15
push esi
mov ecx, edi
call fcn.0048bdc0
jmp 0x444aad
mov edx, edi
mov edi, esi
call fcn.0048bca0
jmp case.0x444a2b.1036
push esi
mov ecx, edi
call fcn.0048dae0
jmp 0x444aad
push edi
mov edi, esi
call fcn.0048e2f0
add esp, 4
mov edi, dword [ebp + 8]
test edi, edi
je 0x444acd
push 0xffffffffffffffff
push 0
push ebx
mov ecx, edi
call fcn.00411a30
add esp, 0xc
test eax, eax
je 0x444acd
mov dword [edi + 0x18], esi
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret