Function at 0x56ac40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x68
call fcn.0058b100
mov eax, dword [0x6609c4]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x14], eax
dec edi
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x56aca8
call fcn.004f8170
mov ecx, eax
mov dword [esp + 0x10], eax
test ebp, ebp
push ecx
cmove ebp, ecx
mov dword [esp + 0x2c], ebp
call fcn.00501400
mov esi, eax
mov ecx, edi
add esp, 4
mov dword [esp + 0x24], esi
lea eax, [esi + esi]
sub ecx, eax
mov dword [esp + 0x18], ecx
dec ecx
cmp ebx, ecx
jle 0x56acfd
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.004ee870
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00589ffa
add esp, 0x68
ret
inc eax
cmp edi, eax
jge 0x56ad0d
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x56acd9
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
lea ebp, [eax + 1]
mov byte [eax], 0
push 0
add ebp, esi
lea ebx, [eax + 1]
push ebp
push dword [esp + 0xa0]
mov dword [esp + 0x28], ebx
push dword [esp + 0x40]
mov dword [esp + 0x48], ebp
call fcn.004f7b00
add esp, 0x18
test eax, eax
je 0x56ace8
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
dec eax
push eax
lea eax, [esi + ebp]
push 0
push eax
call fcn.005a3020
mov ecx, dword [esp + 0x2c]
mov eax, ebp
sub eax, ecx
sub eax, esi
push ecx
push dword [esp + 0x2c]
add eax, edi
push eax
mov byte [eax - 1], 1
call fcn.005a3180
push esi
push ebx
call fcn.004ebda0
add esp, 0x20
test eax, eax
jle 0x56ace8
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.004d5230
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x56adae
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x56acd9
push dword [esp + 0x28]
push esi
push ebx
push edi
push eax
call fcn.0056aa90
add esp, 0x14
test eax, eax
js 0x56ace8
xor ebx, ebx
test edi, edi
jle 0x56ae73
mov edx, dword [esp + 0x10]
cmp edi, 0x20
jb 0x56ae52
lea eax, [edx - 1]
lea ecx, [ebp - 1]
add eax, edi
add ecx, edi
cmp ebp, eax
ja 0x56adeb
cmp ecx, edx
jae 0x56ae52
mov eax, edi
and eax, 0x8000001f
jns 0x56adf9
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, edi
mov esi, edx
sub ecx, eax
sub esi, ebp
mov dword [esp + 0x1c], esi
mov eax, ebp
lea esi, [edx + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ebp]
add ebx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ebx, ecx
jl 0x56ae20
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
cmp ebx, edi
jge 0x56ae73
mov esi, edx
lea ecx, [ebx + ebp]
mov edx, edi
sub esi, ebp
sub edx, ebx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x56ae61
mov esi, dword [esp + 0x24]
push dword [esp + 0x28]
lea eax, [esp + 0x38]
push edi
push ebp
push esi
push eax
call fcn.0056aa90
add esp, 0x14
test eax, eax
js 0x56ace8
xor edx, edx
test esi, esi
jle 0x56af1f
mov ebx, dword [esp + 0x14]
cmp esi, 0x20
jb 0x56af02
lea ecx, [ebx - 1]
lea eax, [esp + esi + 0x33]
add ecx, esi
cmp ebx, eax
ja 0x56aeb7
lea eax, [esp + 0x34]
cmp ecx, eax
jae 0x56af02
mov eax, esi
and eax, 0x8000001f
jns 0x56aec5
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, esi
lea edi, [esp + 0x34]
sub ecx, eax
lea ebp, [esp + 0x44]
sub edi, ebx
mov eax, ebx
sub ebp, ebx
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 [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x56aed7
cmp edx, esi
jge 0x56af1f
lea edi, [esp + 0x34]
sub edi, ebx
lea ecx, [edx + ebx]
sub esi, edx
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x56af11
push dword [esp + 0x10]
call fcn.004d51b0
mov ecx, dword [esp + 0x78]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00589ffa
add esp, 0x68
ret