Function at 0x570960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x64], eax
je 0x570c60
push ebx
push esi
push edi
nop
mov eax, dword [edx + 0x40]
cmp eax, 0x40
jb 0x570c2f
movups xmm0, xmmword [edx]
mov dword [ebp - 0x60], 0xa
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ebp - 0x34], xmm0
mov esi, dword [ebp - 0x34]
movups xmm0, xmmword [edx + 0x20]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x4c], esi
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
nop dword [eax]
mov eax, dword [ebp - 0x44]
add eax, esi
mov edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x24]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [ebp - 0x4c]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x68], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x58], eax
add eax, ecx
mov dword [ebp - 0x78], eax
xor eax, esi
mov ecx, dword [ebp - 0x20]
rol eax, 7
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x40]
mov edx, eax
xor edx, dword [ebp - 0x50]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [ebp - 0x48]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x50], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x74], eax
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
xor eax, esi
rol eax, 7
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
add eax, edi
mov edx, eax
xor edx, dword [ebp - 0x54]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, edi
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x6c], eax
xor eax, edx
mov edx, dword [ebp - 0x18]
rol eax, 8
mov dword [ebp - 0x80], eax
lea edi, [eax + ecx]
mov ecx, dword [ebp - 0x38]
add ecx, ebx
mov eax, edi
xor eax, esi
mov esi, dword [ebp - 0x5c]
xor esi, ecx
rol eax, 7
rol esi, 0x10
add edx, esi
mov dword [ebp - 0x54], eax
xor ebx, edx
rol ebx, 0xc
mov eax, ebx
add ecx, eax
mov dword [ebp - 0x7c], ecx
xor ecx, esi
rol ecx, 8
lea ebx, [ecx + edx]
mov edx, ebx
xor edx, eax
mov eax, dword [ebp - 0x48]
rol edx, 7
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], edx
mov edx, eax
xor edx, ecx
rol edx, 0x10
lea ecx, [edx + edi]
mov edi, dword [ebp - 0x54]
mov esi, ecx
xor esi, dword [ebp - 0x48]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x44], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x5c], eax
mov dword [ebp - 8], eax
add eax, ecx
mov dword [ebp - 0x1c], eax
xor eax, esi
rol eax, 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
add eax, edi
mov esi, dword [ebp - 0x4c]
mov ecx, eax
xor ecx, dword [ebp - 0x58]
rol ecx, 0x10
lea edx, [ecx + ebx]
mov ebx, dword [ebp - 0x70]
xor edi, edx
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x40], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], eax
add eax, edx
mov edx, dword [ebp - 0x78]
xor edi, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
add eax, ebx
rol edi, 7
mov ecx, eax
mov dword [ebp - 0x2c], edi
xor ecx, dword [ebp - 0x74]
rol ecx, 0x10
add edx, ecx
xor ebx, edx
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 0x3c], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], eax
add eax, edx
mov edx, dword [ebp - 0x84]
xor ebx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x7c]
add eax, esi
rol ebx, 7
mov ecx, eax
mov dword [ebp - 0x28], ebx
xor ecx, dword [ebp - 0x80]
rol ecx, 0x10
add edx, ecx
xor esi, edx
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x38], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc], eax
add eax, edx
xor esi, eax
mov dword [ebp - 0x20], eax
rol esi, 7
mov dword [ebp - 0x4c], esi
sub dword [ebp - 0x60], 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x34], esi
jne 0x5709f0
mov edx, dword [ebp - 0x88]
lea edi, [ebp - 0x44]
lea ebx, [ebp - 0x40]
xor esi, esi
sub edi, edx
sub ebx, edx
lea eax, [edx + 8]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
add dword [ebp + esi*4 - 0x44], ecx
mov ecx, dword [eax - 0x14]
add dword [ebp + esi*4 - 0x40], ecx
add esi, 4
mov ecx, dword [eax - 0x10]
add dword [edi + eax - 0x10], ecx
mov ecx, dword [eax - 0xc]
add dword [ebx + eax - 0x10], ecx
cmp esi, 0x10
jl 0x570bc1
xor edi, edi
lea esi, [edx + 0x45]
nop dword [eax]
mov al, byte [ebp + edi*4 - 0x44]
lea esi, [esi + 4]
mov ecx, dword [ebp + edi*4 - 0x44]
inc edi
mov byte [esi - 5], al
mov eax, ecx
shr eax, 8
mov byte [esi - 4], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi - 3], al
mov byte [esi - 2], cl
cmp edi, 0x10
jl 0x570bf0
mov dword [edx + 0x40], 0
mov eax, 0
add dword [edx + 0x30], 1
jne 0x570c2f
inc dword [edx + 0x34]
mov ecx, dword [ebp - 0x64]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x570c5d
mov al, byte [eax + edx + 0x44]
dec ebx
xor byte [ecx], al
mov esi, ebx
mov eax, dword [edx + 0x40]
inc ecx
inc eax
mov dword [edx + 0x40], eax
cmp eax, 0x40
jb 0x570c35
mov dword [ebp - 0x64], ecx
mov dword [ebp + 0x10], esi
test esi, esi
jne 0x570990
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret