Function at 0x4a99c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x68
call fcn.004f5150
mov eax, dword [0x595cb8]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x20], eax
dec edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4a9a25
call fcn.004b4850
mov ecx, eax
mov dword [esp + 0x14], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x2c], esi
call fcn.004b6700
mov esi, eax
mov ecx, edi
add esp, 4
mov dword [esp + 0x30], esi
lea eax, [esi + esi]
sub ecx, eax
mov dword [esp + 0x1c], ecx
dec ecx
cmp ebx, ecx
jle 0x4a9a7a
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.00497360
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004f4566
add esp, 0x68
ret
inc eax
cmp edi, eax
jge 0x4a9a8a
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x4a9a56
mov ebx, dword [esp + 0x18]
push 0
push dword [esp + 0x18]
inc ebx
mov byte [ebp], 0
push 0
add ebx, esi
inc ebp
push ebx
push dword [esp + 0xa0]
mov dword [esp + 0x38], ebp
push dword [esp + 0x40]
mov dword [esp + 0x30], ebx
call fcn.004b9110
add esp, 0x18
test eax, eax
je 0x4a9a65
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x10]
dec eax
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.004f9110
mov ecx, dword [esp + 0x1c]
mov eax, ebx
sub eax, ecx
sub eax, esi
push ecx
push dword [esp + 0x30]
add eax, edi
push eax
mov byte [eax - 1], 1
call fcn.004f8b90
push esi
push ebp
call fcn.0049af20
add esp, 0x20
test eax, eax
jle 0x4a9a65
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.0049bf00
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a9b28
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x4a9a56
push dword [esp + 0x28]
push esi
push ebp
push edi
push eax
call fcn.004a9810
add esp, 0x14
test eax, eax
js 0x4a9a65
xor edx, edx
test edi, edi
jle 0x4a9bf9
cmp edi, 0x20
jb 0x4a9bd2
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
add eax, edi
cmp ebx, eax
ja 0x4a9b69
lea eax, [ebx - 1]
add eax, edi
cmp eax, ecx
jae 0x4a9bd2
mov eax, edi
and eax, 0x8000001f
jns 0x4a9b77
dec eax
or eax, 0xffffffe0
inc eax
mov ebp, ecx
mov dword [esp + 0x10], edi
sub dword [esp + 0x10], eax
sub ebp, ebx
add ecx, 0x10
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
mov eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [esi + edx]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x4a9ba0
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
cmp edx, edi
jge 0x4a9bf9
mov ebp, dword [esp + 0x14]
lea ecx, [edx + ebx]
sub ebp, ebx
mov ebx, edi
sub ebx, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x4a9be3
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push edi
push ebx
push esi
push eax
call fcn.004a9810
add esp, 0x14
test eax, eax
js 0x4a9a65
xor edx, edx
test esi, esi
jle 0x4a9cae
cmp esi, 0x20
jb 0x4a9c8b
lea ecx, [ebp - 1]
lea eax, [esp + esi + 0x33]
add ecx, esi
cmp ebp, eax
ja 0x4a9c39
lea eax, [esp + 0x34]
cmp ecx, eax
jae 0x4a9c8b
mov eax, esi
and eax, 0x8000001f
jns 0x4a9c47
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, esi
lea edi, [esp + 0x34]
sub ecx, eax
lea ebx, [esp + 0x44]
sub edi, ebp
mov eax, ebp
sub ebx, ebp
nop dword [eax]
movups xmm0, xmmword [eax]
add edx, 0x20
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x4a9c60
cmp edx, esi
jge 0x4a9cae
lea edi, [esp + 0x34]
sub edi, ebp
lea ecx, [edx + ebp]
sub esi, edx
nop word [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4a9ca0
push dword [esp + 0x14]
call fcn.0049be80
mov ecx, dword [esp + 0x78]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f4566
add esp, 0x68
ret