Function at 0x514bde
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], 8
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 8
sub esi, ecx
pop ebx
movzx edx, byte [ecx]
movzx eax, byte [esi + ecx]
sub eax, edx
mov dword [ebp + edi*4 - 0x114], eax
cdq
xor eax, edx
sub eax, edx
add dword [ebp - 4], eax
inc ecx
inc edi
dec ebx
jne 0x514c01
mov eax, dword [ebp + 0xc]
add dword [ebp + 8], eax
mov eax, dword [ebp + 0x14]
add dword [ebp + 0x10], eax
dec dword [ebp - 8]
jne 0x514bf6
mov eax, dword [ebp - 4]
shl eax, 3
mov dword [ebp - 4], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x14], 8
mov esi, dword [eax - 0x14]
mov ecx, dword [eax - 0x18]
lea edx, [ecx + esi]
sub ecx, esi
mov esi, dword [eax - 0xc]
mov dword [ebp + 0x14], ecx
mov ecx, dword [eax - 0x10]
lea edi, [esi + ecx]
sub ecx, esi
mov dword [ebp - 8], ecx
mov ecx, dword [eax - 8]
mov dword [ebp + 0xc], edi
mov edi, dword [eax - 4]
lea esi, [edi + ecx]
sub ecx, edi
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
lea ebx, [edi + ecx]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp + 0x14]
sub ecx, edi
mov edi, dword [ebp - 8]
add edi, ebx
mov dword [ebp - 0xc], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 0x10]
add ebx, edi
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
add ebx, esi
sub edi, dword [ebp - 0xc]
add ecx, edx
sub edx, dword [ebp + 0xc]
add ebx, ecx
mov dword [eax - 0x18], ebx
mov ebx, dword [ebp + 8]
add ebx, esi
sub esi, dword [ebp + 8]
sub ecx, ebx
mov ebx, dword [ebp + 0x10]
mov dword [eax - 0x14], ecx
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov dword [eax], ebx
mov ebx, dword [ebp + 0x10]
add ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp - 8]
mov ebx, edx
sub ebx, esi
add esi, edx
lea edx, [edi + ecx]
sub ecx, edi
mov dword [eax - 0x10], ebx
mov dword [eax - 0xc], esi
mov dword [eax - 8], edx
mov dword [eax - 4], ecx
add eax, 0x20
dec dword [ebp - 0x14]
jne 0x514c45
lea ecx, [ebp - 0xb4]
mov dword [ebp - 8], 8
mov edx, dword [ecx - 0x40]
mov eax, dword [ecx - 0x60]
lea esi, [eax + edx]
sub eax, edx
mov dword [ebp + 0x14], eax
mov edx, dword [ecx]
mov eax, dword [ecx - 0x20]
lea edi, [eax + edx]
sub eax, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ecx + 0x40]
mov eax, dword [ecx + 0x20]
mov dword [ebp + 0x10], edi
lea edi, [eax + edx]
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x80]
mov edx, dword [ecx + 0x60]
lea ebx, [edx + eax]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x14]
add ebx, eax
mov eax, dword [ebp - 0xc]
add edx, eax
mov dword [ebp + 8], edx
mov eax, ebx
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
lea eax, [edx + ebx]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add edx, eax
mov eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp + 8], edx
lea edx, [ebx + edi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp + 8], edx
lea edx, [ebx + edi]
add eax, edx
cdq
xor eax, edx
sub eax, edx
add eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
add eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x14]
sub esi, dword [ebp + 0x10]
sub edi, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov eax, ebx
sub eax, dword [ebp + 8]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
lea eax, [edx + ebx]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
add edx, eax
mov dword [ebp + 8], edx
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
add edx, eax
mov dword [ebp + 8], edx
lea eax, [edi + esi]
cdq
xor eax, edx
sub eax, edx
add eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
add eax, edx
add ecx, 4
dec dword [ebp - 8]
mov dword [ebp - 4], eax
jne 0x514d02
fild dword [ebp - 4]
fmul qword [0x4056c8]
call fcn.005d02c0
mov esi, eax
call fcn.005dbdb8
test eax, eax
je 0x514e27
emms
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10