Function at 0x5f1db0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x68d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
push esi
mov esi, dword [ebx + 0x10]
movups xmm0, xmmword [edx + 0x30]
push edi
mov edi, dword [ebx + 0x14]
movaps xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
movups xmm0, xmmword [edx + 0x40]
movaps xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [edx + 0x50]
movaps xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [edx + 0x60]
movaps xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [edx + 0x70]
movaps xmmword [ebp - 0x20], xmm0
cmp edi, 0x10
jge 0x5f1e24
test edi, edi
je 0x5f20ec
jmp 0x5f2045
mov ecx, esi
neg ecx
and ecx, 0xf
je 0x5f1e66
movups xmm0, xmmword [esi]
add esi, ecx
sub edi, ecx
movups xmmword [eax], xmm0
add eax, ecx
movaps xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ecx
push edx
call fcn.005f2360
movaps xmm0, xmmword [ebp - 0x20]
add esp, 0x1c
movaps xmmword [ebp - 0x20], xmm0
sub edi, 0x40
js 0x5f1f31
lea eax, [edi + 0x40]
shr eax, 6
mov dword [ebp - 0x54], eax
neg eax
shl eax, 6
add edi, eax
mov dword [ebx + 0x14], edi
mov edi, dword [ebp - 0x24]
movups xmm0, xmmword [esi]
lea eax, [ebp - 0x40]
push eax
movaps xmmword [ebp - 0x90], xmm0
lea eax, [ebp - 0x50]
movups xmm0, xmmword [esi + 0x10]
push eax
lea eax, [ebp - 0x70]
movaps xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [esi + 0x20]
push eax
lea eax, [ebp - 0x80]
movaps xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [esi + 0x30]
push eax
push edx
movaps xmmword [ebp - 0xc0], xmm0
call fcn.005f22c0
movaps xmm0, xmmword [ebp - 0x90]
add esp, 0x14
movaps xmm1, xmmword [ebp - 0xa0]
add esi, 0x40
movaps xmm2, xmmword [ebp - 0xb0]
movaps xmm3, xmmword [ebp - 0xc0]
mov edx, dword [ebp - 0x28]
movups xmmword [edi], xmm0
pxor xmm0, xmmword [ebp - 0x80]
movups xmmword [edi + 0x10], xmm1
pxor xmm1, xmmword [ebp - 0x70]
movups xmmword [edi + 0x20], xmm2
pxor xmm2, xmmword [ebp - 0x50]
movups xmmword [edi + 0x30], xmm3
add edi, 0x40
sub dword [ebp - 0x54], 1
pxor xmm3, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x80], xmm0
movaps xmmword [ebp - 0x70], xmm1
movaps xmmword [ebp - 0x50], xmm2
movaps xmmword [ebp - 0x40], xmm3
jne 0x5f1e85
mov dword [ebp - 0x24], edi
mov edi, dword [ebx + 0x14]
lea eax, [edi + 0x10]
test eax, eax
js 0x5f1f9d
movups xmm5, xmmword [esi]
mov edi, eax
movups xmm6, xmmword [esi + 0x10]
lea eax, [ebp - 0x40]
movups xmm7, xmmword [esi + 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push edx
call fcn.005f2220
mov eax, dword [ebp - 0x24]
add esp, 0x14
movups xmmword [eax], xmm5
pxor xmm5, xmmword [ebp - 0x70]
movaps xmmword [ebp - 0x70], xmm5
movups xmmword [eax + 0x10], xmm6
pxor xmm6, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm6
movups xmmword [eax + 0x20], xmm7
pxor xmm7, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm7
test edi, edi
je 0x5f20c1
add eax, 0x30
add esi, 0x30
mov dword [ebp - 0x24], eax
jmp 0x5f2045
lea eax, [edi + 0x20]
test eax, eax
js 0x5f1ff5
movups xmm5, xmmword [esi]
mov edi, eax
movups xmm6, xmmword [esi + 0x10]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push edx
call fcn.005f21a0
mov eax, dword [ebp - 0x24]
add esp, 0x14
movups xmmword [eax], xmm5
pxor xmm5, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm5
movups xmmword [eax + 0x10], xmm6
pxor xmm6, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm6
test edi, edi
je 0x5f20c1
add eax, 0x20
add esi, 0x20
mov dword [ebp - 0x24], eax
jmp 0x5f2045
lea eax, [edi + 0x30]
test eax, eax
js 0x5f203c
movups xmm3, xmmword [esi]
mov edi, eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push edx
call fcn.005f2140
mov eax, dword [ebp - 0x24]
add esp, 0x14
movups xmmword [eax], xmm3
pxor xmm3, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm3
test edi, edi
je 0x5f20c1
add eax, 0x10
add esi, 0x10
mov dword [ebp - 0x24], eax
jmp 0x5f2045
add edi, 0x40
je 0x5f20c1
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push esi
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0041a5d0
movd xmm2, dword [ebp - 0x14]
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x1c]
movd xmm3, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
punpckldq xmm3, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
movups xmmword [eax], xmm3
lea eax, [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm3
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edx
call fcn.005f2360
movaps xmm0, xmmword [ebp - 0x20]
add esp, 0x28
movaps xmmword [ebp - 0x20], xmm0
jmp 0x5f20c4
mov edx, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [edx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [edx + 0x40], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [edx + 0x50], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [edx + 0x60], xmm0
movaps xmm0, xmmword [ebp - 0x20]
movups xmmword [edx + 0x70], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004192c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret