Function at 0x1000df60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x1c]
mov ebx, edx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x10020c90]
shr ebx, 0x10
movzx esi, bl
xor ecx, dword [esi*4 + 0x10020890]
mov ebx, edx
shr ebx, 8
movzx edx, dl
movzx esi, bl
xor ecx, dword [esi*4 + str.cwko0]
mov dword [ebp - 4], 1
xor ecx, dword [edx*4 + 0x10021090]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
mov edi, 6
xor ecx, 1
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x24], edx
lea edx, [eax + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [edx]
xor edx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
add eax, 0x30
mov edx, dword [eax - 4]
ror edx, 0x18
mov ebx, edx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x10020c90]
shr ebx, 0x10
movzx esi, bl
xor ecx, dword [esi*4 + 0x10020890]
mov ebx, edx
shr ebx, 8
movzx esi, bl
xor ecx, dword [esi*4 + str.cwko0]
movzx edx, dl
xor ecx, dword [edx*4 + 0x10021090]
mov edx, dword [eax - 0x1c]
xor ecx, dword [eax - 0x20]
add eax, 0x20
xor edx, ecx
mov dword [eax - 0x20], ecx
mov ecx, dword [eax - 0x38]
xor ecx, edx
mov dword [eax - 0x1c], edx
mov edx, dword [eax - 0x34]
xor edx, ecx
mov dword [eax - 0x18], ecx
mov dword [eax - 0x14], edx
mov edx, dword [eax - 0x14]
mov esi, dword [ebp - 4]
mov ebx, edx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x10020c90]
shr ebx, 0x10
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x10020890]
mov ebx, edx
shr ebx, 8
movzx edx, dl
movzx ebx, bl
xor ecx, dword [ebx*4 + str.cwko0]
add esi, esi
xor ecx, dword [edx*4 + 0x10021090]
mov dword [ebp - 4], esi
xor ecx, dword [eax - 0x30]
xor ecx, esi
mov dword [eax - 0x10], ecx
mov edx, dword [eax - 0x2c]
xor edx, ecx
mov dword [eax - 0xc], edx
mov ecx, dword [eax - 0x28]
xor ecx, edx
mov dword [eax - 8], ecx
mov edx, dword [eax - 0x24]
xor edx, ecx
dec edi
mov dword [eax - 4], edx
jne 0x1000dfe3
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
lea ebx, [edi + 0xf0]
lea esi, [edi + 0xec]
sub edi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0x38
lea ecx, [ebx + 0xe4]
lea eax, [ebx + 4]
mov dword [ebp - 8], edi
jmp 0x1000e0da
mov edi, dword [ebp - 8]
mov ebx, dword [edx - 0xc]
mov dword [ebp - 4], ebx
mov ebx, dword [esi - 0xc]
mov dword [eax - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ecx - 4], ebx
mov ebx, dword [edi + eax]
mov edi, dword [edi + ecx]
mov dword [eax], edi
mov dword [ecx], ebx
mov ebx, dword [esi - 4]
mov edi, dword [edx - 4]
mov dword [eax + 4], ebx
mov dword [ecx + 4], edi
mov ebx, dword [esi]
mov edi, dword [edx]
mov dword [eax + 8], ebx
mov ebx, dword [ebp + 8]
mov dword [ecx + 8], edi
mov edi, dword [ebp + 0xc]
add edi, 4
sub ebx, 4
add eax, 0x10
add edx, 0x10
sub ecx, 0x10
sub esi, 0x10
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ebx
cmp edi, ebx
jle 0x1000e0d7
mov ecx, dword [ebp - 0xc]
mov esi, 0x34
add ecx, 0x10
lea esp, [esp]
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 0x10
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + str.cwko0]
mov edx, dword [edx*4 + 0x10022090]
movzx edi, bl
mov edi, dword [edi*4 + str.cwko0]
xor edx, dword [edi*4 + 0x10021c90]
mov ebx, eax
shr ebx, 8
movzx edi, bl
mov edi, dword [edi*4 + str.cwko0]
xor edx, dword [edi*4 + 0x10021890]
movzx eax, al
mov eax, dword [eax*4 + str.cwko0]
xor edx, dword [eax*4 + 0x10021490]
add ecx, 4
dec esi
mov dword [ecx - 4], edx
jne 0x1000e140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8