Function at 0x4e707f
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x517ad4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, ebp
mov edi, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xb4]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004e6e96
movzx eax, byte [ebp - 0x14]
mov eax, dword [eax*4 + 0x51fa48]
movzx ecx, byte [ebp - 7]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 0xa]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 0xd]
xor eax, dword [ecx*4 + 0x51ee48]
movzx ecx, byte [ebp - 0x13]
mov dword [esi], eax
movzx eax, byte [ebp - 0x10]
mov eax, dword [eax*4 + 0x51fa48]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 6]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 9]
xor eax, dword [ecx*4 + 0x51ee48]
movzx ecx, byte [ebp - 0xf]
mov dword [esi + 4], eax
movzx eax, byte [ebp - 0xc]
mov eax, dword [eax*4 + 0x51fa48]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 0x12]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 5]
xor eax, dword [ecx*4 + 0x51ee48]
movzx ecx, byte [ebp - 0xb]
mov dword [esi + 8], eax
movzx eax, byte [ebp - 8]
mov eax, dword [eax*4 + 0x51fa48]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 0xe]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 0x11]
add esp, 0xc
xor eax, dword [ecx*4 + 0x51ee48]
lea ebx, [edi + 0xa4]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x18], 8
push ebx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004e6e96
movzx eax, byte [ebp - 0x14]
mov eax, dword [eax*4 + 0x51fa48]
movzx ecx, byte [ebp - 7]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 0xa]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 0xd]
xor eax, dword [ecx*4 + 0x51ee48]
movzx ecx, byte [ebp - 0x13]
mov dword [esi], eax
movzx eax, byte [ebp - 0x10]
mov eax, dword [eax*4 + 0x51fa48]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 6]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 9]
xor eax, dword [ecx*4 + 0x51ee48]
movzx ecx, byte [ebp - 0xf]
mov dword [esi + 4], eax
movzx eax, byte [ebp - 0xc]
mov eax, dword [eax*4 + 0x51fa48]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 0x12]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 5]
xor eax, dword [ecx*4 + 0x51ee48]
movzx ecx, byte [ebp - 0xb]
mov dword [esi + 8], eax
movzx eax, byte [ebp - 8]
mov eax, dword [eax*4 + 0x51fa48]
xor eax, dword [ecx*4 + 0x51e148]
movzx ecx, byte [ebp - 0xe]
xor eax, dword [ecx*4 + 0x51d928]
movzx ecx, byte [ebp - 0x11]
xor eax, dword [ecx*4 + 0x51ee48]
add esp, 0xc
sub ebx, 0x10
dec dword [ebp - 0x18]
mov dword [esi + 0xc], eax
jne 0x4e7176
lea eax, [edi + 0x24]
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004e6e96
movzx eax, byte [ebp - 0x14]
mov al, byte [eax + 0x51e548]
mov byte [esi], al
movzx eax, byte [ebp - 7]
mov al, byte [eax + 0x51e548]
mov byte [esi + 1], al
movzx eax, byte [ebp - 0xa]
mov al, byte [eax + 0x51e548]
mov byte [esi + 2], al
movzx eax, byte [ebp - 0xd]
mov al, byte [eax + 0x51e548]
mov byte [esi + 3], al
movzx eax, byte [ebp - 0x10]
mov al, byte [eax + 0x51e548]
mov byte [esi + 4], al
movzx eax, byte [ebp - 0x13]
mov al, byte [eax + 0x51e548]
mov byte [esi + 5], al
movzx eax, byte [ebp - 6]
mov al, byte [eax + 0x51e548]
mov byte [esi + 6], al
movzx eax, byte [ebp - 9]
mov al, byte [eax + 0x51e548]
mov byte [esi + 7], al
movzx eax, byte [ebp - 0xc]
mov al, byte [eax + 0x51e548]
mov byte [esi + 8], al
movzx eax, byte [ebp - 0xf]
mov al, byte [eax + 0x51e548]
mov byte [esi + 9], al
movzx eax, byte [ebp - 0x12]
mov al, byte [eax + 0x51e548]
mov byte [esi + 0xa], al
movzx eax, byte [ebp - 5]
mov al, byte [eax + 0x51e548]
mov byte [esi + 0xb], al
movzx eax, byte [ebp - 8]
mov al, byte [eax + 0x51e548]
mov byte [esi + 0xc], al
movzx eax, byte [ebp - 0xb]
mov al, byte [eax + 0x51e548]
mov byte [esi + 0xd], al
movzx eax, byte [ebp - 0xe]
mov al, byte [eax + 0x51e548]
mov byte [esi + 0xe], al
movzx eax, byte [ebp - 0x11]
mov al, byte [eax + 0x51e548]
add edi, 0x14
push edi
push esi
push esi
mov byte [esi + 0xf], al
call fcn.004e6e96
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebd70
leave
ret 8