Function at 0x481559
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x639034]
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 0x4815ac
call fcn.004583ae
mov edx, eax
mov dword [ebp - 0x54], eax
test ebx, ebx
push edx
cmove ebx, edx
mov dword [ebp - 0x5c], ebx
call fcn.00466091
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 0x4815ec
push 0x3e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x6e
push 0x9a
push 4
call fcn.0045b321
add esp, 0x14
xor eax, eax
jmp 0x481732
inc eax
cmp edi, eax
jge 0x4815fc
push 0x44
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x4815d6
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.0046c0f2
add esp, 0x18
test eax, eax
je 0x481711
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.0055fb20
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.0055f020
push ebx
push edi
call fcn.00499fd7
add esp, 0x20
test eax, eax
jle 0x481711
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.0045aaec
add esp, 0xc
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x4816a6
push 0x57
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x41
push 0x9a
push 4
call fcn.0045b321
add esp, 0x14
jmp 0x481711
push dword [ebp - 0x5c]
push ebx
push edi
push esi
push eax
call fcn.004813fa
add esp, 0x14
test eax, eax
js 0x481711
test esi, esi
jle 0x4816da
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 0x4816cc
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.004813fa
add esp, 0x14
test eax, eax
js 0x481711
test ebx, ebx
jle 0x48170a
lea ecx, [ebp - 0x44]
sub ecx, edi
mov al, byte [ecx + edi]
xor byte [edi], al
inc edi
sub ebx, 1
jne 0x4816ff
mov dword [ebp - 0x60], 1
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045d198
push 0x68
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push esi
push dword [ebp - 0x50]
call fcn.0045ab95
mov eax, dword [ebp - 0x60]
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00546623
leave
ret