Function at 0x4fbb20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [ebp + 8]
push ebx
push esi
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x20]
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 2
add eax, edx
mov dword [ebp - 0x24], edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov eax, ebx
shr eax, 2
add eax, ebx
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, 2
add eax, esi
mov dword [ebp - 0x2c], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], ebx
cmp edx, 0x10
jb 0x4fbe3e
mov ecx, dword [ebp - 0x14]
push edi
mov edi, dword [ebp + 0xc]
add edi, 6
shr edx, 4
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], edx
nop dword [eax]
movzx eax, byte [edi - 3]
cdq
mov ebx, eax
mov esi, edx
movzx eax, byte [edi - 4]
shld esi, ebx, 8
cdq
shl ebx, 8
or esi, edx
or ebx, eax
movzx eax, byte [edi - 5]
shld esi, ebx, 8
cdq
shl ebx, 8
or esi, edx
or ebx, eax
movzx eax, byte [edi - 6]
shld esi, ebx, 8
cdq
shl ebx, 8
or esi, edx
or ebx, eax
movzx eax, byte [edi + 1]
add ebx, dword [ebp - 0x20]
cdq
adc esi, 0
mov dword [ebp - 0x10], ebx
mov ebx, eax
mov edi, edx
mov eax, dword [ebp - 4]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 4]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax - 1]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 4]
shld edi, ebx, 8
shl ebx, 8
movzx eax, byte [eax - 2]
cdq
or ebx, eax
or edi, edx
mov eax, dword [ebp - 4]
add ebx, esi
adc edi, 0
add ebx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
movzx eax, byte [eax + 5]
adc edi, 0
cdq
mov esi, eax
mov ebx, edx
mov eax, dword [ebp - 4]
shld ebx, esi, 8
shl esi, 8
movzx eax, byte [eax + 4]
cdq
or esi, eax
or ebx, edx
mov eax, dword [ebp - 4]
shld ebx, esi, 8
shl esi, 8
movzx eax, byte [eax + 3]
cdq
or esi, eax
or ebx, edx
mov eax, dword [ebp - 4]
shld ebx, esi, 8
shl esi, 8
movzx eax, byte [eax + 2]
cdq
or esi, eax
or ebx, edx
add esi, edi
mov eax, dword [ebp - 4]
adc ebx, 0
add esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
movzx eax, byte [eax + 9]
adc ebx, 0
cdq
mov edi, eax
mov esi, edx
shld esi, edi, 8
mov eax, dword [ebp - 4]
shl edi, 8
movzx eax, byte [eax + 8]
cdq
or edi, eax
or esi, edx
mov eax, dword [ebp - 4]
shld esi, edi, 8
shl edi, 8
movzx eax, byte [eax + 7]
cdq
or edi, eax
or esi, edx
mov eax, dword [ebp - 4]
shld esi, edi, 8
shl edi, 8
movzx eax, byte [eax + 6]
cdq
or edi, eax
or esi, edx
mov eax, dword [ebp - 0x14]
add edi, ebx
adc esi, 0
add edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], edi
adc esi, 0
add esi, dword [ebp + 0x14]
add dword [ebp - 8], esi
mul ecx
mov ebx, eax
mov esi, edx
mov eax, dword [ebp - 0x18]
mul dword [ebp - 0x1c]
add ebx, eax
mov eax, edi
adc esi, edx
mul dword [ebp - 0x34]
add ebx, eax
mov eax, dword [ebp - 0x10]
adc esi, edx
mul dword [ebp - 0xc]
add ebx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 8]
adc esi, edx
imul ebx, dword [ebp - 0x34]
xor edi, edi
mul ecx
add ebx, eax
mov eax, dword [ebp - 0x20]
adc edi, edx
mul dword [ebp - 0x1c]
add ebx, eax
mov eax, dword [ebp - 0x14]
adc edi, edx
mul dword [ebp - 0xc]
add ebx, eax
mov eax, dword [ebp - 0x10]
adc edi, edx
mul dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp - 0x20]
adc edi, edx
add ebx, esi
mov esi, dword [ebp - 8]
adc edi, 0
mov dword [ebp - 0x28], ebx
imul esi, dword [ebp - 0x1c]
xor ebx, ebx
mul ecx
add esi, eax
mov eax, dword [ebp - 0x18]
adc ebx, edx
mul dword [ebp - 0xc]
add esi, eax
mov eax, dword [ebp - 0x10]
adc ebx, edx
mul dword [ebp - 0x30]
add esi, eax
mov eax, dword [ebp - 0x14]
adc ebx, edx
mul dword [ebp - 0x24]
add esi, eax
mov eax, dword [ebp - 0x20]
adc ebx, edx
add esi, edi
mov edi, dword [ebp - 8]
adc ebx, 0
mov dword [ebp - 0x3c], esi
mul dword [ebp - 0xc]
imul edi, ecx
xor esi, esi
add edi, eax
mov eax, dword [ebp - 0x10]
adc esi, edx
mul dword [ebp - 0x38]
add edi, eax
mov eax, dword [ebp - 0x14]
adc esi, edx
mul dword [ebp - 0x30]
add edi, eax
mov eax, dword [ebp - 0x18]
adc esi, edx
mul dword [ebp - 0x24]
add edi, eax
mov eax, dword [ebp - 8]
adc esi, edx
add edi, ebx
mov ebx, dword [ebp - 0x2c]
adc esi, 0
imul eax, dword [ebp - 0xc]
add esi, eax
mov edx, esi
mov eax, esi
and eax, 0xfffffffc
shr edx, 2
add edx, eax
add ebx, edx
mov eax, ebx
mov dword [ebp - 0x20], ebx
sub eax, edx
xor eax, edx
xor edx, ebx
or eax, edx
xor eax, ebx
mov ebx, dword [ebp - 0x28]
shr eax, 0x1f
add ebx, eax
mov edx, ebx
mov dword [ebp - 0x18], ebx
sub edx, eax
xor edx, eax
xor eax, ebx
or edx, eax
xor edx, ebx
mov ebx, dword [ebp - 0x3c]
shr edx, 0x1f
add ebx, edx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
sub eax, edx
xor eax, edx
xor edx, ebx
or eax, edx
xor eax, ebx
shr eax, 0x1f
lea edx, [edi + eax]
mov ebx, edx
mov dword [ebp - 0x28], edx
sub ebx, eax
mov edi, dword [ebp - 4]
xor ebx, eax
xor eax, edx
and esi, 3
or ebx, eax
add edi, 0x10
xor ebx, edx
mov dword [ebp - 4], edi
shr ebx, 0x1f
add ebx, esi
sub dword [ebp + 0x10], 1
mov dword [ebp - 8], ebx
jne 0x4fbba0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
pop edi
jmp 0x4fbe41
mov edx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2c]
pop esi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret