Function at 0x4b3170
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xe4]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xe4], 0
xor eax, eax
push fcn.004b3130
push ebp
push 0x4135b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 3
mov eax, 0x56e578
call fcn.004b3ae0
mov dword [ebp - 0x10], eax
xor eax, eax
push fcn.004b3120
push ebp
push 0x4135b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.0049a990
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
and al, 0xf8
mov edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x1f]
and ax, 0x3f
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x1f], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x1f]
or eax, 0x40
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x1f], al
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b3225
mov eax, dword [eax - 4]
add eax, 1
add eax, 0x40
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
push eax
mov edx, 0x537ef0
mov eax, dword [ebp + 8]
mov ecx, 1
call fcn.0040bda0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b3254
mov eax, dword [eax - 4]
add eax, 1
test eax, eax
jle 0x4b3278
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4b3265
mov ecx, dword [ecx - 4]
add ecx, 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea edx, [eax + 0x40]
mov eax, dword [ebp - 4]
call fcn.00402d40
lea esi, [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea edx, [eax + 0x20]
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov ecx, 0x20
call fcn.00402d40
mov ebx, 0x537ef0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b32a2
mov eax, dword [eax - 4]
add eax, 1
add eax, 0x20
push eax
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea edx, [eax + 0x20]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.0049a990
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x18]
mov ecx, ebx
call fcn.0040bd80
lea eax, [ebp - 0x18]
call fcn.004b07e0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xbc]
call fcn.004adee0
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0xdc]
call fcn.004adbf0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea eax, [ebp - 0xdc]
mov ecx, 0x20
call fcn.00402d40
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea edx, [eax + 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, 0x20
call fcn.00402d40
mov ebx, 0x537ef0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b3332
mov eax, dword [eax - 4]
add eax, 1
add eax, 0x40
push eax
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.0049a990
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x1c]
mov ecx, ebx
call fcn.0040bd80
lea eax, [ebp - 0x1c]
call fcn.004b07e0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x20
call fcn.004b0b20
mov dword [ebp - 0xe0], 0x40
lea eax, [ebp - 0xe0]
push eax
mov edx, 0x537ef0
mov eax, dword [ebp + 8]
mov ecx, 1
call fcn.0040bda0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004b3120
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004b3130
pop ebx
mov esp, ebp
pop ebp
ret 4