Function at 0x4e7260
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push esi
mov ebx, dword [esp + 0x20]
push edi
push ebp
lea eax, [ebx + 0x48]
lea edi, [ebx + 0x448]
lea ecx, [ebx + 0x848]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
lea eax, [ebx + 0xc48]
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
xor eax, eax
mov ax, word [0x695680]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x4e72d6
mov edi, esi
mov edx, 2
mov eax, dword [edi]
add edi, 4
mov ecx, eax
shl ecx, 0x10
shr eax, 0x10
or ecx, eax
mov eax, ecx
shl eax, 8
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
dec edx
mov dword [edi - 4], ecx
jne 0x4e72af
mov edx, dword [ebx + 0x44]
mov edi, dword [esp + 0x14]
xor edx, dword [esi]
mov eax, edx
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], dh
mov ecx, dword [edi + eax*4]
mov edi, edx
shr edi, 0x18
mov eax, dword [esp + 0x18]
add ecx, dword [eax + edi*4]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor ecx, dword [eax + edi*4]
mov edi, edx
and edi, 0xff
mov eax, dword [esp + 0x20]
add ecx, dword [eax + edi*4]
mov edi, dword [esp + 0x14]
xor ecx, dword [ebx + 0x40]
xor ecx, dword [esi + 4]
mov eax, ecx
mov ebp, ecx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], ch
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor edx, edi
mov edi, dword [esp + 0x14]
xor edx, dword [ebx + 0x3c]
mov eax, edx
mov ebp, edx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], dh
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor ecx, edi
xor ecx, dword [ebx + 0x38]
mov edi, dword [esp + 0x14]
mov eax, ecx
mov ebp, ecx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], ch
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor edx, edi
mov edi, dword [esp + 0x14]
xor edx, dword [ebx + 0x34]
mov eax, edx
mov ebp, edx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], dh
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor ecx, edi
mov edi, dword [esp + 0x14]
xor ecx, dword [ebx + 0x30]
mov eax, ecx
mov ebp, ecx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], ch
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor edx, edi
xor edx, dword [ebx + 0x2c]
mov eax, edx
mov edi, dword [esp + 0x14]
and eax, 0xff0000
mov ebp, edx
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], dh
shr ebp, 0x18
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor ecx, edi
mov edi, dword [esp + 0x14]
xor ecx, dword [ebx + 0x28]
mov eax, ecx
mov ebp, ecx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], ch
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor edx, edi
mov edi, dword [esp + 0x14]
xor edx, dword [ebx + 0x24]
mov eax, edx
mov ebp, edx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], dh
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor ecx, edi
xor ecx, dword [ebx + 0x20]
mov eax, ecx
and eax, 0xff0000
mov edi, dword [esp + 0x14]
shr eax, 0x10
mov ebp, ecx
mov dword [esp + 0x10], 0
shr ebp, 0x18
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], ch
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor edx, edi
mov edi, dword [esp + 0x14]
xor edx, dword [ebx + 0x1c]
mov eax, edx
mov ebp, edx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], dh
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor ecx, edi
mov edi, dword [esp + 0x14]
xor ecx, dword [ebx + 0x18]
mov eax, ecx
mov ebp, ecx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], ch
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor edx, edi
xor edx, dword [ebx + 0x14]
mov eax, edx
and eax, 0xff0000
shr eax, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov edi, dword [edi + eax*4]
mov ebp, edx
shr ebp, 0x18
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], dh
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor ecx, edi
mov edi, dword [esp + 0x14]
xor ecx, dword [ebx + 0x10]
mov eax, ecx
mov ebp, ecx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], ch
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor edx, edi
mov edi, dword [esp + 0x14]
xor edx, dword [ebx + 0xc]
mov eax, edx
mov ebp, edx
shr ebp, 0x18
and eax, 0xff0000
mov dword [esp + 0x10], 0
shr eax, 0x10
mov byte [esp + 0x10], dh
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, edx
and ebp, 0xff
mov eax, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
xor ecx, edi
xor ecx, dword [ebx + 8]
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
mov edi, dword [esp + 0x14]
mov ebp, ecx
mov dword [esp + 0x10], 0
shr ebp, 0x18
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], ch
add edi, dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edi, dword [eax + ebp*4]
mov ebp, ecx
and ebp, 0xff
mov eax, dword [esp + 0x20]
xor ecx, dword [ebx]
add edi, dword [eax + ebp*4]
xor edx, edi
xor eax, eax
xor edx, dword [ebx + 4]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ax, word [0x695680]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x4e77a3
mov edx, 2
mov eax, dword [esi]
add esi, 4
mov ecx, eax
shl ecx, 0x10
shr eax, 0x10
or ecx, eax
mov eax, ecx
shl eax, 8
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
dec edx
mov dword [esi - 4], ecx
jne 0x4e777c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret