Function at 0x588e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x6bc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], edi
movups xmm0, xmmword [edi]
mov dword [ebp - 0x80], 0xa
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x1c]
movups xmm0, xmmword [edi + 0x30]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
movups xmmword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
nop dword [eax]
add eax, dword [ebp - 0x68]
xor edx, eax
mov dword [ebp - 0x5c], eax
rol edx, 0x10
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x68]
rol eax, 0xc
add dword [ebp - 0x5c], eax
xor edx, dword [ebp - 0x5c]
rol edx, 8
add esi, edx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], esi
xor esi, eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x70]
xor ecx, eax
mov dword [ebp - 0x4c], eax
rol ecx, 0x10
add edx, ecx
rol esi, 7
mov eax, edx
xor eax, dword [ebp - 0x70]
rol eax, 0xc
add dword [ebp - 0x4c], eax
xor ecx, dword [ebp - 0x4c]
rol ecx, 8
add edx, ecx
mov dword [ebp - 0x78], ecx
mov ecx, edx
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x6c]
xor ecx, eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x74]
xor edx, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
rol edx, 0x10
add eax, edx
rol ecx, 7
mov dword [ebp - 0x48], eax
xor eax, dword [ebp - 0x74]
rol eax, 0xc
add dword [ebp - 0x50], eax
xor edx, dword [ebp - 0x50]
rol edx, 8
add dword [ebp - 0x48], edx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x48]
xor edx, eax
mov eax, dword [ebp - 0x58]
add eax, ebx
rol edx, 7
xor edi, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
rol edi, 0x10
add eax, edi
mov dword [ebp - 0x54], eax
xor eax, ebx
mov ebx, dword [ebp - 0x58]
rol eax, 0xc
add ebx, eax
xor edi, ebx
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x54]
rol edi, 8
add ebx, edi
mov dword [ebp - 0x54], ebx
xor ebx, eax
mov eax, dword [ebp - 0x5c]
add eax, ecx
rol ebx, 7
xor edi, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
rol edi, 0x10
add eax, edi
mov dword [ebp - 0x48], eax
xor eax, ecx
mov ecx, dword [ebp - 0x5c]
rol eax, 0xc
add ecx, eax
xor edi, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x48]
rol edi, 8
add ecx, edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], ecx
xor ecx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
rol ecx, 7
mov dword [ebp - 0x4c], eax
xor eax, dword [ebp - 0x68]
rol eax, 0x10
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], ecx
xor ecx, edx
mov edx, dword [ebp - 0x4c]
rol ecx, 0xc
add edx, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x40], edx
xor edx, eax
mov eax, dword [ebp - 0x54]
rol edx, 8
add eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], eax
xor eax, ecx
mov ecx, dword [ebp - 0x64]
rol eax, 7
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
add eax, ebx
mov dword [ebp - 0x50], eax
xor eax, dword [ebp - 0x78]
rol eax, 0x10
add ecx, eax
xor ebx, ecx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x50]
rol ebx, 0xc
add ecx, ebx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], ecx
xor ecx, eax
mov eax, dword [ebp - 0x64]
rol ecx, 8
add eax, ecx
mov dword [ebp - 0x78], ecx
xor ebx, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
add eax, esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
xor eax, dword [ebp - 0x6c]
rol eax, 0x10
add ecx, eax
rol ebx, 7
mov dword [ebp - 0x60], ecx
xor ecx, esi
mov esi, dword [ebp - 0x58]
rol ecx, 0xc
add esi, ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x38], esi
xor esi, eax
mov eax, dword [ebp - 0x60]
rol esi, 8
add eax, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x20], eax
xor eax, ecx
mov ecx, dword [ebp - 0x78]
rol eax, 7
sub dword [ebp - 0x80], 1
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
jne 0x588ea0
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 8]
mov ebx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x7c]
lea edx, [ebx + 0x3c]
cmp ebx, ecx
ja 0x5890a9
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x5890b4
lea ecx, [edi + 0x3c]
cmp ebx, ecx
ja 0x5890e9
cmp edx, edi
jb 0x5890e9
lea ecx, [ebp - 0x44]
sub edi, ecx
sub ebx, ecx
nop dword [eax + eax]
lea ecx, [edi + eax*4]
mov edx, dword [ebp + ecx - 0x44]
lea ecx, [ebx + eax*4]
add edx, dword [ebp + eax*4 - 0x44]
inc eax
mov dword [ebp + ecx - 0x44], edx
cmp eax, 0x10
jl 0x5890c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049b637
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x44]
mov esi, edi
sub ecx, ebx
lea edx, [ebx + 0x10]
mov dword [ebp - 0x7c], ecx
sub esi, ebx
mov ebx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x44]
sub edi, ecx
movups xmm0, xmmword [ebp + eax*4 - 0x44]
lea ecx, [edi + eax*4]
add eax, 8
lea edx, [edx + 0x20]
movups xmm1, xmmword [ebp + ecx - 0x44]
paddd xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
movups xmm0, xmmword [esi + edx - 0x20]
movups xmm1, xmmword [ebx + edx - 0x20]
paddd xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, 0x10
jl 0x589100
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049b637
mov esp, ebp
pop ebp
ret