Function at 0x5c2e60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.004ed3f0
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esi + 0x160]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0xc], edi
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp ebx, 0xc
jne 0x5c2f09
mov eax, dword [esp + 0x20]
lea edi, [ebx - 0xb]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x5c3074
mov dword [esp + 0x14], ebx
push ebp
mov ebp, dword [esp + 0x24]
cmp ebx, 0x10
jb 0x5c2f81
mov edi, ebp
lea ecx, [esi + 0xf]
mov eax, ebx
sub edi, esi
shr eax, 4
mov dword [esp + 0x28], eax
lea eax, [edi + ecx]
cmp esi, eax
ja 0x5c2f50
cmp ecx, ebp
jb 0x5c2f50
mov eax, esi
mov edx, 0x10
nop dword [eax]
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x5c2f40
jmp 0x5c2f5e
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebp]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call dword [esp + 0x18]
add esp, 8
lea ecx, [esi + 0xf]
add ebp, 0x10
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x28], 1
jne 0x5c2f27
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x5c304d
xor edx, edx
test ebx, ebx
je 0x5c3043
cmp ebx, 0x40
jb 0x5c302a
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, ebx
cmp esi, eax
ja 0x5c2fae
cmp ecx, ebp
jae 0x5c302a
mov edi, ebx
lea eax, [esi + 0x10]
and edi, 0xffffffc0
lea ecx, [ebp + 0x30]
mov dword [esp + 0x28], edi
mov edi, ebp
sub edi, esi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, edi
jb 0x5c2fd0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x28], edx
cmp edx, ebx
jae 0x5c303f
sub ebp, esi
lea ecx, [edx + esi]
sub ebx, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x5c3031
mov edi, dword [esp + 0x10]
lea eax, [esi + 0x60]
push eax
push esi
call edi
add esp, 8
mov eax, dword [esp + 0x18]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0xc], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 8], ecx
push esi
call edi
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
pop ebp
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret