Function at 0x4f9660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x198
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x20], 0
add eax, 0x40
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x194], 0
nop dword [eax]
inc edx
mov ecx, edx
mov dword [esp + 0x198], edx
xor ecx, dword [ebp + 0x10]
mov edx, dword [eax - 0x40]
lea edi, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edi, 0x1f
and edi, ecx
neg edi
and edx, edi
mov esi, edi
not esi
mov ecx, esi
and ecx, dword [esp + 0x20]
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0xa0]
mov dword [esp + 0x20], edx
mov edx, dword [eax - 0x20]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x120]
mov dword [esp + 0xa0], edx
mov edx, dword [eax]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x5c]
mov dword [esp + 0x120], edx
mov edx, dword [eax - 0x3c]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0xdc]
mov dword [esp + 0x5c], edx
mov edx, dword [eax - 0x1c]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x15c]
mov dword [esp + 0xdc], edx
mov edx, dword [eax + 4]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x60]
mov dword [esp + 0x15c], edx
mov edx, dword [eax - 0x38]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0xe0]
mov dword [esp + 0x60], edx
mov edx, dword [eax - 0x18]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x160]
mov dword [esp + 0xe0], edx
mov edx, dword [eax + 8]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x6c]
mov dword [esp + 0x160], edx
mov edx, dword [eax - 0x34]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0xec]
mov dword [esp + 0x6c], edx
mov edx, dword [eax - 0x14]
and edx, edi
or edx, ecx
mov ecx, esi
mov dword [esp + 0xec], edx
mov edx, dword [eax + 0xc]
and edx, edi
and ecx, dword [esp + 0x16c]
lea eax, [eax + 0x60]
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x70]
mov dword [esp + 0x16c], edx
mov edx, dword [eax - 0x90]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0xf0]
mov dword [esp + 0x70], edx
mov edx, dword [eax - 0x70]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x170]
mov dword [esp + 0xf0], edx
mov edx, dword [eax - 0x50]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x8c]
mov dword [esp + 0x170], edx
mov edx, dword [eax - 0x8c]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x10c]
mov dword [esp + 0x8c], edx
mov edx, dword [eax - 0x6c]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x184]
mov dword [esp + 0x10c], edx
mov edx, dword [eax - 0x4c]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x90]
mov dword [esp + 0x184], edx
mov edx, dword [eax - 0x88]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x110]
mov dword [esp + 0x90], edx
mov edx, dword [eax - 0x68]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x188]
mov dword [esp + 0x110], edx
mov edx, dword [eax - 0x48]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x9c]
mov dword [esp + 0x188], edx
mov edx, dword [eax - 0x84]
and edx, edi
or edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x11c]
and esi, dword [esp + 0x194]
mov dword [esp + 0x9c], edx
mov edx, dword [eax - 0x64]
and edx, edi
or edx, ecx
mov ecx, dword [eax - 0x44]
and ecx, edi
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0x198]
or esi, ecx
mov dword [esp + 0x194], esi
cmp edx, 0x10
jb 0x4f9780
mov eax, dword [esp + 0x19c]
mov ecx, dword [esp + 0x20]
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0xe8]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0xec]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x108]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x10c]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 0x158]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x15c]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x168]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esp + 0x16c]
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 0x180]
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 0x184]
mov dword [eax + 0x5c], esi
mov dword [eax + 0x58], ecx
pop esi
mov esp, ebp
pop ebp
ret