Function at 0x560d00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.005cf470
push ebp
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x10], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x560fcd
jb 0x560d46
cmp eax, 0xffffffe0
ja 0x560fcd
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], eax
lea eax, [esi + 0x40]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x60]
mov dword [esp + 0xc], eax
je 0x560d75
push ecx
push eax
call fcn.00562020
add esp, 8
mov dword [esi + 0x16c], 0
jmp 0x560d79
mov dword [esp + 0xc], eax
movzx eax, byte [esi + 0xd]
push ebx
movzx ebx, byte [esi + 0xc]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
or ebx, eax
mov eax, dword [esi + 0x168]
mov dword [esp + 0x28], eax
push edi
mov edi, dword [esp + 0x30]
test eax, eax
je 0x560df9
mov edx, dword [esp + 0x34]
test ebp, ebp
je 0x560fbd
mov al, byte [eax + esi + 0x10]
dec ebp
mov cl, byte [edi]
inc edi
xor al, cl
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
xor byte [eax + esi + 0x40], cl
inc eax
and eax, 0xf
mov dword [esp + 0x2c], eax
jne 0x560db0
lea ecx, [esi + 0x60]
lea eax, [esi + 0x40]
push ecx
push eax
call fcn.00562020
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ebp
jmp 0x560e01
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp ebp, 0xc00
jb 0x560ebb
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x24], edx
nop dword [eax + eax]
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x20]
call fcn.00561df0
mov ebp, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x20], 0xc0
push dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x28]
inc ebx
add esp, 0xc
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ebp], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebp + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebp + 0xc], eax
add ebp, 0x10
sub dword [esp + 0x20], 1
jne 0x560e42
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x38]
sub ebp, 0xc00
sub dword [esp + 0x24], 1
mov dword [esp + 0x38], ebp
jne 0x560e20
mov eax, ebp
and eax, 0xfffffff0
je 0x560f56
push eax
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x20]
call fcn.00561df0
add esp, 0x10
cmp ebp, 0x10
jb 0x560f56
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x38], eax
nop dword [eax]
push dword [esp + 0x18]
push ecx
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
inc ebx
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add esp, 0xc
mov byte [esi + 0xc], al
sub ebp, 0x10
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ecx + 0xc], eax
add ecx, 0x10
sub dword [esp + 0x38], 1
mov dword [esp + 0x10], ecx
lea ecx, [esi + 0x10]
jne 0x560ef0
test ebp, ebp
je 0x560fb9
push dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
lea edx, [esi + 0x40]
inc ebx
add esp, 0xc
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add edx, ecx
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x10]
sub edi, eax
lea ebx, [ecx + eax]
add ecx, ebp
mov dword [esp + 0x2c], ecx
nop
mov cl, byte [edi + ebx]
lea edx, [edx + 1]
mov al, byte [edx - 0x31]
lea ebx, [ebx + 1]
xor byte [edx - 1], cl
xor al, cl
mov byte [ebx - 1], al
sub ebp, 1
jne 0x560fa0
mov eax, dword [esp + 0x2c]
pop edi
pop ebx
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x18
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret