Function at 0x5be7d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.004ce320
mov eax, dword [0x74b1ac]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
push ebp
mov ebp, dword [esp + 0xec]
xor ebx, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe0]
push esi
push edi
mov dword [esp + 0x18], eax
xor edi, edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x30], 0
test eax, eax
jne 0x5be840
call fcn.005667c0
mov dword [esp + 0x38], eax
test ebp, ebp
push eax
cmove ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.0058aae0
add esp, 4
mov ebp, eax
mov dword [esp + 0x2c], ebp
cmp dword [esp + 0xd8], ebx
jle 0x5bee58
mov esi, dword [esp + 0xe0]
test esi, esi
jle 0x5bee58
mov ecx, dword [esp + 0x40]
cmp ecx, esi
jl 0x5bee3d
lea eax, [ebp*2 + 2]
cmp ecx, eax
jl 0x5bee3d
sub ecx, ebp
push 0x9d
dec ecx
push str.....crypto_rsa_rsa_oaep.c
push ecx
mov dword [esp + 0x30], ecx
call fcn.0055fdc0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5be8d5
push 0x9f
push str.....crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.0056dc20
mov esi, dword [esp + 0x38]
add esp, 0x14
jmp 0x5bedeb
mov edi, dword [esp + 0x40]
push 0xa3
push str.....crypto_rsa_rsa_oaep.c
push edi
call fcn.0055fdc0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x5be914
push 0xa6
push str.....crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.0056dc20
add esp, 0x14
jmp 0x5bede3
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xdc]
add ebx, edi
add edx, esi
mov dword [esp + 0x1c], ebx
test edi, edi
jle 0x5be957
nop dword [eax + eax]
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebx
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [ebx], cl
sub edi, 1
jne 0x5be930
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
push dword [esp + 0x28]
movzx ebx, byte [ebx]
mov esi, dword [esp + 0x28]
lea edi, [eax + 1]
inc eax
add eax, ebp
mov dword [esp + 0x14], edi
push esi
push eax
lea ebx, [ebx - 1]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
shr ebx, 0x1f
push ebp
push eax
neg ebx
call fcn.005be240
add esp, 0x14
test eax, eax
jne 0x5bede7
xor edx, edx
test ebp, ebp
jle 0x5bea78
cmp ebp, 0x40
jb 0x5bea62
lea eax, [edi - 1]
lea esi, [esp + 0x4c]
add eax, ebp
cmp esi, eax
lea ecx, [esp + ebp + 0x4b]
mov esi, dword [esp + 0x24]
ja 0x5be9c4
cmp ecx, edi
jae 0x5bea62
mov eax, ebp
and eax, 0x8000003f
jns 0x5be9d2
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, ebp
lea esi, [esp + 0x4c]
sub esi, edi
lea ebp, [esp + 0x5c]
sub ecx, eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x24]
lea eax, [edi + 0x20]
sub ebp, edi
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
nop dword [eax]
movups xmm0, xmmword [esp + edx + 0x4c]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
movups xmm0, xmmword [esp + edx + 0x5c]
movups xmm1, xmmword [eax - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [esp + edx + 0x5c], xmm1
add edx, 0x40
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax + ebp - 0x40], xmm1
movups xmm0, xmmword [edi + eax - 0x40]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
cmp edx, ecx
jl 0x5bea00
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
cmp edx, ebp
jge 0x5bea78
lea eax, [esp + 0x4c]
sub edi, eax
lea ecx, [esp + 0x4c]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor byte [ecx], al
cmp edx, ebp
jl 0x5bea68
push dword [esp + 0x28]
lea eax, [esp + 0x50]
push ebp
push eax
push esi
push dword [esp + 0x24]
call fcn.005be240
add esp, 0x14
test eax, eax
jne 0x5bede7
xor edi, edi
test esi, esi
jle 0x5beb82
mov ecx, dword [esp + 0x14]
cmp esi, 0x40
jb 0x5beb56
mov edx, dword [esp + 0x34]
lea eax, [edx - 1]
add eax, esi
cmp ecx, eax
ja 0x5beac8
lea eax, [ecx - 1]
add eax, esi
cmp eax, edx
jae 0x5beb56
mov eax, esi
and eax, 0x8000003f
jns 0x5bead6
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
add eax, 0x10
lea ecx, [edx + 0x30]
sub edx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x10]
add edi, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edi, edx
jl 0x5beb00
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
cmp edi, esi
jge 0x5beb82
mov ebp, dword [esp + 0x34]
mov edx, esi
sub ebp, dword [esp + 0x14]
add ecx, edi
sub edx, edi
nop dword [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x5beb70
mov ebp, dword [esp + 0x2c]
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x2c]
call fcn.00565d50
add esp, 0x18
test eax, eax
je 0x5bede7
push ebp
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x1c]
call fcn.00589ee0
add esp, 0xc
mov edi, ebp
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebx, ecx
mov dword [esp + 0x28], ebx
xor ebx, ebx
cmp ebp, esi
jge 0x5bec39
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
movzx esi, byte [edi + eax]
mov eax, ebx
mov edx, esi
not eax
xor edx, 1
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or ebx, edx
mov dword [esp + 0x18], eax
not eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
and ecx, edi
and eax, dword [esp + 0x30]
inc edi
or eax, ecx
mov dword [esp + 0x30], eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x24]
shr eax, 0x1f
neg eax
or eax, ebx
and ebp, eax
cmp edi, esi
jl 0x5bebe3
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0xd8]
mov eax, esi
sub eax, dword [esp + 0x30]
mov edx, esi
dec eax
sub edx, ebp
sub ecx, eax
mov dword [esp + 0x3c], eax
xor ecx, eax
xor eax, dword [esp + 0xd8]
or ecx, eax
mov eax, dword [esp + 0xd8]
xor ecx, eax
lea edi, [edx - 1]
shr ecx, 0x1f
dec ecx
mov dword [esp + 0x38], edi
and ecx, ebx
mov ebx, dword [esp + 0x28]
and ebx, ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x28], ebx
xor ecx, eax
mov eax, edi
xor eax, dword [esp + 0xd8]
or ecx, eax
xor ecx, edi
shr ecx, 0x1f
neg ecx
mov dword [esp + 0x18], ecx
not ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and eax, edi
and ecx, dword [esp + 0xd8]
mov edi, 1
or ecx, eax
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x38], edi
jle 0x5bed4e
sub edx, dword [esp + 0x3c]
lea eax, [edx - 1]
lea edx, [ebp + 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edx
and eax, edi
sub esi, edi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, esi
jge 0x5bed32
mov eax, dword [esp + 0x14]
movzx ecx, cl
add eax, edx
mov ebp, ecx
mov dword [esp + 0x20], ecx
not ebp
sub esi, edx
nop
mov dword [esp + 0x18], ecx
lea eax, [eax + 1]
movzx ecx, byte [eax + edi - 1]
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
and bl, cl
movzx ecx, byte [eax - 1]
and dl, cl
mov ecx, dword [esp + 0x20]
or dl, bl
mov byte [eax - 1], dl
sub esi, 1
jne 0x5bed00
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
add edi, edi
mov eax, dword [esp + 0x30]
cmp edi, dword [esp + 0x38]
jl 0x5becd6
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
jle 0x5bedbd
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
inc eax
shr ecx, 0x1f
neg edi
mov dword [esp + 0x20], ecx
add ebp, eax
nop dword [eax]
mov eax, edi
lea ebp, [ebp + 1]
shr eax, 0x1f
inc edi
xor al, cl
or al, cl
neg al
movzx ecx, al
movzx eax, bl
and ecx, eax
movzx eax, byte [ebp - 1]
mov dword [esp + 0x18], ecx
not ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and dl, al
mov eax, dword [esp + 0x48]
movzx eax, byte [eax + esi]
and cl, al
mov eax, dword [esp + 0x48]
or cl, dl
mov byte [eax + esi], cl
inc esi
mov ecx, dword [esp + 0x20]
cmp esi, dword [esp + 0x34]
jl 0x5bed70
push 0x107
push str.....crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0056dc20
mov eax, ebx
and eax, 1
push eax
call fcn.0056de70
add esp, 0x18
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push 0x40
push eax
call fcn.00586a70
push 0x10b
push str.....crypto_rsa_rsa_oaep.c
push esi
push dword [esp + 0x28]
call fcn.0055feb0
mov eax, dword [esp + 0x58]
push 0x10c
push str.....crypto_rsa_rsa_oaep.c
push eax
push edi
call fcn.0055feb0
mov dword [esp + 0x40], ebx
add esp, 0x28
not ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x18]
and ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
or eax, ecx
jmp 0x5bee5b
push 0x98
push str.....crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0056dc20
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cd30a
add esp, 0xc0
ret