Function at 0x56a360
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x68
call fcn.005a2ab0
mov eax, dword [0x693f30]
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 0x56a3c5
call fcn.0051c580
mov ecx, eax
mov dword [esp + 0x14], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x2c], esi
call fcn.0050ec70
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 0x56a41a
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.004b4710
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005a1c7e
add esp, 0x68
ret
inc eax
cmp edi, eax
jge 0x56a42a
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x56a3f6
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.004d9280
add esp, 0x18
test eax, eax
je 0x56a405
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x10]
dec eax
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.005a49e0
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.005a4460
push esi
push ebp
call fcn.004e8380
add esp, 0x20
test eax, eax
jle 0x56a405
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.004cf450
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x56a4c8
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x56a3f6
push dword [esp + 0x28]
push esi
push ebp
push edi
push eax
call fcn.0056a1b0
add esp, 0x14
test eax, eax
js 0x56a405
xor edx, edx
test edi, edi
jle 0x56a599
cmp edi, 0x20
jb 0x56a572
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
add eax, edi
cmp ebx, eax
ja 0x56a509
lea eax, [ebx - 1]
add eax, edi
cmp eax, ecx
jae 0x56a572
mov eax, edi
and eax, 0x8000001f
jns 0x56a517
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 0x56a540
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
cmp edx, edi
jge 0x56a599
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 0x56a583
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.0056a1b0
add esp, 0x14
test eax, eax
js 0x56a405
xor edx, edx
test esi, esi
jle 0x56a64e
cmp esi, 0x20
jb 0x56a62b
lea ecx, [ebp - 1]
lea eax, [esp + esi + 0x33]
add ecx, esi
cmp ebp, eax
ja 0x56a5d9
lea eax, [esp + 0x34]
cmp ecx, eax
jae 0x56a62b
mov eax, esi
and eax, 0x8000001f
jns 0x56a5e7
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 0x56a600
cmp edx, esi
jge 0x56a64e
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 0x56a640
push dword [esp + 0x14]
call fcn.004cf3d0
mov ecx, dword [esp + 0x78]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005a1c7e
add esp, 0x68
ret