Function at 0x481c80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, 4
push edi
mov dword [edx + 0xc0], 0
mov dword [esp + 0x10], esi
lea ecx, [ecx]
movzx eax, byte [edx + esi + 0x2c9c]
mov ecx, eax
and eax, 1
shr ecx, 1
dec ecx
or eax, 2
shl eax, cl
mov dword [esp + 0x14], 0
lea edi, [edx + eax*2 + 0x239c]
mov dword [esp + 0x18], edi
mov edi, 1
sub esi, eax
nop
mov ebx, dword [esp + 0x18]
movzx ebp, word [ebx + edi*2]
mov eax, esi
and eax, 1
mov ebx, eax
neg ebx
shr ebx, 4
and ebx, 0x7f
shr ebp, 4
xor ebp, ebx
mov ebx, dword [esp + 0x14]
add ebx, dword [edx + ebp*4 + 0x748]
shr esi, 1
dec ecx
mov dword [esp + 0x14], ebx
lea edi, [eax + edi*2]
jne 0x481cd0
mov esi, dword [esp + 0x10]
mov dword [esp + esi*4 + 0x2c], ebx
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x80
jb 0x481ca0
lea ecx, [esp + 0x30]
sub ecx, edx
lea ebx, [edx + 0x121c]
lea eax, [edx + 0x1624]
sub ecx, 0x161c
lea edi, [edx + 0x219c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 4
lea ebx, [ebx]
mov ebp, dword [edx + 0xc8]
xor esi, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x481e5d
shr esi, 1
lea eax, [esi + 0x20]
mov ecx, eax
mov dword [esp + 0x24], eax
shr eax, 1
movzx esi, word [edi + eax*2]
shr esi, 4
and ecx, 1
neg ecx
shr ecx, 4
and ecx, 0x7f
xor esi, ecx
mov ecx, dword [edx + esi*4 + 0x748]
mov esi, eax
and esi, 1
neg esi
shr eax, 1
movzx ebx, word [edi + eax*2]
shr esi, 4
and esi, 0x7f
shr ebx, 4
xor ebx, esi
add ecx, dword [edx + ebx*4 + 0x748]
mov esi, eax
and esi, 1
shr eax, 1
movzx ebx, word [edi + eax*2]
neg esi
shr esi, 4
and esi, 0x7f
shr ebx, 4
xor ebx, esi
add ecx, dword [edx + ebx*4 + 0x748]
mov esi, eax
shr eax, 1
mov ebx, eax
mov ebp, eax
movzx eax, word [edi + eax*2]
and esi, 1
and ebp, 1
neg esi
shr ebx, 1
movzx ebx, word [edi + ebx*2]
neg ebp
shr esi, 4
shr ebp, 4
shr eax, 4
and esi, 0x7f
xor eax, esi
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov esi, dword [edx + ebx*4 + 0x748]
add esi, dword [edx + eax*4 + 0x748]
mov eax, dword [esp + 0x24]
movzx eax, word [edi + eax*2]
mov ebx, dword [esp + 0x1c]
add ecx, esi
mov esi, eax
shr esi, 4
mov ebp, dword [edx + esi*4 + 0x748]
mov esi, dword [esp + 0x20]
xor eax, 0x7f0
add ebp, ecx
shr eax, 4
mov dword [ebx + esi*4], ebp
mov eax, dword [edx + eax*4 + 0x748]
mov ebp, dword [esp + 0x28]
add eax, ecx
mov dword [ebx + esi*4 + 4], eax
add esi, 2
mov dword [esp + 0x20], esi
cmp esi, ebp
jb 0x481d68
mov eax, dword [esp + 0x14]
mov ecx, 0xe
cmp ebp, ecx
jbe 0x481e78
mov esi, ecx
shr esi, 1
sub esi, 5
shl esi, 4
add dword [ebx + ecx*4], esi
inc ecx
cmp ecx, ebp
jb 0x481e66
mov ecx, dword [ebx]
mov dword [eax - 8], ecx
mov ecx, dword [ebx + 4]
mov dword [eax - 4], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 4], ecx
mov ecx, 4
add eax, 8
jmp 0x481ea0
movzx esi, byte [edx + ecx + 0x2c9c]
mov esi, dword [ebx + esi*4]
mov ebp, dword [esp + 0x10]
mov ebp, dword [eax + ebp - 4]
add ebp, esi
mov dword [eax], ebp
mov ebp, dword [esp + 0x10]
mov ebp, dword [eax + ebp]
add ebp, esi
mov dword [eax + 4], ebp
add ecx, 2
add eax, 8
cmp ecx, 0x80
jb 0x481ea0
mov eax, dword [esp + 0x14]
sub dword [esp + 0x10], 0x200
add ebx, 0x100
add eax, 0x200
sub edi, 0xffffff80
dec dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
jne 0x481d50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret