Function at 0x5999b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x98
call fcn.005f62e0
mov eax, dword [0x6c02d0]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
push ebx
mov dword [esp + 0x54], eax
push ebp
movups xmm0, xmmword [eax]
push esi
push edi
movups xmmword [esp + 0x64], xmm0
mov ebx, dword [esp + 0x64]
movups xmm0, xmmword [eax + 0x10]
mov dword [esp + 0x48], 4
mov dword [esp + 0x14], ebx
movups xmmword [esp + 0x74], xmm0
mov ebp, dword [esp + 0x7c]
movups xmm0, xmmword [eax + 0x20]
mov dword [esp + 0x30], ebp
movups xmmword [esp + 0x84], xmm0
mov ecx, dword [esp + 0x8c]
movups xmm0, xmmword [eax + 0x30]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x74]
movups xmmword [esp + 0x94], xmm0
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], ecx
lea ecx, [edi + ebx]
mov edx, ecx
shr ecx, 0x19
shl edx, 7
or edx, ecx
mov ecx, dword [esp + 0x14]
xor edx, dword [esp + 0x1c]
add ecx, edx
mov dword [esp + 0x4c], edx
add ebx, edx
shl ecx, 9
shr ebx, 0x17
or ebx, ecx
xor ebx, esi
mov dword [esp + 0x34], ebx
lea esi, [ebx + edx]
lea ecx, [ebx + edx]
shr esi, 0x13
shl ecx, 0xd
or esi, ecx
xor esi, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x58], esi
lea edx, [esi + ebx]
lea ecx, [esi + ebx]
shl edx, 0x12
shr ecx, 0xe
or edx, ecx
xor edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
lea ecx, [edx + edi]
mov ebx, ecx
shr ecx, 0x19
shl ebx, 7
or ebx, ecx
xor ebx, dword [esp + 0x20]
mov dword [esp + 0x50], ebx
lea esi, [ebx + edx]
lea ecx, [edx + ebx]
shr esi, 0x17
shl ecx, 9
or esi, ecx
xor esi, dword [esp + 0x10]
mov dword [esp + 0x5c], esi
lea edx, [ebx + esi]
shl edx, 0xd
lea ecx, [esi + ebx]
shr ecx, 0x13
or edx, ecx
xor edx, edi
mov dword [esp + 0x20], edx
lea ebx, [edx + esi]
lea ecx, [edx + esi]
shl ebx, 0x12
shr ecx, 0xe
or ebx, ecx
xor ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
lea ecx, [ebx + ebp]
mov edx, ecx
shr ecx, 0x19
shl edx, 7
or edx, ecx
xor edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
lea edi, [edx + ebx]
lea ecx, [edx + ebx]
shr edi, 0x17
shl ecx, 9
or edi, ecx
xor edi, dword [esp + 0x18]
lea ebp, [edx + edi]
lea ecx, [edi + edx]
shr ebp, 0x13
shl ecx, 0xd
or ebp, ecx
xor ebp, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
lea edx, [edi + ebp]
shl edx, 0x12
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x44]
shr ecx, 0xe
or edx, ecx
xor edx, ebx
lea ecx, [eax + ebp]
mov dword [esp + 0x24], edx
mov edx, ecx
shr ecx, 0x19
shl edx, 7
or edx, ecx
xor edx, dword [esp + 0x3c]
lea esi, [edx + ebp]
lea ecx, [edx + ebp]
shl esi, 9
shr ecx, 0x17
or esi, ecx
xor esi, dword [esp + 0x40]
lea ebx, [esi + edx]
lea ecx, [edx + esi]
shl ebx, 0xd
shr ecx, 0x13
or ebx, ecx
xor ebx, eax
lea ecx, [ebx + esi]
shl ecx, 0x12
mov dword [esp + 0x10], ecx
lea ecx, [ebx + esi]
shr ecx, 0xe
or dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
xor ecx, ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
lea eax, [ecx + edx]
add ecx, edx
shr ecx, 0x19
shl eax, 7
or eax, ecx
mov ecx, dword [esp + 0x14]
xor eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], eax
lea ebp, [eax + ecx]
add ecx, eax
shl ecx, 9
shr ebp, 0x17
or ebp, ecx
mov ecx, ebp
mov dword [esp + 0x18], ebp
xor ecx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], ecx
lea edi, [ecx + eax]
add ecx, eax
mov eax, dword [esp + 0x18]
shr ecx, 0x13
shl edi, 0xd
or edi, ecx
xor edi, edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x70], edi
lea edx, [edi + eax]
lea ecx, [edi + eax]
shr edx, 0xe
mov edi, dword [esp + 0x4c]
shl ecx, 0x12
or edx, ecx
xor edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
lea eax, [edi + edx]
lea ecx, [edx + edi]
shr eax, 0x19
shl ecx, 7
or eax, ecx
xor eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x7c], eax
lea ebp, [eax + edx]
lea ecx, [edx + eax]
shl ebp, 9
shr ecx, 0x17
or ebp, ecx
xor ebp, esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x80], ebp
lea esi, [eax + ebp]
lea ecx, [eax + ebp]
shr esi, 0x13
shl ecx, 0xd
or esi, ecx
xor esi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x74], esi
lea eax, [esi + ebp]
lea ecx, [esi + ebp]
shl eax, 0x12
mov esi, dword [esp + 0x50]
shr ecx, 0xe
or eax, ecx
xor eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], eax
lea eax, [edx + esi]
lea ecx, [esi + edx]
shl eax, 7
shr ecx, 0x19
or eax, ecx
xor eax, ebx
mov dword [esp + 0x90], eax
lea ebx, [eax + edx]
shl ebx, 9
lea ecx, [edx + eax]
shr ecx, 0x17
or ebx, ecx
xor ebx, dword [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x84], ebx
lea edi, [eax + ebx]
shl edi, 0xd
lea ecx, [ebx + eax]
shr ecx, 0x13
or edi, ecx
xor edi, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x88], edi
lea esi, [ebx + edi]
lea ecx, [edi + ebx]
shl esi, 0x12
shr ecx, 0xe
or esi, ecx
xor esi, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x54]
lea edi, [esi + edx]
shr edi, 0x19
lea ecx, [edx + esi]
shl ecx, 7
or edi, ecx
xor edi, dword [esp + 0x58]
mov dword [esp + 0x94], edi
lea ebx, [edi + edx]
shl ebx, 9
lea ecx, [edi + edx]
shr ecx, 0x17
or ebx, ecx
xor ebx, dword [esp + 0x5c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x98], ebx
lea ebp, [ebx + edi]
lea ecx, [edi + ebx]
shr ebp, 0x13
shl ecx, 0xd
or ebp, ecx
xor ebp, esi
mov dword [esp + 0x28], ebp
lea esi, [ebx + ebp]
mov dword [esp + 0x9c], ebp
lea ecx, [ebx + ebp]
shl esi, 0x12
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
shr ecx, 0xe
or esi, ecx
xor esi, edx
sub dword [esp + 0x48], 1
mov dword [esp + 0x44], esi
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x34]
jne 0x599a97
mov eax, dword [esp + 0x60]
lea edx, [esp + 0xa0]
lea ecx, [eax + 0x3c]
cmp eax, edx
ja 0x599e03
lea edx, [esp + 0x64]
cmp ecx, edx
jb 0x599e03
mov esi, edx
mov edx, 0x10
sub esi, eax
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
add dword [eax - 4], ecx
sub edx, 1
jne 0x599df3
jmp 0x599e4b
movups xmm1, xmmword [eax]
movups xmm0, xmmword [esp + 0x64]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x74]
movups xmmword [eax], xmm1
movups xmm1, xmmword [eax + 0x10]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x84]
movups xmmword [eax + 0x10], xmm1
movups xmm1, xmmword [eax + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x94]
movups xmmword [eax + 0x20], xmm1
movups xmm1, xmmword [eax + 0x30]
paddd xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
lea eax, [esp + 0x64]
push 0x40
push eax
call fcn.00401320
mov ecx, dword [esp + 0xac]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f5e48
add esp, 0x98
ret