Function at 0x4ae226
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x638034]
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.0046c47d
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4ae387
mov eax, dword [ebp - 0x5c]
test esi, esi
push eax
cmove esi, eax
mov dword [ebp - 0x60], esi
call fcn.00465f96
mov dword [ebp - 0x50], eax
pop ecx
test eax, eax
js 0x4ae387
mov esi, dword [ebp + 0x1c]
cmp esi, 0xffffffff
jne 0x4ae2cf
mov esi, eax
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
call fcn.0045fb93
push dword [ebp - 0x48]
dec eax
and eax, 7
mov dword [ebp - 0x58], eax
call fcn.00480db5
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 0x4ae2f1
push 0x46
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x85
jmp 0x4ae2e0
cmp esi, 0xfffffffd
jge 0x4ae292
push 0x3f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.0045b227
add esp, 0x14
jmp 0x4ae387
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4ae2f9
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 0x4ae318
push 0x4e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x6d
jmp 0x4ae2e0
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 0x4ae346
lea esi, [eax - 2]
mov dword [ebp + 0x1c], esi
cmp byte [ecx + edx - 1], 0xbc
je 0x4ae34f
push 0x58
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x86
jmp 0x4ae2e0
cmp esi, dword [ebp - 0x48]
jle 0x4ae331
push 0x54
jmp 0x4ae30f
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.0045a9f5
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4ae3b3
push 0x5f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.0045b227
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.0045aa27
push dword [ebp - 0x4c]
call fcn.0046c45e
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005462f1
leave
ret
push dword [ebp - 0x60]
push dword [ebp - 0x50]
push esi
push edi
push eax
call fcn.004812ff
add esp, 0x14
test eax, eax
js 0x4ae384
mov edx, dword [ebp - 0x48]
test edi, edi
jle 0x4ae3e3
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 0x4ae3d8
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4ae3f8
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 0x4ae40e
lea eax, [edi - 1]
cmp esi, eax
jge 0x4ae40e
inc esi
cmp byte [esi + edx], 0
je 0x4ae403
mov al, byte [esi + edx]
inc esi
cmp al, 1
je 0x4ae427
push 0x6a
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x87
jmp 0x4ae378
mov eax, dword [ebp + 0x1c]
sub edi, esi
cmp eax, 0xfffffffe
je 0x4ae446
cmp edi, eax
je 0x4ae446
push 0x6e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
jmp 0x4ae378
mov eax, dword [ebp - 0x5c]
push ebx
push eax
push dword [ebp - 0x4c]
call fcn.0046c18d
add esp, 0xc
test eax, eax
je 0x4ae384
push 8
push 0x5d70f0
push dword [ebp - 0x4c]
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4ae384
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4ae384
test edi, edi
je 0x4ae4b2
push edi
mov edi, dword [ebp - 0x48]
lea eax, [esi + edi]
push eax
push dword [ebp - 0x4c]
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4ae387
jmp 0x4ae4b5
mov edi, dword [ebp - 0x48]
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call fcn.0046c102
add esp, 0xc
test eax, eax
je 0x4ae387
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push dword [ebp - 0x68]
push eax
call fcn.0055dd41
add esp, 0xc
test eax, eax
je 0x4ae4f1
push 0x7c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x68
jmp 0x4ae2e0
xor ebx, ebx
inc ebx
jmp 0x4ae387