Function at 0x50dc00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb0
call fcn.00573a90
mov eax, dword [0x63506c]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xbc]
push ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
push ebp
mov dword [esp + 0x1c], eax
xor ebp, ebp
mov eax, dword [esp + 0xd0]
push esi
mov dword [esp + 0x34], eax
or esi, 0xffffffff
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], ecx
push edi
mov edi, dword [esp + 0xe4]
test eax, eax
jne 0x50dc85
call fcn.004cfcf0
mov dword [esp + 0x18], eax
test edi, edi
push eax
cmove edi, eax
mov dword [esp + 0x18], edi
call fcn.004e0aa0
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], edi
cmp dword [esp + 0xc8], ebp
jle 0x50e03f
test ebx, ebx
jle 0x50e03f
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jl 0x50dfea
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x50dfea
mov ebx, ecx
push 0x9b
sub ebx, edi
dec ebx
push str..crypto_rsa_rsa_oaep.c
push ebx
call fcn.004c93f0
push 0x9c
push str..crypto_rsa_rsa_oaep.c
push dword [esp + 0x38]
mov ebp, eax
call fcn.004c93f0
add esp, 0x18
mov dword [esp + 0x20], eax
test ebp, ebp
je 0x50dfcd
test eax, eax
je 0x50dfcd
mov esi, dword [esp + 0x24]
push esi
push 0
push eax
call fcn.0058b9c0
mov ecx, dword [esp + 0x34]
sub esi, ecx
add esi, dword [esp + 0x2c]
push ecx
push dword [esp + 0x20]
push esi
call fcn.0058bfe0
mov edx, dword [esp + 0x38]
push dword [esp + 0x2c]
push ebx
movzx eax, byte [edx]
lea esi, [edx + 1]
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx + 1]
add eax, edi
neg ecx
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x60]
push edi
push eax
mov dword [esp + 0x3c], ecx
call fcn.0050d6b0
add esp, 0x2c
test eax, eax
jne 0x50e009
xor edx, edx
test edi, edi
jle 0x50de10
cmp edi, 0x20
jb 0x50ddf4
lea eax, [esi - 1]
add eax, edi
lea ecx, [esp + edi + 0x3b]
lea edi, [esp + 0x3c]
cmp edi, eax
mov edi, dword [esp + 0x1c]
ja 0x50dd9a
cmp ecx, esi
jae 0x50ddf4
mov eax, edi
and eax, 0x8000001f
jns 0x50dda8
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, edi
mov edi, esi
sub ecx, eax
lea eax, [esp + 0x3c]
sub edi, eax
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [esp + edx + 0x3c]
lea eax, [edi + edx]
movups xmm1, xmmword [esp + eax + 0x3c]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x3c], xmm1
movups xmm1, xmmword [esi + edx + 0x10]
movups xmm0, xmmword [esp + edx + 0x4c]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
add edx, 0x20
cmp edx, ecx
jl 0x50ddc0
mov edi, dword [esp + 0x1c]
cmp edx, edi
jge 0x50de10
lea eax, [esp + 0x3c]
sub esi, eax
nop
lea ecx, [esp + 0x3c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, edi
jl 0x50de00
push dword [esp + 0x14]
lea eax, [esp + 0x40]
push edi
push eax
push ebx
push ebp
call fcn.0050d6b0
add esp, 0x14
test eax, eax
jne 0x50e009
xor edx, edx
test ebx, ebx
jle 0x50ded2
cmp ebx, 0x20
jb 0x50deae
mov ecx, dword [esp + 0x28]
lea esi, [ebp - 1]
add esi, ebx
lea eax, [ecx - 1]
add eax, ebx
cmp ebp, eax
ja 0x50de51
cmp esi, ecx
jae 0x50deae
mov eax, ebx
and eax, 0x8000001f
jns 0x50de5f
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x14], ecx
mov esi, ebx
sub dword [esp + 0x14], ebp
sub esi, eax
add ecx, 0x10
mov eax, ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edi + edx]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, esi
jl 0x50de80
mov edi, dword [esp + 0x1c]
cmp edx, ebx
jge 0x50ded2
mov edi, dword [esp + 0x28]
lea ecx, [edx + ebp]
mov esi, ebx
sub edi, ebp
sub esi, edx
nop
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x50dec0
mov edi, dword [esp + 0x1c]
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x84]
push 0
push eax
push dword [esp + 0xec]
push dword [esp + 0x4c]
call fcn.004cf600
add esp, 0x18
test eax, eax
je 0x50e009
push edi
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.004dcaf0
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
cmp edi, ebx
jge 0x50df88
movzx esi, byte [edi + ebp]
not ecx
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and eax, dword [esp + 0x2c]
or eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
or ecx, edx
mov edx, dword [esp + 0x10]
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov dword [esp + 0x18], ecx
neg eax
or eax, ecx
and edx, eax
mov dword [esp + 0x10], edx
cmp edi, ebx
jl 0x50df32
test edx, ecx
je 0x50dfee
mov eax, dword [esp + 0x2c]
mov esi, ebx
inc eax
sub esi, eax
cmp dword [esp + 0xc8], esi
jge 0x50dfbb
push 0xe1
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.004d6170
add esp, 0x14
jmp 0x50dfee
push esi
add eax, ebp
push eax
push dword [esp + 0x38]
call fcn.0058bfe0
add esp, 0xc
jmp 0x50e00c
push 0x9e
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.004d6170
add esp, 0x14
jmp 0x50e00c
mov ebx, dword [esp + 0x30]
push 0xee
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.004d6170
add esp, 0x14
or esi, 0xffffffff
test ebp, ebp
je 0x50e020
push ebx
push ebp
call fcn.00401360
push ebp
call fcn.004c9370
add esp, 0xc
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x50e03b
push dword [esp + 0x24]
push ebx
call fcn.00401360
push ebx
call fcn.004c9370
add esp, 0xc
mov eax, esi
jmp 0x50e042
or eax, 0xffffffff
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00572b23
add esp, 0xb0
ret