Function at 0x4f02c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.0044e6b0
mov eax, dword [0x55b008]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x3c]
dec esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esi - 0x29]
cmp ebx, eax
jle 0x4f0325
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.004a98d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0041e191
add esp, 0x2c
ret
cmp esi, 0x29
jge 0x4f0353
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.004a98d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0041e191
add esp, 0x2c
ret
push ebp
mov byte [edi], 0
lea ebp, [edi + 1]
add edi, 0x15
mov dword [esp + 0x14], ebp
push 0
mov dword [esp + 0x1c], edi
call fcn.004b70d0
push eax
push 0
push edi
push dword [esp + 0x64]
push dword [esp + 0x30]
call fcn.004af110
add esp, 0x18
test eax, eax
je 0x4f03ed
mov eax, esi
sub eax, ebx
sub eax, 0x29
push eax
lea eax, [edi + 0x14]
push 0
push eax
call fcn.0042ce60
mov eax, edi
sub eax, ebx
push ebx
push dword [esp + 0x20]
mov byte [eax + esi - 0x15], 1
add eax, 0xffffffec
add eax, esi
push eax
call fcn.0042b7b0
push 0x14
push ebp
call fcn.004a9f60
add esp, 0x20
test eax, eax
jle 0x4f03ed
push 0x49
add esi, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push esi
call fcn.004a0250
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4f0402
push 0x4c
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.004a98d0
add esp, 0x14
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0041e191
add esp, 0x2c
ret
push 0x14
push ebp
push esi
push ebx
call fcn.004f0120
add esp, 0x10
test eax, eax
js 0x4f03ed
xor edx, edx
test esi, esi
jle 0x4f04b6
cmp esi, 0x20
jb 0x4f048f
lea eax, [esi - 1]
lea ecx, [edi - 1]
add eax, ebx
add ecx, esi
cmp edi, eax
ja 0x4f0434
cmp ecx, ebx
jae 0x4f048f
mov eax, esi
and eax, 0x8000001f
jns 0x4f0442
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, esi
mov ebp, ebx
sub ecx, eax
sub ebp, edi
mov dword [esp + 0x10], ebp
mov eax, edi
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x4f0460
mov edi, dword [esp + 0x18]
cmp edx, esi
jge 0x4f04b6
mov ebp, ebx
lea ecx, [edx + edi]
sub ebp, edi
mov edi, esi
sub edi, edx
nop
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x4f04a0
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
call fcn.004b70d0
push eax
push esi
push edi
lea eax, [esp + 0x2c]
push 0x14
push eax
call fcn.004f0140
add esp, 0x14
test eax, eax
js 0x4f03ed
lea edx, [esp + 0x33]
xor eax, eax
lea ecx, [ebp + 0x13]
cmp ebp, edx
ja 0x4f04f0
lea edx, [esp + 0x20]
cmp ecx, edx
jae 0x4f0506
nop word [eax + eax]
movups xmm1, xmmword [ebp]
mov eax, 0x10
movups xmm0, xmmword [esp + 0x20]
pxor xmm1, xmm0
movups xmmword [ebp], xmm1
lea esi, [esp + 0x20]
mov edx, 0x14
sub esi, ebp
lea ecx, [eax + ebp]
sub edx, eax
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4f0516
push ebx
call fcn.004a01d0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e191
add esp, 0x2c
ret