Function at 0x4e8400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, ecx
push ebx
push esi
push edi
mov ebx, dword [eax + 0x514]
mov edi, dword [eax + 0x510]
mov dword [ebp - 4], eax
mov eax, ebx
sub eax, edi
test eax, 0xfffffffc
jne 0x4e85c0
mov esi, 0x4d0
push esi
call fcn.004b9130
add esp, 4
mov ebx, eax
push esi
lea eax, [ebx + esi]
push 0
push ebx
mov dword [ebp - 8], eax
call fcn.00518890
add esp, 0xc
mov esi, dword [ebp - 4]
mov ecx, 0x134
add esi, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x514]
sub eax, dword [esi + 0x510]
sar eax, 2
test eax, eax
je 0x4e8579
push 0x30
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push 0
push eax
movlpd qword [ebp - 0x64], xmm0
call fcn.00518890
add esp, 0xc
mov dword [ebp - 0x24], 0xfffffb30
mov ecx, esi
call fcn.004e78c0
mov ecx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xfffffb30
mov dword [ebp - 0x18], 0x4d0
mov dword [ebp - 0x14], 0x40
call fcn.004e78c0
movups xmm0, xmmword [ebp - 0x24]
sub eax, 0x510
mov dword [ebp - 4], 0x550
mov dword [ebp - 0x10], eax
movups xmmword [ebx + 0x4d0], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ebx + 0x4e0], xmm0
mov eax, dword [esi + 0x514]
mov edi, dword [esi + 0x510]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
cmp edi, eax
je 0x4e853e
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx ecx, al
xor edx, edx
xor eax, eax
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
mov ecx, dword [edi]
cmovae edx, eax
or dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
or esi, edx
add eax, ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 4]
add dword [ebp - 4], eax
add edi, 4
cmp edi, dword [ebp - 0xc]
jne 0x4e84f6
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x64]
or esi, 0x80000000
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ebx + 0x510], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ebx + 0x520], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebx + 0x530], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebx + 0x540], xmm0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
sub esi, ebx
push esi
mov eax, dword [ecx]
push ebx
mov eax, dword [eax + 4]
call eax
test al, al
setne byte [ebp + 0xb]
cmp esi, 0x1000
jb 0x4e85aa
mov ecx, dword [ebx - 4]
add esi, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x4e8625
mov ebx, ecx
push esi
push ebx
call fcn.004b9160
mov al, byte [ebp + 0xb]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, 0x550
cmp edi, ebx
je 0x4e85e0
nop dword [eax]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
add esi, eax
cmp edi, ebx
jne 0x4e85d0
xor eax, eax
xor ebx, ebx
mov dword [ebp - 8], eax
test esi, esi
je 0x4e844b
cmp esi, 0x7fffffff
ja 0x4e862a
cmp esi, 0x1000
jb 0x4e842e
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x4e862f
push eax
call fcn.004b9130
add esp, 4
test eax, eax
je 0x4e8625
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4e8439
call fcn.0051bb5f
call fcn.0041fac0
call fcn.0041fa60
int3