Function at 0x4ae31b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x639034]
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.0046c578
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4ae47c
mov eax, dword [ebp - 0x5c]
test esi, esi
push eax
cmove esi, eax
mov dword [ebp - 0x60], esi
call fcn.00466091
mov dword [ebp - 0x50], eax
pop ecx
test eax, eax
js 0x4ae47c
mov esi, dword [ebp + 0x1c]
cmp esi, 0xffffffff
jne 0x4ae3c4
mov esi, eax
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
call fcn.0045fc8e
push dword [ebp - 0x48]
dec eax
and eax, 7
mov dword [ebp - 0x58], eax
call fcn.00480eb0
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 0x4ae3e6
push 0x46
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x85
jmp 0x4ae3d5
cmp esi, 0xfffffffd
jge 0x4ae387
push 0x3f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.0045b321
add esp, 0x14
jmp 0x4ae47c
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4ae3ee
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 0x4ae40d
push 0x4e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x6d
jmp 0x4ae3d5
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 0x4ae43b
lea esi, [eax - 2]
mov dword [ebp + 0x1c], esi
cmp byte [ecx + edx - 1], 0xbc
je 0x4ae444
push 0x58
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x86
jmp 0x4ae3d5
cmp esi, dword [ebp - 0x48]
jle 0x4ae426
push 0x54
jmp 0x4ae404
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.0045aaec
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4ae4a8
push 0x5f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.0045b321
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.0045ab1e
push dword [ebp - 0x4c]
call fcn.0046c559
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00546623
leave
ret
push dword [ebp - 0x60]
push dword [ebp - 0x50]
push esi
push edi
push eax
call fcn.004813fa
add esp, 0x14
test eax, eax
js 0x4ae479
mov edx, dword [ebp - 0x48]
test edi, edi
jle 0x4ae4d8
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 0x4ae4cd
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4ae4ed
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 0x4ae503
lea eax, [edi - 1]
cmp esi, eax
jge 0x4ae503
inc esi
cmp byte [esi + edx], 0
je 0x4ae4f8
mov al, byte [esi + edx]
inc esi
cmp al, 1
je 0x4ae51c
push 0x6a
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x87
jmp 0x4ae46d
mov eax, dword [ebp + 0x1c]
sub edi, esi
cmp eax, 0xfffffffe
je 0x4ae53b
cmp edi, eax
je 0x4ae53b
push 0x6e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
jmp 0x4ae46d
mov eax, dword [ebp - 0x5c]
push ebx
push eax
push dword [ebp - 0x4c]
call fcn.0046c288
add esp, 0xc
test eax, eax
je 0x4ae479
push 8
push 0x5d7100
push dword [ebp - 0x4c]
call fcn.0046c409
add esp, 0xc
test eax, eax
je 0x4ae479
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
call fcn.0046c409
add esp, 0xc
test eax, eax
je 0x4ae479
test edi, edi
je 0x4ae5a7
push edi
mov edi, dword [ebp - 0x48]
lea eax, [esi + edi]
push eax
push dword [ebp - 0x4c]
call fcn.0046c409
add esp, 0xc
test eax, eax
je 0x4ae47c
jmp 0x4ae5aa
mov edi, dword [ebp - 0x48]
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call fcn.0046c1fd
add esp, 0xc
test eax, eax
je 0x4ae47c
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push dword [ebp - 0x68]
push eax
call fcn.0055e074
add esp, 0xc
test eax, eax
je 0x4ae5e6
push 0x7c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x68
jmp 0x4ae3d5
xor ebx, ebx
inc ebx
jmp 0x4ae47c