Function at 0x5e5674
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x48], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x5c], eax
mov edi, ebx
call fcn.0055c727
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x5e57d5
mov eax, dword [ebp - 0x5c]
test esi, esi
push eax
cmove esi, eax
mov dword [ebp - 0x60], esi
call fcn.0053b734
mov dword [ebp - 0x50], eax
pop ecx
test eax, eax
js 0x5e57d5
mov esi, dword [ebp + 0x1c]
cmp esi, 0xffffffff
jne 0x5e571d
mov esi, eax
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
call fcn.0053990a
push dword [ebp - 0x48]
dec eax
and eax, 7
mov dword [ebp - 0x58], eax
call fcn.0057a311
pop ecx
mov edx, eax
mov eax, 0xff
pop ecx
mov ecx, dword [ebp - 0x58]
shl eax, cl
mov ecx, dword [ebp - 0x54]
test byte [ecx], al
je 0x5e573f
push 0x46
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x85
jmp 0x5e572e
cmp esi, 0xfffffffd
jge 0x5e56e0
push 0x3f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.0053f640
add esp, 0x14
jmp 0x5e57d5
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x5e5747
dec edx
inc ecx
test eax, eax
mov eax, dword [ebp - 0x50]
cmovne ecx, dword [ebp - 0x54]
add eax, 2
mov dword [ebp - 0x54], ecx
cmp edx, eax
jge 0x5e5766
push 0x4e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x6d
jmp 0x5e572e
mov eax, edx
sub eax, dword [ebp - 0x50]
lea ecx, [eax - 2]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x54]
cmp esi, 0xfffffffd
jne 0x5e5794
lea esi, [eax - 2]
mov dword [ebp + 0x1c], esi
cmp byte [ecx + edx - 1], 0xbc
je 0x5e579d
push 0x58
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x86
jmp 0x5e572e
cmp esi, dword [ebp - 0x48]
jle 0x5e577f
push 0x54
jmp 0x5e575d
lea edi, [eax - 1]
push 0x5d
lea esi, [ecx + edi]
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push edi
mov dword [ebp - 0x68], esi
call fcn.005406a5
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x5e5801
push 0x5f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.0053f640
add esp, 0x14
mov edi, dword [ebp - 0x48]
push 0x83
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push edi
call fcn.005406d7
push dword [ebp - 0x4c]
call fcn.0055c708
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006fedff
leave
ret
push dword [ebp - 0x60]
push dword [ebp - 0x50]
push esi
push edi
push eax
call fcn.0059576d
add esp, 0x14
test eax, eax
js 0x5e57d2
mov edx, dword [ebp - 0x48]
test edi, edi
jle 0x5e5831
mov ecx, dword [ebp - 0x54]
mov esi, edx
sub ecx, edx
mov ebx, edi
mov al, byte [ecx + esi]
xor byte [esi], al
inc esi
sub ebx, 1
jne 0x5e5826
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5e5846
push 8
pop ecx
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [edx], al
mov al, byte [edx]
mov esi, ebx
test al, al
jne 0x5e585c
lea eax, [edi - 1]
cmp esi, eax
jge 0x5e585c
inc esi
cmp byte [esi + edx], 0
je 0x5e5851
mov al, byte [esi + edx]
inc esi
cmp al, 1
je 0x5e5875
push 0x6a
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x87
jmp 0x5e57c6
mov eax, dword [ebp + 0x1c]
sub edi, esi
cmp eax, 0xfffffffe
je 0x5e5894
cmp edi, eax
je 0x5e5894
push 0x6e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
jmp 0x5e57c6
mov eax, dword [ebp - 0x5c]
push ebx
push eax
push dword [ebp - 0x4c]
call fcn.0055c3f6
add esp, 0xc
test eax, eax
je 0x5e57d2
push 8
push 0x82c4d0
push dword [ebp - 0x4c]
call fcn.0055c577
add esp, 0xc
test eax, eax
je 0x5e57d2
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
call fcn.0055c577
add esp, 0xc
test eax, eax
je 0x5e57d2
test edi, edi
je 0x5e5900
push edi
mov edi, dword [ebp - 0x48]
lea eax, [esi + edi]
push eax
push dword [ebp - 0x4c]
call fcn.0055c577
add esp, 0xc
test eax, eax
je 0x5e57d5
jmp 0x5e5903
mov edi, dword [ebp - 0x48]
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call fcn.0055c36b
add esp, 0xc
test eax, eax
je 0x5e57d5
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push dword [ebp - 0x68]
push eax
call fcn.007166ae
add esp, 0xc
test eax, eax
je 0x5e593f
push 0x7c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x68
jmp 0x5e572e
xor ebx, ebx
inc ebx
jmp 0x5e57d5