Function at 0x4883e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xchg edi, edi
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edi
movzx ebx, byte [edx]
mov edi, ecx
movzx eax, byte [edx + 1]
mov dword [esp - 0x28], ebp
movzx ecx, byte [edx + 5]
shl ebx, 8
mov esi, dword [edi + 4]
or ebx, eax
mov dword [esp - 0x2c], 0x7b249cbe
movzx eax, byte [edx + 2]
dec esi
shl ebx, 8
or ebx, eax
mov dword [esp - 0x30], 0x15ee5d06
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
mov esi, esi
movzx eax, byte [edx + 4]
shl eax, 8
or eax, ecx
mov edx, edx
mov dword [ebp - 4], ebx
movzx ecx, byte [edx + 6]
shl eax, 8
xchg ebp, ebp
or eax, ecx
movzx ecx, byte [edx + 7]
shl eax, 8
or eax, ecx
xchg ecx, ecx
test esi, esi
jle 0x488636
mov edx, dword [edi + 8]
lea ecx, [esi - 1]
mov ebx, ebx
lea ecx, [esi + ecx*2]
lea edi, [edx + ecx*4]
lea ecx, [esi - 1]
mov ebx, ebx
mov dword [ebp + 8], edi
shr ecx, 1
inc ecx
mov dword [esp - 0x40], ecx
mov dword [ebp - 8], ecx
mov ebx, eax
mov ecx, eax
shr ecx, 0x10
mov dword [esp - 0x2c], 0x31d9a2c2
mov edx, eax
and ecx, 0x3ff
ror ebx, 0xe
mov edx, edx
and edx, 0x3ff00
and ebx, 0xffc00
or ebx, ecx
mov edi, edi
shl edx, 2
mov ecx, eax
and ecx, 0x3ff
or edx, ecx
xchg esi, esi
mov ecx, edx
xor ecx, ebx
and ecx, dword [edi + 0x10]
mov dword [esp - 0x20], 0x4a4e4fdb
mov edi, dword [edi + 8]
mov esi, ecx
xor edi, ecx
xor esi, edx
xchg esp, esp
mov ecx, dword [ebp + 8]
xor edi, ebx
xor esi, dword [ecx + 0xc]
mov ecx, esi
mov dword [esp - 0x3c], 0x21fa9bbe
and esi, 0x3ff
shr ecx, 0xa
mov edx, dword [ecx*4 + 0x4bd5a8]
xchg ebp, ebp
mov ecx, edi
shr ecx, 0xa
xor edx, 0x44ea390e
xchg edx, edx
and edi, 0x3ff
mov ecx, dword [ecx*4 + 0x4bb5a8]
xor ecx, 0x44ea390e
xchg edi, edi
or edx, ecx
mov ecx, dword [esi*4 + 0x4be5a8]
mov esi, dword [ebp - 4]
xor ecx, 0x44ea390e
mov dword [esp - 0x14], 0x3c0c9123
or edx, ecx
mov ecx, dword [edi*4 + 0x4bc5a8]
xor ecx, 0x44ea390e
or edx, ecx
mov dword [esp - 0x14], 0x438009f9
xor esi, edx
mov ebx, esi
mov dword [ebp - 4], esi
mov ecx, esi
mov edi, edi
ror ebx, 0xe
shr ecx, 0x10
mov edx, esi
mov dword [esp - 0x40], 0x2d4e8ef1
and ecx, 0x3ff
and edx, 0x3ff00
and ebx, 0xffc00
shl edx, 2
mov dword [esp - 0x2c], ebp
or ebx, ecx
mov ecx, esi
mov esi, dword [ebp + 8]
mov dword [esp - 0x18], ecx
and ecx, 0x3ff
or edx, ecx
mov ecx, edx
xor ecx, ebx
mov dword [esp - 0x24], 0x7817773a
and ecx, dword [esi + 4]
mov esi, ecx
xor esi, edx
mov edx, dword [ebp + 8]
xchg esi, esi
xor esi, dword [edx]
mov edi, dword [edx - 4]
xor edi, ecx
mov ecx, esi
xchg edi, edi
shr ecx, 0xa
xor edi, ebx
and esi, 0x3ff
mov edx, dword [ecx*4 + 0x4bd5a8]
mov dword [esp - 0x3c], 0x2da7ccf0
mov ecx, edi
shr ecx, 0xa
xor edx, 0x44ea390e
xchg ecx, ecx
mov ecx, dword [ecx*4 + 0x4bb5a8]
xor ecx, 0x44ea390e
or edx, ecx
mov ecx, dword [esi*4 + 0x4be5a8]
mov esi, esi
xor ecx, 0x44ea390e
or edx, ecx
and edi, 0x3ff
mov dword [esp - 0x2c], esi
mov ecx, dword [edi*4 + 0x4bc5a8]
mov edi, dword [ebp + 8]
xor ecx, 0x44ea390e
mov dword [esp - 0x18], 0x3cf2b02a
or edx, ecx
sub edi, 0x18
xor eax, edx
mov dword [ebp + 8], edi
xchg edi, edi
sub dword [ebp - 8], 1
jne 0x48847a
mov ebx, dword [ebp - 4]
xchg edx, edx
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov byte [ecx + 3], al
mov dword [esp - 0x10], ebp
mov byte [ecx + 7], bl
shr eax, 8
mov byte [ecx + 2], al
mov dword [esp - 0x18], edx
shr ebx, 8
mov byte [ecx + 6], bl
shr eax, 8
mov dword [esp - 0x44], 0x25349b96
shr ebx, 8
mov byte [ecx + 1], al
mov byte [ecx + 5], bl
mov edi, edi
shr eax, 8
shr ebx, 8
mov byte [ecx], al
mov dword [esp - 0x1c], edx
mov byte [ecx + 4], bl
pop ebx
mov esp, ebp
xchg edi, edi
pop ebp
ret 8