Function at 0x5bc020
Capabilities:
Encode data using xor
Encrypt data using curve25519
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x14c
call fcn.005d6920
mov eax, dword [0x6a8c7c]
xor eax, esp
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
push ebx
push ebp
movups xmm0, xmmword [eax]
push esi
movups xmm1, xmmword [eax + 0x10]
xor ebp, ebp
movd eax, xmm0
movups xmmword [esp + 0x144], xmm1
push edi
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [esp + 0x138], xmm0
mov byte [esp + 0x138], al
movd eax, xmm1
push ecx
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [esp + 0x15b], al
lea eax, [esp + 0x114]
push eax
call fcn.005b9040
xorps xmm0, xmm0
mov ecx, 0xfe
movups xmmword [esp + 0xa0], xmm0
add esp, 8
mov dword [esp + 0x98], 1
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0x10], ecx
movq qword [esp + 0xb8], xmm0
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x110]
movups xmmword [esp + 0xc0], xmm0
movups xmm0, xmmword [esp + 0x120]
movups xmmword [esp + 0xd0], xmm0
movq xmm0, qword [esp + 0x130]
movq qword [esp + 0xe0], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x48], 1
movups xmmword [esp + 0x58], xmm0
movq qword [esp + 0x68], xmm0
mov eax, ecx
movzx ecx, cl
shr eax, 3
and ecx, 7
movzx ebx, byte [esp + eax + 0x138]
lea eax, [esp + 0xc0]
shr ebx, cl
and ebx, 1
xor ebp, ebx
mov dword [esp + 0x18], ebx
push ebp
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005b8f70
push ebp
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005b8f70
mov eax, dword [esp + 0xd8]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xdc]
sub eax, dword [esp + 0x64]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0x68]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xe8]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xec]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xf4]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xf8]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xc0]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0xc4]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0xc8]
sub eax, ebp
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xcc]
sub eax, edi
mov dword [esp + 0x11c], eax
mov eax, ebx
sub eax, dword [esp + 0x58]
mov dword [esp + 0x120], eax
mov esi, dword [esp + 0xd4]
mov eax, esi
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xb0]
add eax, dword [esp + 0x38]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xbc]
add eax, dword [esp + 0x44]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc0]
add eax, dword [esp + 0x48]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc4]
add eax, dword [esp + 0x4c]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0xd8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0xdc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0xe0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0xe4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0xe8]
add ebx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0xec]
add esi, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0xf0]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0xf4]
add dword [esp + 0xc8], ebp
add dword [esp + 0xcc], edi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0xf8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0xfc]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0xd4], ebx
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0xdc], esi
push eax
call fcn.005b9700
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x48]
push eax
push eax
call fcn.005b9700
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.005ba2c0
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.005ba2c0
mov ecx, dword [esp + 0x60]
add esp, 0x40
mov edx, dword [esp + 0x48]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc0], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc4], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc8], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xcc], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xd0], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xd4], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xd8], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xdc], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xe0], eax
lea eax, [ecx + edx]
sub edx, ecx
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xec]
mov dword [esp + 0x48], edx
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005b9700
mov eax, dword [esp + 0x8c]
sub dword [esp + 0x104], eax
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
sub dword [esp + 0xf4], esi
sub dword [esp + 0xf8], edi
sub dword [esp + 0xfc], ebx
sub dword [esp + 0x100], ebp
mov eax, dword [esp + 0x90]
sub dword [esp + 0x108], eax
mov eax, dword [esp + 0x94]
sub dword [esp + 0x10c], eax
mov eax, dword [esp + 0x98]
sub dword [esp + 0x110], eax
mov eax, dword [esp + 0x9c]
sub dword [esp + 0x114], eax
mov eax, dword [esp + 0xa0]
sub dword [esp + 0x118], eax
lea eax, [esp + 0x2c]
push eax
push eax
call fcn.005ba2c0
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.005ba030
lea eax, [esp + 0xdc]
push eax
push eax
call fcn.005ba2c0
mov eax, dword [esp + 0xa4]
add eax, dword [esp + 0x7c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa8]
add eax, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0x84]
add esi, dword [esp + 0x6c]
add edi, dword [esp + 0x70]
add ebx, dword [esp + 0x74]
add ebp, dword [esp + 0x78]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb0]
add eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0x8c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x90]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x138]
mov dword [esp + 0x98], esi
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0xa0], edi
push eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebp
call fcn.005b9700
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005b9700
mov ecx, dword [esp + 0x4c]
add esp, 0x3c
mov ebp, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x10], ecx
jns 0x5bc130
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xc0]
push esi
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005b8f70
push esi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005b8f70
lea eax, [esp + 0x38]
push eax
push eax
call fcn.005b9480
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xbc]
push eax
push eax
call fcn.005b9700
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x4c]
call fcn.005baf50
lea eax, [esp + 0x16c]
push 0x20
push eax
call fcn.00401360
mov ecx, dword [esp + 0x194]
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005d584c
add esp, 0x14c
ret