Function at 0x5c76cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x40
push edi
push eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], edi
call fcn.00643300
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
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]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], 0xa
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, edi
rol edx, 7
xor ebx, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
rol ebx, 0x10
add eax, ebx
mov dword [ebp - 0x54], eax
xor eax, edi
mov edi, dword [ebp - 0x58]
rol eax, 0xc
add edi, eax
xor ebx, edi
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x54]
rol ebx, 8
add edi, ebx
mov dword [ebp - 0x54], edi
xor edi, eax
mov eax, dword [ebp - 0x5c]
add eax, ecx
rol edi, 7
xor ebx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
rol ebx, 0x10
add eax, ebx
mov dword [ebp - 0x48], eax
xor eax, ecx
mov ecx, dword [ebp - 0x5c]
rol eax, 0xc
add ecx, eax
xor ebx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x48]
rol ebx, 8
add ecx, ebx
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, edi
mov dword [ebp - 0x50], eax
xor eax, dword [ebp - 0x78]
rol eax, 0x10
add ecx, eax
xor edi, ecx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x50]
rol edi, 0xc
add ecx, edi
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 edi, 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 edi, 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 - 0x7c], 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 0x5c7755
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0x80]
xor edx, edx
mov dword [ebp - 8], ebx
sub edi, eax
mov ebx, dword [ebp - 0x84]
sub ebx, eax
lea eax, [edi + edx*4]
mov ecx, dword [ebp + eax - 0x44]
lea eax, [ebx + edx*4]
add ecx, dword [ebp + edx*4 - 0x44]
inc edx
mov dword [ebp + eax - 0x44], ecx
cmp edx, 0x10
jl 0x5c7954
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret