Function at 0x41304a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x84]
mov dword [ebp - 4], esi
lea esi, [eax + 0x8c]
inc dword [esi]
mov esi, dword [esi]
push edi
mov edi, dword [eax + 0x88]
lea ecx, [eax + 0x44]
lea ebx, [ecx + 0x20]
add edi, esi
push 4
lea edx, [eax + 4]
mov eax, ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
pop esi
cmp ecx, ebx
jmp 0x41318b
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shl edi, 0xd
xor edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
add edi, dword [ebx]
add dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add edi, dword [ebp - 4]
add dword [ebp - 8], esi
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add eax, esi
mov dword [edx], edi
mov dword [ebp - 0x10], edi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shr edi, 6
xor edi, dword [ebp - 4]
add edx, esi
add edi, dword [ebx]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
add edi, dword [ebp - 4]
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add eax, esi
mov dword [edx], edi
mov dword [ebp - 0x10], edi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, ebx
shl edi, 2
xor edi, ebx
mov ebx, dword [ebp - 8]
add edi, dword [ebx]
add dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add edi, dword [ebp - 4]
add dword [ebp - 8], esi
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add edx, esi
mov dword [edx], edi
mov dword [ebp - 0x10], edi
add eax, esi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shr edi, 0x10
xor edi, dword [ebp - 4]
add edx, esi
add edi, dword [ebx]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
add edi, dword [ebp - 4]
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add eax, esi
mov dword [edx], edi
add edx, esi
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
jb 0x41308e
cmp ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
jae 0x4132ac
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shl edi, 0xd
xor edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
add edi, dword [ebx]
add dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add edi, dword [ebp - 4]
add dword [ebp - 8], esi
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add eax, esi
mov dword [edx], edi
mov dword [ebp - 0x10], edi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shr edi, 6
xor edi, dword [ebp - 4]
add edx, esi
add edi, dword [ebx]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
add edi, dword [ebp - 4]
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add eax, esi
mov dword [edx], edi
mov dword [ebp - 0x10], edi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, ebx
shl edi, 2
xor edi, ebx
mov ebx, dword [ebp - 8]
add edi, dword [ebx]
add dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add edi, dword [ebp - 4]
add dword [ebp - 8], esi
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add edx, esi
mov dword [edx], edi
mov dword [ebp - 0x10], edi
add eax, esi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shr edi, 0x10
xor edi, dword [ebp - 4]
add edx, esi
add edi, dword [ebx]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0x10]
add edi, dword [ebp - 4]
mov dword [eax], edi
shr edi, 4
and edi, 0x3c
mov edi, dword [edi + ecx]
add edi, dword [ebp - 0xc]
add eax, esi
mov dword [edx], edi
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x14]
add edx, esi
cmp dword [ebp - 8], edi
jb 0x4131a0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x88], edi
pop edi
pop esi
mov dword [eax + 0x84], ecx
pop ebx
leave
ret 4