Function at 0x48bf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov edx, edx
push ebx
push esi
push edi
mov dword [esp - 0x38], edx
movzx ebx, byte [edx]
mov edi, ecx
movzx eax, byte [edx + 1]
mov dword [esp - 0x34], ebx
movzx ecx, byte [edx + 5]
shl ebx, 8
mov esi, dword [edi + 4]
mov dword [esp - 0x10], 0x5acd7d9b
or ebx, eax
movzx eax, byte [edx + 2]
dec esi
shl ebx, 8
mov edx, edx
or ebx, eax
movzx eax, byte [edx + 3]
shl ebx, 8
mov dword [esp - 0x44], ecx
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or eax, ecx
mov dword [esp - 0x1c], ebp
mov dword [ebp - 4], ebx
movzx ecx, byte [edx + 6]
shl eax, 8
mov dword [esp - 0x18], 0x4ddbb715
or eax, ecx
movzx ecx, byte [edx + 7]
shl eax, 8
mov edx, edx
or eax, ecx
test esi, esi
jle 0x48c1c6
mov edx, edx
mov edx, dword [edi + 8]
lea ecx, [esi - 1]
lea ecx, [esi + ecx*2]
lea edi, [edx + ecx*4]
xchg ebp, ebp
lea ecx, [esi - 1]
mov dword [ebp + 8], edi
shr ecx, 1
inc ecx
mov dword [esp - 0x28], ecx
mov dword [ebp - 8], ecx
mov ebx, eax
mov ecx, eax
shr ecx, 0x10
mov dword [esp - 0x30], 0x6bdf431d
mov edx, eax
and ecx, 0x3ff
ror ebx, 0xe
mov dword [esp - 0x18], ebp
and edx, 0x3ff00
and ebx, 0xffc00
or ebx, ecx
xchg ebp, ebp
shl edx, 2
mov ecx, eax
and ecx, 0x3ff
or edx, ecx
mov esi, esi
mov ecx, edx
xor ecx, ebx
and ecx, dword [edi + 0x10]
mov edi, dword [edi + 8]
mov dword [esp - 0x18], 0x2799a5fa
mov esi, ecx
xor edi, ecx
xor esi, edx
mov ecx, dword [ebp + 8]
xchg ebp, ebp
xor edi, ebx
xor esi, dword [ecx + 0xc]
mov ecx, esi
and esi, 0x3ff
mov edx, edx
shr ecx, 0xa
mov edx, dword [ecx*4 + 0x4c35c0]
mov ecx, edi
shr ecx, 0xa
mov dword [esp - 0x10], ebx
xor edx, 0x600c359d
and edi, 0x3ff
mov ecx, dword [ecx*4 + 0x4c15c0]
mov edi, edi
xor ecx, 0x600c359d
or edx, ecx
mov ecx, dword [esi*4 + 0x4c45c0]
mov dword [esp - 0x34], 0x6fa4e33e
mov esi, dword [ebp - 4]
xor ecx, 0x600c359d
or edx, ecx
xchg edx, edx
mov ecx, dword [edi*4 + 0x4c25c0]
xor ecx, 0x600c359d
or edx, ecx
xor esi, edx
mov dword [esp - 0x3c], 0x3da96290
mov ebx, esi
mov dword [ebp - 4], esi
mov ecx, esi
xchg esi, esi
ror ebx, 0xe
shr ecx, 0x10
mov edx, esi
mov esp, esp
and ecx, 0x3ff
and edx, 0x3ff00
and ebx, 0xffc00
shl edx, 2
mov ebp, ebp
or ebx, ecx
mov ecx, esi
mov esi, dword [ebp + 8]
mov edi, edi
and ecx, 0x3ff
or edx, ecx
mov ecx, edx
mov dword [esp - 0x30], ecx
xor ecx, ebx
and ecx, dword [esi + 4]
mov esi, ecx
xor esi, edx
xchg edx, edx
mov edx, dword [ebp + 8]
xor esi, dword [edx]
mov edi, dword [edx - 4]
mov dword [esp - 0x2c], ebp
xor edi, ecx
mov ecx, esi
shr ecx, 0xa
mov dword [esp - 0xc], 0x117494fe
xor edi, ebx
and esi, 0x3ff
mov edx, dword [ecx*4 + 0x4c35c0]
mov ecx, edi
mov dword [esp - 0x20], ebp
shr ecx, 0xa
xor edx, 0x600c359d
mov ecx, dword [ecx*4 + 0x4c15c0]
mov esi, esi
xor ecx, 0x600c359d
or edx, ecx
mov ecx, dword [esi*4 + 0x4c45c0]
xchg edx, edx
xor ecx, 0x600c359d
or edx, ecx
and edi, 0x3ff
mov dword [esp - 0x44], edi
mov ecx, dword [edi*4 + 0x4c25c0]
mov edi, dword [ebp + 8]
xor ecx, 0x600c359d
or edx, ecx
mov dword [esp - 0x40], 0x40653838
sub edi, 0x18
xor eax, edx
mov dword [ebp + 8], edi
sub dword [ebp - 8], 1
mov dword [esp - 0x18], 0x2a49dae1
jne 0x48c010
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [esp - 0x3c], esp
pop edi
pop esi
mov byte [ecx + 3], al
mov edi, edi
mov byte [ecx + 7], bl
shr eax, 8
mov byte [ecx + 2], al
mov dword [esp - 0x34], 0x53d895be
shr ebx, 8
mov byte [ecx + 6], bl
shr eax, 8
shr ebx, 8
mov edx, edx
mov byte [ecx + 1], al
mov byte [ecx + 5], bl
shr eax, 8
shr ebx, 8
mov ecx, ecx
mov byte [ecx], al
mov byte [ecx + 4], bl
pop ebx
mov esp, ebp
mov ebp, ebp
pop ebp
ret 8