Function at 0x1024f8b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov esi, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
lea ebx, [ebp - 0x50]
sub ebx, edi
mov dword [ebp - 8], eax
mov eax, 0x1002650
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0x10
jmp 0x1024fc7
mov ebx, dword [ebp - 0x10]
add ebx, edi
mov edi, dword [edi]
mov dword [ebx - 0x40], edi
mov dword [ebx], edi
mov edi, dword [ebp - 0xc]
and dword [edi], 0
add edi, 4
dec dword [ebp - 4]
mov dword [ebp - 0xc], edi
jne 0x1024fc4
mov dword [ebp - 4], 0xfffffff0
mov ebx, dword [ebp - 4]
mov edi, edx
xor edi, esi
and edi, dword [ebp - 8]
xor edi, edx
add edi, dword [ebp + ebx*4 - 0x50]
add edi, dword [eax]
add eax, 0x10
add edi, ecx
rol edi, 7
add edi, dword [ebp - 8]
mov ecx, edi
mov edi, esi
xor edi, dword [ebp - 8]
and edi, ecx
xor edi, esi
add edi, dword [ebp + ebx*4 - 0x4c]
add edi, dword [eax - 0xc]
add edi, edx
rol edi, 0xc
add edi, ecx
mov edx, edi
mov edi, dword [ebp - 8]
xor edi, ecx
and edi, edx
xor edi, dword [ebp - 8]
add edi, dword [ebp + ebx*4 - 0x48]
add edi, dword [eax - 8]
add edi, esi
ror edi, 0xf
add edi, edx
mov esi, edi
mov edi, edx
xor edi, ecx
and edi, esi
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x44]
add edi, dword [eax - 4]
add edi, dword [ebp - 8]
ror edi, 0xa
add edi, esi
add dword [ebp - 4], 4
mov dword [ebp - 8], edi
jne 0x1024fe8
mov dword [ebp - 4], 0xfffffff0
mov ebx, dword [ebp - 4]
mov edi, esi
xor edi, dword [ebp - 8]
push 0x10
and edi, edx
xor edi, esi
add edi, dword [ebp + ebx*4 - 0x4c]
add edi, dword [eax]
add edi, ecx
rol edi, 5
add edi, dword [ebp - 8]
mov ecx, edi
mov edi, dword [ebp - 8]
xor edi, ecx
and edi, esi
xor edi, dword [ebp - 8]
add edi, dword [ebp + ebx*4 - 0x38]
add edi, dword [eax + 4]
add edi, edx
rol edi, 9
add edi, ecx
mov edx, edi
xor edi, ecx
and edi, dword [ebp - 8]
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x24]
add edi, dword [eax + 8]
add edi, esi
rol edi, 0xe
add edi, edx
mov esi, edi
mov edi, edx
xor edi, esi
and edi, ecx
xor edi, edx
add edi, dword [ebp + ebx*4 - 0x50]
add edi, dword [eax + 0xc]
add edi, dword [ebp - 8]
ror edi, 0xc
add edi, esi
mov dword [ebp - 8], edi
pop edi
add eax, edi
add dword [ebp - 4], 4
jne 0x1025061
mov dword [ebp - 0xc], edx
xor dword [ebp - 0xc], esi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
xor edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
add edi, dword [ebp + ebx*4 - 0x7c]
push 0x10
add edi, dword [eax]
add edi, ecx
rol edi, 4
add edi, dword [ebp - 8]
mov ecx, edi
mov edi, esi
xor edi, dword [ebp - 8]
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x70]
add edi, dword [eax + 4]
add edi, edx
rol edi, 0xb
add edi, ecx
mov edx, edi
xor edi, dword [ebp - 8]
mov dword [ebp - 0xc], edx
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x64]
add edi, dword [eax + 8]
add edi, esi
rol edi, 0x10
add edi, edx
mov esi, edi
xor dword [ebp - 0xc], esi
mov edi, dword [ebp - 0xc]
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x58]
add edi, dword [eax + 0xc]
add edi, dword [ebp - 8]
ror edi, 9
add edi, esi
mov dword [ebp - 8], edi
pop edi
add eax, edi
sub dword [ebp - 4], 4
jne 0x10250dc
mov dword [ebp - 4], edi
mov ebx, dword [ebp - 4]
mov edi, edx
not edi
or edi, dword [ebp - 8]
xor edi, esi
add edi, dword [ebp + ebx*4 - 0x90]
add edi, dword [eax]
add eax, 0x10
add edi, ecx
rol edi, 6
add edi, dword [ebp - 8]
mov ecx, edi
mov edi, esi
not edi
or edi, ecx
xor edi, dword [ebp - 8]
add edi, dword [ebp + ebx*4 - 0x74]
add edi, dword [eax - 0xc]
add edi, edx
rol edi, 0xa
add edi, ecx
mov edx, edi
mov edi, dword [ebp - 8]
not edi
or edi, edx
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x58]
add edi, dword [eax - 8]
add edi, esi
rol edi, 0xf
add edi, edx
mov esi, edi
mov edi, ecx
not edi
or edi, esi
xor edi, edx
add edi, dword [ebp + ebx*4 - 0x7c]
add edi, dword [eax - 4]
add edi, dword [ebp - 8]
ror edi, 0xb
add edi, esi
sub dword [ebp - 4], 4
mov dword [ebp - 8], edi
jne 0x102514c
mov eax, dword [ebp + 8]
add dword [eax + 0x44], edi
add dword [eax + 0x48], esi
add dword [eax + 0x40], ecx
add dword [eax + 0x4c], edx
pop edi
pop esi
pop ebx
leave
ret 4