Function at 0x529a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.004fbf90
mov eax, dword [0x5f1414]
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 0x529ad5
push 0x2c
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.00501bf0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb4f0
add esp, 0x2c
ret
cmp esi, 0x29
jge 0x529b03
push 0x31
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.00501bf0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb4f0
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.0050e620
push eax
push 0
push edi
push dword [esp + 0x64]
push dword [esp + 0x30]
call fcn.0050dfc0
add esp, 0x18
test eax, eax
je 0x529b9d
mov eax, esi
sub eax, ebx
sub eax, 0x29
push eax
lea eax, [edi + 0x14]
push 0
push eax
call fcn.005619c0
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.00561440
push 0x14
push ebp
call fcn.00502230
add esp, 0x20
test eax, eax
jle 0x529b9d
push 0x47
add esi, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push esi
call fcn.00500870
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x529bb2
push 0x49
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.00501bf0
add esp, 0x14
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb4f0
add esp, 0x2c
ret
push 0x14
push ebp
push esi
push ebx
call fcn.005298d0
add esp, 0x10
test eax, eax
js 0x529b9d
xor edx, edx
test esi, esi
jle 0x529c66
cmp esi, 0x20
jb 0x529c3f
lea eax, [esi - 1]
lea ecx, [edi - 1]
add eax, ebx
add ecx, esi
cmp edi, eax
ja 0x529be4
cmp ecx, ebx
jae 0x529c3f
mov eax, esi
and eax, 0x8000001f
jns 0x529bf2
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 0x529c10
mov edi, dword [esp + 0x18]
cmp edx, esi
jge 0x529c66
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 0x529c50
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
call fcn.0050e620
push eax
push esi
push edi
lea eax, [esp + 0x2c]
push 0x14
push eax
call fcn.005298f0
add esp, 0x14
test eax, eax
js 0x529b9d
lea edx, [esp + 0x33]
xor eax, eax
lea ecx, [ebp + 0x13]
cmp ebp, edx
ja 0x529ca0
lea edx, [esp + 0x20]
cmp ecx, edx
jae 0x529cb6
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 0x529cc6
push ebx
call fcn.005007f0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fb4f0
add esp, 0x2c
ret