Function at 0x5a9493
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov dword [ebp - 0x48], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
dec edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x50], ecx
test edx, edx
jne 0x5a94e6
call fcn.005474e9
mov edx, eax
mov dword [ebp - 0x54], eax
test ebx, ebx
push edx
cmove ebx, edx
mov dword [ebp - 0x5c], ebx
call fcn.0054f2fe
mov ebx, eax
pop ecx
mov ecx, edi
lea eax, [ebx + ebx]
sub ecx, eax
mov dword [ebp - 0x68], ecx
dec ecx
cmp dword [ebp - 0x4c], ecx
jle 0x5a9526
push 0x3e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x6e
push 0x9a
push 4
call fcn.00553208
add esp, 0x14
xor eax, eax
jmp 0x5a966c
inc eax
cmp edi, eax
jge 0x5a9536
push 0x44
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x5a9510
mov ecx, dword [ebp - 0x48]
xor eax, eax
push eax
push dword [ebp - 0x54]
lea edi, [ecx + 1]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x70], edi
push eax
add ecx, ebx
push ecx
push dword [ebp + 0x1c]
push dword [ebp - 0x64]
call fcn.0056fe28
add esp, 0x18
test eax, eax
je 0x5a964b
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x4c]
dec eax
push eax
mov eax, dword [ebp - 0x48]
inc eax
add eax, ebx
add eax, ebx
push 0
push eax
call fcn.00739c90
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
inc eax
add eax, ebx
sub eax, edx
sub eax, ebx
add eax, dword [ebp - 0x58]
push edx
push dword [ebp - 0x6c]
push eax
mov byte [eax - 1], 1
call fcn.007390e0
push ebx
push edi
call fcn.00554e04
add esp, 0x20
test eax, eax
jle 0x5a964b
mov esi, dword [ebp - 0x58]
push 0x55
sub esi, ebx
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push esi
call fcn.0055426d
add esp, 0xc
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x5a95e0
push 0x57
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x41
push 0x9a
push 4
call fcn.00553208
add esp, 0x14
jmp 0x5a964b
push dword [ebp - 0x5c]
push ebx
push edi
push esi
push eax
call fcn.005a9334
add esp, 0x14
test eax, eax
js 0x5a964b
test esi, esi
jle 0x5a9614
mov eax, dword [ebp - 0x48]
mov edi, esi
mov edx, dword [ebp - 0x50]
inc eax
add eax, ebx
mov ecx, eax
sub edx, eax
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x5a9606
mov edi, dword [ebp - 0x70]
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
inc eax
push esi
add eax, ebx
push eax
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.005a9334
add esp, 0x14
test eax, eax
js 0x5a964b
test ebx, ebx
jle 0x5a9644
lea ecx, [ebp - 0x44]
sub ecx, edi
mov al, byte [ecx + edi]
xor byte [edi], al
inc edi
sub ebx, 1
jne 0x5a9639
mov dword [ebp - 0x60], 1
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00562841
push 0x68
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push esi
push dword [ebp - 0x50]
call fcn.00554316
mov eax, dword [ebp - 0x60]
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007207bc
leave
ret