Function at 0x4a89e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x62fff4]
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.00466c42
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4a8b46
mov eax, dword [ebp - 0x5c]
test esi, esi
push eax
cmove esi, eax
mov dword [ebp - 0x60], esi
call fcn.0046075b
mov dword [ebp - 0x50], eax
pop ecx
test eax, eax
js 0x4a8b46
mov esi, dword [ebp + 0x1c]
cmp esi, 0xffffffff
jne 0x4a8a8e
mov esi, eax
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
call fcn.0045a358
push dword [ebp - 0x48]
dec eax
and eax, 7
mov dword [ebp - 0x58], eax
call fcn.0047b577
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 0x4a8ab0
push 0x46
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x85
jmp 0x4a8a9f
cmp esi, 0xfffffffd
jge 0x4a8a51
push 0x3f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.004559e9
add esp, 0x14
jmp 0x4a8b46
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4a8ab8
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 0x4a8ad7
push 0x4e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x6d
jmp 0x4a8a9f
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 0x4a8b05
lea esi, [eax - 2]
mov dword [ebp + 0x1c], esi
cmp byte [ecx + edx - 1], 0xbc
je 0x4a8b0e
push 0x58
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x86
jmp 0x4a8a9f
cmp esi, dword [ebp - 0x48]
jle 0x4a8af0
push 0x54
jmp 0x4a8ace
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.004551b7
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4a8b72
push 0x5f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.004559e9
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.004551e9
push dword [ebp - 0x4c]
call fcn.00466c23
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00540aaa
leave
ret
push dword [ebp - 0x60]
push dword [ebp - 0x50]
push esi
push edi
push eax
call fcn.0047bac1
add esp, 0x14
test eax, eax
js 0x4a8b43
mov edx, dword [ebp - 0x48]
test edi, edi
jle 0x4a8ba2
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 0x4a8b97
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4a8bb7
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 0x4a8bcd
lea eax, [edi - 1]
cmp esi, eax
jge 0x4a8bcd
inc esi
cmp byte [esi + edx], 0
je 0x4a8bc2
mov al, byte [esi + edx]
inc esi
cmp al, 1
je 0x4a8be6
push 0x6a
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x87
jmp 0x4a8b37
mov eax, dword [ebp + 0x1c]
sub edi, esi
cmp eax, 0xfffffffe
je 0x4a8c05
cmp edi, eax
je 0x4a8c05
push 0x6e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
jmp 0x4a8b37
mov eax, dword [ebp - 0x5c]
push ebx
push eax
push dword [ebp - 0x4c]
call fcn.00466952
add esp, 0xc
test eax, eax
je 0x4a8b43
push 8
push 0x5cf730
push dword [ebp - 0x4c]
call fcn.00466ad3
add esp, 0xc
test eax, eax
je 0x4a8b43
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
call fcn.00466ad3
add esp, 0xc
test eax, eax
je 0x4a8b43
test edi, edi
je 0x4a8c71
push edi
mov edi, dword [ebp - 0x48]
lea eax, [esi + edi]
push eax
push dword [ebp - 0x4c]
call fcn.00466ad3
add esp, 0xc
test eax, eax
je 0x4a8b46
jmp 0x4a8c74
mov edi, dword [ebp - 0x48]
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call fcn.004668c7
add esp, 0xc
test eax, eax
je 0x4a8b46
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push dword [ebp - 0x68]
push eax
call fcn.005584f1
add esp, 0xc
test eax, eax
je 0x4a8cb0
push 0x7c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x68
jmp 0x4a8a9f
xor ebx, ebx
inc ebx
jmp 0x4a8b46