Function at 0x40e8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x65de64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x90], ecx
mov esi, eax
mov dword [ebp - 0x8c], eax
push 0x10
pop ecx
lea edi, [ebp - 0x44]
mov dword [ebp - 0x60], 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], eax
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x24]
add esi, edx
mov eax, esi
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, edx
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
xor eax, ecx
mov ecx, eax
add esi, dword [ebp - 0x5c]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x54], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, dword [ebp - 0x4c]
mov dword [ebp - 0x80], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x5c]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x3c]
add esi, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x74], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, ebx
mov dword [ebp - 0x4c], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x48]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x70], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [ebp - 0x38]
shl eax, 8
shr ecx, 0x18
or ecx, eax
add esi, dword [ebp - 0x50]
mov dword [ebp - 0x84], ecx
lea ebx, [ecx + edi]
mov edi, dword [ebp - 0x18]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [ebp - 0x58]
xor eax, esi
mov dword [ebp - 0x48], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x50]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x7c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x50], eax
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x4c]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ecx + ebx]
mov eax, esi
xor eax, dword [ebp - 0x4c]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edi + edx]
mov dword [ebp - 0x44], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 8], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
xor eax, edi
ror eax, 0x19
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], eax
mov eax, ecx
xor eax, dword [ebp - 0x54]
mov edx, eax
shl eax, 0x10
mov esi, dword [ebp - 0x50]
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x48]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x40], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
xor eax, edi
ror eax, 0x19
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor eax, dword [ebp - 0x74]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x6c]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x3c], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x10], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x24], eax
xor eax, edi
ror eax, 0x19
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], eax
mov eax, ecx
xor eax, dword [ebp - 0x84]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x80]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x38], eax
xor eax, edx
mov ebx, eax
shl eax, 8
shr ebx, 0x18
or ebx, eax
lea eax, [ebx + esi]
mov ecx, dword [ebp - 0x54]
mov edx, eax
xor edx, edi
mov dword [ebp - 0x20], eax
ror edx, 0x19
sub dword [ebp - 0x60], 1
jne 0x40e8fc
mov esi, dword [ebp - 0x90]
xor ecx, ecx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + ecx*4 - 0x44]
add eax, dword [edx + ecx*4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, 0x10
jl 0x40eba8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8b52
leave
ret