Function at 0x5f8520
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.004ceab0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, ecx
push ebx
xor ebx, ebx
mov dword [esp + 0xc], 0
test eax, eax
mov dword [esp + 4], ebx
push ecx
cmovne edx, eax
mov dword [esp + 0x14], edx
call fcn.005a5df0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
js 0x5f87cb
push edi
mov edi, dword [esp + 0x34]
cmp edi, 0xffffffff
jne 0x5f85ba
mov edi, eax
push ebp
push esi
mov esi, dword [esp + 0x28]
push dword [esi + 0x10]
call fcn.0058ac20
push esi
lea ebp, [eax - 1]
and ebp, 7
mov dword [esp + 0x28], ebp
call fcn.0058ef50
add esp, 8
mov edx, eax
test ebp, ebp
mov dword [esp + 0x14], edx
mov ebp, dword [esp + 0x2c]
jne 0x5f85a5
mov byte [ebp], bl
inc ebp
dec edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 2]
cmp edx, eax
jge 0x5f85e6
push 0xb8
jmp 0x5f863b
cmp edi, 0xfffffffe
jne 0x5f85c1
jmp 0x5f856d
jge 0x5f856d
push 0xac
push str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.00594ae0
add esp, 0x14
jmp 0x5f87ca
mov esi, edx
sub esi, ecx
cmp edi, 0xfffffffe
jne 0x5f862f
lea edi, [esi - 2]
test edi, edi
jle 0x5f8668
push 0xc3
push str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
push edi
call fcn.00587500
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x5f8656
push 0xc6
push str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.00594ae0
add esp, 0x14
jmp 0x5f87c8
lea eax, [esi - 2]
cmp edi, eax
jle 0x5f85f2
push 0xbf
push str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call fcn.00594ae0
add esp, 0x14
jmp 0x5f87c8
push edi
push ebx
call fcn.00592aa0
add esp, 8
test eax, eax
jle 0x5f87c8
call fcn.0058dea0
mov dword [esp + 0x10], eax
test eax, eax
je 0x5f87c8
push 0
push dword [esp + 0x38]
push eax
call fcn.0058db10
add esp, 0xc
test eax, eax
je 0x5f87c8
push 8
push 0x6c3b74
push dword [esp + 0x18]
call fcn.0058dcc0
add esp, 0xc
test eax, eax
je 0x5f87c8
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x18]
call fcn.0058dcc0
add esp, 0xc
test eax, eax
je 0x5f87c8
test edi, edi
je 0x5f86e1
push edi
push ebx
push dword [esp + 0x18]
call fcn.0058dcc0
add esp, 0xc
test eax, eax
je 0x5f87c8
lea eax, [esi - 1]
push 0
add eax, ebp
push eax
push dword [esp + 0x18]
call fcn.0058da70
add esp, 0xc
test eax, eax
je 0x5f87c8
push dword [esp + 0x1c]
lea ecx, [esi - 1]
push dword [esp + 0x3c]
lea eax, [ecx + ebp]
push eax
push ecx
push ebp
call fcn.005dec10
add esp, 0x14
test eax, eax
jne 0x5f87c8
sub esi, edi
xor byte [esi + ebp - 2], 1
lea ecx, [esi + ebp]
dec ecx
test edi, edi
jle 0x5f879e
xor edx, edx
cmp edi, 0x20
jb 0x5f8789
lea eax, [ebx - 1]
lea esi, [ecx - 1]
add eax, edi
add esi, edi
cmp ecx, eax
ja 0x5f8746
cmp esi, ebx
jae 0x5f8789
mov eax, edi
and eax, 0x8000001f
jns 0x5f8754
dec eax
or eax, 0xffffffe0
inc eax
mov esi, edi
sub esi, eax
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ebx + edx]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
add ecx, 0x20
cmp edx, esi
jl 0x5f8760
cmp edx, edi
jge 0x5f879e
nop dword [eax]
mov al, byte [edx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jl 0x5f8790
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5f87b7
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
mov byte [eax + ebp - 1], 0xbc
pop esi
pop ebp
pop edi
push dword [esp + 4]
call fcn.0058de80
push 0xf5
push str.....openssl_1.1.0fcrypto_rsa_rsa_pss.c
push ebx
call fcn.00587530
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop ebx
add esp, 0x14
ret