Function at 0x495ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c
call fcn.00596bf0
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x18], ecx
jne 0x495f09
mov dword [ebp + 0x18], eax
cmp eax, ecx
jne 0x495f30
push 0x143
push str.....cryptoevpevp_lib.c
push 0x9f
push 0xa2
push 6
call fcn.0040e790
add esp, 0x14
jmp 0x496169
mov esi, dword [eax + 8]
mov dword [ebp - 0x10], esi
cmp esi, ecx
jl 0x496169
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x495f63
mov dword [ebp + 0x1c], esi
mov eax, dword [ebx + 0x10]
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
lea edi, [ecx - 1]
je 0x495f99
push eax
call fcn.00412710
add esp, 4
jmp 0x495fb0
cmp eax, 0xfffffffe
jne 0x495f71
mov dword [ebp + 0x1c], 0xfffffffd
jmp 0x495f49
cmp eax, 0xfffffffd
jge 0x495f49
push 0xae
push str.....crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.0040e790
add esp, 0x14
jmp 0x496169
test ecx, ecx
jne 0x495fa1
xor eax, eax
jmp 0x495fb0
mov eax, dword [eax]
mov ecx, dword [eax + edi*4]
call fcn.00412680
shl edi, 5
add eax, edi
lea edi, [eax - 1]
and edi, 7
push ebx
mov dword [ebp - 0x1c], edi
call fcn.0040f730
add esp, 4
mov ebx, eax
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x495fd9
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
inc eax
dec ebx
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x18], ebx
lea ecx, [esi + 2]
cmp ebx, ecx
jge 0x496000
push 0xba
push str.....crypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call fcn.0040e790
add esp, 0x14
jmp 0x496169
mov edi, dword [ebp + 0x1c]
sub ebx, esi
cmp edi, 0xfffffffd
jne 0x496050
lea edx, [ebx - 2]
mov dword [ebp + 0x1c], edx
mov edi, edx
test edi, edi
jle 0x496070
push 0xc5
push str.....crypto_rsa_rsa_pss.c
push edi
call fcn.004196c0
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jne 0x49605e
push 0xc8
push str.....crypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.0040e790
add esp, 0x14
jmp 0x496169
lea eax, [ebx - 2]
cmp edi, eax
jle 0x496012
push 0xc1
jmp 0x495fe5
push edi
push eax
call fcn.00410710
add esp, 8
test eax, eax
jle 0x496169
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + ecx - 1]
mov dword [ebp - 0x14], edx
call fcn.0041b950
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x496169
mov eax, dword [ebp + 0x14]
push 0
push eax
push esi
call fcn.0041ba00
add esp, 0xc
test eax, eax
je 0x496169
mov ecx, dword [esi + 0x14]
push 8
push 0x5c73d4
push esi
call ecx
add esp, 0xc
test eax, eax
je 0x496169
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0041bc50
add esp, 8
test eax, eax
je 0x496169
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4960ef
mov ecx, dword [ebp - 8]
push eax
push ecx
mov ecx, esi
call fcn.0041bc50
add esp, 8
test eax, eax
je 0x496169
mov ecx, dword [ebp - 0x14]
xor edi, edi
call fcn.0041bcf0
test eax, eax
je 0x496169
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push edx
push eax
lea eax, [ebx - 1]
push eax
push esi
call fcn.00464ba0
add esp, 0x10
test eax, eax
jne 0x496169
mov edi, dword [ebp + 0x1c]
sub ebx, edi
xor byte [ebx + esi - 2], 1
lea eax, [ebx + esi - 2]
inc eax
test edi, edi
jle 0x496143
xor ecx, ecx
test edi, edi
jle 0x496143
mov edx, dword [ebp - 8]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, edi
jl 0x496135
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49615a
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [esi], al
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi - 1], 0xbc
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 4]
push edx
call fcn.0041b8d0
mov edi, dword [fcn.00419900]
add esp, 4
test edi, edi
je 0x49619f
cmp edi, fcn.00419900
je 0x49619f
mov eax, dword [ebp - 4]
push 0x39
push str.....cryptoevpdigest.c
push eax
call edi
mov edi, dword [fcn.00419900]
add esp, 0xc
jmp 0x4961ab
mov ecx, dword [ebp - 4]
push ecx
call fcn.0057bec0
add esp, 4
mov esi, dword [ebp - 8]
test esi, esi
je 0x4961f8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4961c9
push eax
push esi
call fcn.00527a20
mov edi, dword [fcn.00419900]
add esp, 8
test edi, edi
je 0x4961ef
cmp edi, fcn.00419900
je 0x4961ef
push 0xf7
push str.....crypto_rsa_rsa_pss.c
push esi
call edi
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0057bec0
add esp, 4
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret