Function at 0x5e5454
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
push esi
cmovne eax, dword [ebp + 0x18]
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
call fcn.0053b734
mov edi, dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
pop ecx
test eax, eax
js 0x5e564f
cmp edi, 0xffffffff
jne 0x5e54d9
mov edi, eax
mov esi, dword [ebp + 8]
push dword [esi + 0x10]
call fcn.0053990a
dec eax
and eax, 7
push esi
mov dword [ebp - 0x18], eax
call fcn.0057a311
mov edx, eax
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x18], ebx
jne 0x5e54be
mov byte [esi], bl
inc esi
dec edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], esi
lea eax, [ecx + 2]
cmp edx, eax
jge 0x5e550b
push 0xba
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x6e
jmp 0x5e54f7
cmp edi, 0xfffffffe
jne 0x5e54e3
push 0xfffffffffffffffd
pop edi
jmp 0x5e5490
cmp edi, 0xfffffffd
jge 0x5e5490
push 0xae
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.0053f640
add esp, 0x14
jmp 0x5e564f
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x10], eax
lea ecx, [eax - 2]
cmp edi, 0xfffffffd
jne 0x5e5548
mov edi, ecx
test edi, edi
jle 0x5e556a
push 0xc5
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push edi
call fcn.005406a5
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x5e5556
push 0xc8
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x41
jmp 0x5e54f7
cmp edi, ecx
jle 0x5e551c
push 0xc1
jmp 0x5e54d0
push edi
push eax
call fcn.0054123c
pop ecx
pop ecx
test eax, eax
jle 0x5e564f
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
call fcn.0055c727
mov dword [ebp - 4], eax
test eax, eax
je 0x5e564f
push ebx
push dword [ebp + 0x14]
push eax
call fcn.0055c3f6
add esp, 0xc
test eax, eax
je 0x5e564f
push 8
push 0x82c4d0
push dword [ebp - 4]
call fcn.0055c577
add esp, 0xc
test eax, eax
je 0x5e564f
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.0055c577
add esp, 0xc
test eax, eax
je 0x5e564f
test edi, edi
je 0x5e55dd
push edi
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0055c577
add esp, 0xc
test eax, eax
je 0x5e564f
mov eax, dword [ebp - 0xc]
push ebx
add eax, esi
push eax
push dword [ebp - 4]
call fcn.0055c36b
add esp, 0xc
test eax, eax
je 0x5e564f
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
push dword [ebp + 0x18]
lea eax, [ecx + esi]
push eax
push ecx
push esi
call fcn.0059576d
add esp, 0x14
test eax, eax
jne 0x5e564f
mov ecx, dword [ebp - 0x10]
sub ecx, edi
add ecx, esi
xor byte [ecx - 2], 1
dec ecx
test edi, edi
jle 0x5e562f
mov esi, dword [ebp - 8]
mov al, byte [ebx + esi]
xor byte [ecx], al
inc ecx
inc ebx
cmp ebx, edi
jl 0x5e5621
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5e5644
push 8
pop ecx
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [esi], al
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
inc ebx
mov byte [eax + esi - 1], 0xbc
push dword [ebp - 4]
call fcn.0055c708
push 0xf7
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push edi
push dword [ebp - 8]
call fcn.0054074e
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret