Function at 0x4fe890
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x6f63a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x194]
push edx
mov dword [ebp - 0x238], eax
call fcn.004fe850
push 0
push 0x20
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0050dd00
push 0
push 0x20
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x194]
push edx
call fcn.0050da40
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
push ecx
lea edx, [ebp - 0x194]
push edi
push edx
call fcn.0050da40
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x194]
push ecx
call fcn.0050dc90
add esp, 0x40
push 0x20
lea eax, [esi + 0x20]
add ebx, 0x20
push ebx
push eax
mov dword [ebp - 0x23c], eax
call fcn.0054d9b0
lea edx, [ebp - 0x84]
push edx
call fcn.0051a1c0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.005126f0
lea edx, [ebp - 0x234]
push edx
push esi
call fcn.0051c6b0
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x194]
push ecx
call fcn.004fe850
push 0
push 0x40
lea edx, [ebp - 0x194]
push esi
push edx
call fcn.0050da40
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
push ecx
lea edx, [ebp - 0x194]
push edi
push edx
call fcn.0050da40
add esp, 0x48
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x194]
push ecx
call fcn.0050dc90
lea edx, [ebp - 0xc4]
push edx
call fcn.0051a1c0
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x23c]
lea edx, [ebp - 0x44]
mov byte [ebp - 0x25], al
push edx
lea eax, [ebp - 0xc4]
push eax
push ecx
call fcn.005165c0
lea edx, [ebp - 0x44]
push 0x40
push edx
call fcn.004fc560
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.004fc560
mov eax, dword [ebp - 0x238]
add esp, 0x2c
pop edi
pop esi
pop ebx
test eax, eax
je 0x4fea10
mov dword [eax], 0x40
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0052bc5f
mov esp, ebp
pop ebp
ret

Function at 0x4fef80
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.004fef50
mov esi, dword [ebp + 0xc]
cmp esi, 0xffffffff
jbe 0x4fef96
call fcn.004fc480
mov eax, dword [ebp + 8]
push esi
push eax
call sub.ADVAPI32.dll_SystemFunction036
pop esi
test al, al
jne 0x4fefab
pop ebp
jmp fcn.004fc480
pop ebp
ret

Function at 0x4ff010
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
lea ecx, [edx + 0x18]
lea eax, [esi + 8]
sub edx, esi
push edi
mov esi, 0x20
mov edi, dword [ecx - 0x18]
xor dword [eax - 8], edi
mov edi, dword [ecx - 0x14]
xor dword [eax - 4], edi
mov edi, dword [edx + eax]
xor dword [eax], edi
mov edi, dword [edx + eax + 4]
xor dword [eax + 4], edi
mov edi, dword [ecx - 8]
xor dword [eax + 8], edi
mov edi, dword [ecx - 4]
xor dword [eax + 0xc], edi
mov edi, dword [ecx]
xor dword [eax + 0x10], edi
mov edi, dword [ecx + 4]
xor dword [eax + 0x14], edi
add eax, 0x20
add ecx, 0x20
dec esi
jne 0x4ff021
pop edi
pop esi
ret