Function at 0x10047510
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
mov ecx, 0x10
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0xa
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x44]
xor ebx, eax
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
add ecx, ebp
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x14
shl ebx, 0xc
or ebp, ebx
mov ebx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x24], ebp
xor ebx, eax
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebp, ebx
add ecx, ebp
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebp, ebx
mov ebx, dword [esp + 0x28]
add edx, ebx
mov ebx, dword [esp + 0x48]
xor ebx, edx
mov dword [esp + 0x24], ebp
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
add esi, ebp
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x28]
mov ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x14
shl ebx, 0xc
or ebp, ebx
mov ebx, dword [esp + 0x48]
add edx, ebp
mov dword [esp + 0x28], ebp
xor ebx, edx
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebp, ebx
add esi, ebp
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x28]
mov ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebp, ebx
mov ebx, dword [esp + 0x2c]
add edi, ebx
mov ebx, dword [esp + 0x4c]
xor ebx, edi
mov dword [esp + 0x28], ebp
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x3c]
add ebx, ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x3c], ebx
xor ebx, dword [esp + 0x2c]
mov ebp, ebx
shl ebx, 0xc
shr ebp, 0x14
or ebp, ebx
mov ebx, dword [esp + 0x4c]
add edi, ebp
mov dword [esp + 0x2c], ebp
xor ebx, edi
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 0x3c]
add ebx, ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebp, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x20]
add ebp, ebx
mov ebx, dword [esp + 0x50]
xor ebx, ebp
mov dword [esp + 0x20], ebp
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x40]
add ebx, ebp
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x14
shl ebx, 0xc
or ebp, ebx
mov ebx, dword [esp + 0x20]
add ebx, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x50]
xor ebx, dword [esp + 0x20]
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x50], ebp
add ebx, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebp, ebx
mov ebx, dword [esp + 0x28]
add eax, ebx
mov ebx, dword [esp + 0x50]
xor ebx, eax
mov dword [esp + 0x30], ebp
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x50], ebp
add ebx, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x14
shl ebx, 0xc
or ebp, ebx
mov ebx, dword [esp + 0x50]
add eax, ebp
mov dword [esp + 0x28], ebp
xor ebx, eax
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 0x3c]
add ebx, ebp
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebp, ebx
mov ebx, dword [esp + 0x2c]
add edx, ebx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x44]
mov ebx, edx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x40]
add ebx, ebp
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x40], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x14
shl ebx, 0xc
or ebp, ebx
add edx, ebp
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x44]
mov ebx, edx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
add ebx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x40], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebp, ebx
mov ebx, dword [esp + 0x30]
add edi, ebx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x48]
mov ebx, edi
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x30]
add ecx, ebp
mov dword [esp + 0x48], ebp
xor ebx, ecx
mov ebp, ebx
shr ebp, 0x14
shl ebx, 0xc
or ebp, ebx
mov dword [esp + 0x30], ebp
add edi, ebp
mov ebp, dword [esp + 0x48]
mov ebx, edi
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebx, ebp
mov dword [esp + 0x48], ebx
add ecx, ebx
mov ebx, dword [esp + 0x30]
xor ebx, ecx
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebp, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x24]
add ebx, ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x10
shl ebx, 0x10
or ebp, ebx
add esi, ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x24]
mov ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x14
shl ebx, 0xc
or ebp, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
add ebx, ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x18
shl ebx, 8
or ebx, ebp
mov ebp, dword [esp + 0x24]
add esi, ebx
mov dword [esp + 0x4c], ebx
mov ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 0x19
shl ebx, 7
or ebx, ebp
mov ebp, dword [esp + 0x10]
dec ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebp
jne 0x10047546
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x38], esi
sub ecx, edx
mov edx, dword [esp + 0x58]
lea esi, [esp + 0x14]
mov dword [esp + 0x14], eax
sub edx, esi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x14]
mov esi, 0x10
mov edi, dword [ecx + eax]
mov ebp, dword [eax]
add edi, ebp
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x100478d6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret