Function at 0x480d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [esp - 0x44], 0x7decb85d
push ebx
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp - 0x34], ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp - 0x38], ebx
mov edx, 0x6f799f2c
sub edx, 0x50128219
add edx, 0x26383d7f
xor edx, 0x43b724e9
mov dword [esp - 0x18], 0x16f30ba8
xor edx, 0x764f24a2
xor edx, 0x203bd446
sub edx, 0x505c8e9d
mov eax, dword [ebx + 4]
mov dword [esp - 0x18], ebx
add eax, dword [edi + 4]
mov dword [ebp - 4], eax
inc eax
mul edx
xchg ebp, ebp
seto cl
neg ecx
or ecx, eax
xchg esp, esp
push ecx
call fcn.0048b720
mov ecx, dword [edi + 4]
add esp, 4
xchg esp, esp
xor esi, esi
mov dword [ebp + 0xc], eax
test ecx, ecx
mov dword [esp - 0x10], 0x62b50cfb
je 0x480e85
mov ebx, eax
mov edi, edi
xchg esi, esi
mov edx, edi
cmp ecx, 2
jbe 0x480e2b
mov edx, dword [edi]
xchg ecx, ecx
mov ecx, esi
mov eax, 0x60f3dc9c
sub eax, 0x39af07ad
add eax, 0x5389af0f
mov dword [esp - 0x1c], 0x767946d7
xor eax, 0x500aa342
add eax, 0x249cbe35
xor eax, 0x4f8fa7f9
add eax, 0x728eab38
mov edx, edx
and ecx, 3
shl ecx, 3
sar eax, cl
mov dword [esp - 0x1c], 0x5aba326
cbw
xor ax, word [edx + esi*2]
mov word [ebx + esi*2], ax
mov esi, esi
inc esi
mov ecx, dword [edi + 4]
cmp esi, ecx
jb 0x480e20
mov dword [esp - 0x30], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
xor edx, edx
test eax, eax
xchg ebp, ebp
je 0x480ef1
mov esi, ebx
cmp eax, 2
xchg esp, esp
jbe 0x480e9b
mov esi, dword [ebx]
mov ecx, edx
mov eax, 0x77b3af35
mov edx, edx
sub eax, 0x4bd228df
xor eax, 0x5b938d0a
xor eax, 0x546656c4
mov ebx, ebx
add eax, 0x2c596db8
xor eax, 0x2313ef10
and ecx, 3
mov dword [esp - 0x2c], ebp
shl ecx, 3
sar eax, cl
movsx cx, al
mov dword [esp - 0xc], edx
mov eax, dword [edi + 4]
add eax, edx
xor cx, word [esi + edx*2]
inc edx
mov ebx, ebx
mov esi, dword [ebp + 0xc]
mov word [esi + eax*2], cx
mov eax, dword [ebx + 4]
mov dword [esp - 0x18], ebx
cmp edx, eax
jb 0x480e90
mov ecx, dword [ebp + 0xc]
mov dword [esp - 0x24], ebx
xor edx, edx
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov dword [esp - 0x34], 0x1bf98143
mov word [ecx + eax*2], dx
mov dword [edi], edx
mov edx, ecx
xchg edx, edx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
mov dword [esp - 0xc], ebx
jne 0x480f15
sub edx, esi
mov esi, edi
mov esi, esi
sar edx, 1
mov dword [edi + 4], edx
cmp edx, 2
jbe 0x480f94
mov dword [esp - 0x10], edi
xor ecx, ecx
mov eax, edx
mov edx, 0x73476c46
mov dword [esp - 0x30], ecx
sub edx, 0x7262bbdc
xor edx, 0x3bd20201
xor edx, 0x51277ec5
mov dword [esp - 0x1c], 0x35841eb7
add edx, 0x11057ef5
sub edx, 0x1b1a4845
sub edx, 0x5ffd035c
xchg ebx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
mov dword [esp - 0x24], edx
push ecx
call fcn.0048b720
mov ecx, dword [ebp + 0xc]
xchg edi, edi
mov esi, eax
add esp, 4
mov dword [edi], esi
mov edi, edi
xor edx, edx
cmp dword [edi + 4], edx
jbe 0x480fec
mov ecx, ecx
mov ebx, ecx
sub ebx, esi
mov ecx, edx
mov dword [esp - 0x38], 0x24356bca
lea esi, [esi + 2]
and ecx, 3
mov eax, 0x3a8afcc1
mov edx, edx
add eax, 0x414c77ff
sub eax, 0x1da4c6c9
add eax, 0x1c5d5d3f
sub eax, 0x711e6f6
mov dword [esp - 0x18], esi
shl ecx, 3
inc edx
sar eax, cl
mov edi, edi
cbw
xor ax, word [ebx + esi - 2]
mov word [esi - 2], ax
cmp edx, dword [edi + 4]
mov dword [esp - 0x28], ebx
jb 0x480fa1
push dword [ebp + 0xc]
call fcn.0048b6f0
add esp, 4
xchg esi, esi
mov eax, edi
pop edi
pop esi
mov dword [esp - 0x30], 0x79f1505e
pop ebx
mov esp, ebp
pop ebp
mov ecx, ecx
ret