Function at 0x4e15d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.005ae090
mov ecx, dword [esp + 0x2c]
or eax, 0xffffffff
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
xor edi, edi
mov eax, dword [esp + 0x40]
mov edx, ecx
test eax, eax
mov dword [esp + 0x20], 0
push ecx
cmovne edx, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], edx
call fcn.00463e20
mov esi, dword [esp + 0x48]
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x4e18ba
cmp esi, 0xffffffff
jne 0x4e1626
mov esi, ebp
jmp 0x4e1639
cmp esi, 0xfffffffe
je 0x4e1634
cmp esi, 0xfffffffc
jne 0x4e16a5
mov dword [esp + 0x14], ebp
mov esi, 0xfffffffd
mov eax, dword [esp + 0x30]
push dword [eax + 0x14]
call fcn.0046f7f0
push dword [esp + 0x34]
lea ebx, [eax - 1]
and ebx, 7
mov dword [esp + 0x30], ebx
call fcn.004bdec0
add esp, 8
mov ecx, eax
test ebx, ebx
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x34]
jne 0x4e1672
mov byte [ebx], 0
inc ebx
dec ecx
mov dword [esp + 0x1c], ecx
lea eax, [ebp + 2]
cmp ecx, eax
jge 0x4e16d6
call fcn.004648b0
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xcf
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x6e
push 4
call fcn.00464ac0
add esp, 0x18
jmp 0x4e18ba
jge 0x4e1639
call fcn.004648b0
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xc4
push str.crypto_rsa_rsa_pss.c
call fcn.004649b0
push 0
push 0x88
push 4
call fcn.00464ac0
add esp, 0x18
jmp 0x4e18ba
mov eax, ecx
sub eax, ebp
mov dword [esp + 0x18], eax
lea ecx, [eax - 2]
cmp esi, 0xfffffffd
jne 0x4e18e3
mov esi, ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
js 0x4e16fa
cmp esi, ecx
jle 0x4e16fa
mov esi, ecx
test esi, esi
jle 0x4e173a
push 0xdb
push str.crypto_rsa_rsa_pss.c
push esi
call fcn.0045ef50
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4e18ba
mov eax, dword [esp + 0x30]
push 0
push esi
push edi
push dword [eax + 4]
call fcn.00464db0
add esp, 0x10
test eax, eax
jle 0x4e18ba
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x40], eax
call fcn.00478cb0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4e18ba
push 0
push dword [esp + 0x40]
push eax
call fcn.00478650
add esp, 0xc
test eax, eax
je 0x4e18ba
push 8
push 0x621114
push dword [esp + 0x18]
call fcn.00478690
add esp, 0xc
test eax, eax
je 0x4e18ba
push ebp
push dword [esp + 0x3c]
push dword [esp + 0x18]
call fcn.00478690
add esp, 0xc
test eax, eax
je 0x4e18ba
test esi, esi
je 0x4e17b5
push esi
push edi
push dword [esp + 0x18]
call fcn.00478690
add esp, 0xc
test eax, eax
je 0x4e18ba
mov eax, dword [esp + 0x40]
push 0
add eax, ebx
push eax
push dword [esp + 0x18]
call fcn.00478460
add esp, 0xc
test eax, eax
je 0x4e18ba
mov ecx, dword [esp + 0x40]
push dword [esp + 0x24]
push ebp
lea eax, [ecx + ebx]
push eax
push ecx
push ebx
call fcn.004e0630
add esp, 0x14
test eax, eax
jne 0x4e18ba
mov ecx, dword [esp + 0x18]
sub ecx, esi
add ecx, ebx
xor byte [ecx - 2], 1
dec ecx
test esi, esi
jle 0x4e1891
xor edx, edx
cmp esi, 0x40
jb 0x4e1883
lea eax, [edi - 1]
lea ebp, [ecx - 1]
add eax, esi
add ebp, esi
cmp ecx, eax
ja 0x4e181f
cmp ebp, edi
jae 0x4e1883
mov eax, esi
and eax, 0x8000003f
jns 0x4e182d
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, esi
sub ebp, eax
lea eax, [edi + 0x20]
movups xmm0, xmmword [ecx]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
xorps xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
movups xmm1, xmmword [eax - 0x50]
xorps xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x20]
movups xmm1, xmmword [eax - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
movups xmm1, xmmword [eax - 0x30]
movups xmm0, xmmword [ecx + 0x30]
xorps xmm1, xmm0
movups xmmword [ecx + 0x30], xmm1
add ecx, 0x40
cmp edx, ebp
jl 0x4e1834
mov dword [esp + 0x40], edx
cmp edx, esi
jge 0x4e1891
mov al, byte [edi + edx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, esi
jl 0x4e1883
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e18a9
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebx], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
mov byte [eax + ebx - 1], 0xbc
push dword [esp + 0x10]
call fcn.00478c20
push 0x10a
push str.crypto_rsa_rsa_pss.c
push esi
push edi
call fcn.0045f070
mov eax, dword [esp + 0x34]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp esi, ecx
jle 0x4e16fa
call fcn.004648b0
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xd7
jmp 0x4e1688