Function at 0x1000d220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1012b470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, 0x10
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xa
add ebx, edx
mov ecx, dword [ebp - 0x24]
mov eax, esi
xor eax, ebx
rol eax, 0x10
add ecx, eax
mov edi, ecx
xor edi, edx
rol edi, 0xc
add ebx, edi
xor eax, ebx
rol eax, 8
add ecx, eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, ecx
xor eax, edi
rol eax, 7
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
xor ecx, eax
rol ecx, 0x10
add edx, ecx
mov edi, edx
xor edi, dword [ebp - 0x30]
rol edi, 0xc
add eax, edi
xor ecx, eax
rol ecx, 8
add edx, ecx
mov dword [ebp - 0x10], ecx
mov ecx, edx
xor ecx, edi
mov edi, dword [ebp - 0x1c]
rol ecx, 7
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x3c]
add ecx, esi
xor edx, ecx
rol edx, 0x10
add edi, edx
mov dword [ebp - 0x1c], edi
xor edi, esi
mov esi, dword [ebp - 0x1c]
rol edi, 0xc
add ecx, edi
xor edx, ecx
rol edx, 8
add esi, edx
mov dword [ebp - 0xc], edx
mov edx, esi
xor edx, edi
mov edi, dword [ebp - 0x28]
rol edx, 7
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x38]
add edx, edi
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 8]
xor esi, edx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x18]
rol esi, 0x10
add edx, esi
mov dword [ebp - 0x18], edx
xor edx, edi
mov edi, dword [ebp - 0x38]
rol edx, 0xc
add edi, edx
xor esi, edi
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x18]
rol esi, 8
add edi, esi
mov dword [ebp - 0x18], edi
add ebx, dword [ebp - 0x30]
add eax, dword [ebp - 0x2c]
xor edi, edx
mov edx, dword [ebp - 0x1c]
xor esi, ebx
rol edi, 7
rol esi, 0x10
add edx, esi
mov dword [ebp - 0x1c], edx
xor edx, dword [ebp - 0x30]
mov dword [ebp - 8], esi
rol edx, 0xc
add ebx, edx
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x1c]
xor edx, ebx
rol edx, 8
add esi, edx
mov dword [ebp - 8], edx
mov edx, eax
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
xor esi, dword [ebp - 0x30]
add ecx, edi
rol esi, 7
rol edx, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x18]
add esi, edx
mov edx, esi
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
rol edx, 0xc
add eax, edx
mov dword [ebp - 0x40], eax
xor eax, dword [ebp - 0x14]
rol eax, 8
mov esi, eax
mov eax, dword [ebp - 0x18]
add eax, esi
mov dword [ebp - 0x18], eax
xor eax, edx
rol eax, 7
mov edx, ecx
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
rol edx, 0x10
add eax, edx
xor edi, eax
rol edi, 0xc
add ecx, edi
mov dword [ebp - 0x3c], ecx
xor ecx, edx
rol ecx, 8
add eax, ecx
xor edi, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x34]
rol edi, 7
mov edx, eax
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x20]
rol edx, 0x10
add ecx, edx
mov dword [ebp - 0x28], edi
mov edi, ecx
xor edi, dword [ebp - 0x34]
mov dword [ebp - 0x14], esi
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x38], eax
xor eax, edx
rol eax, 8
add ecx, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], ecx
xor ecx, edi
rol ecx, 7
dec dword [ebp - 0x48]
mov edx, ecx
mov dword [ebp - 0x34], edx
jne 0x1000d256
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
lea ebx, [ebp - 0x44]
sub ebx, esi
mov dword [ebp - 0x4c], ebx
lea ebx, [ebp - 0x40]
sub ebx, esi
mov dword [ebp - 0x48], ebx
lea ecx, [edi + 0xc]
sub edi, esi
lea ebx, [ebp - 0x3c]
xor edx, edx
sub ebx, esi
lea eax, [esi + 4]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ebx
mov edi, edi
mov ebx, dword [ebp + edx*4 - 0x44]
add ebx, dword [ecx - 0xc]
add edx, 4
mov dword [eax - 4], ebx
mov ebx, dword [eax + edi]
add ebx, dword [eax + esi]
add eax, 0x10
mov dword [eax - 0x10], ebx
mov ebx, dword [ebp - 0x48]
mov ebx, dword [eax + ebx - 0x10]
add ebx, dword [ecx - 4]
add ecx, 0x10
mov dword [eax - 0xc], ebx
mov ebx, dword [ebp - 0x50]
mov ebx, dword [eax + ebx - 0x10]
add ebx, dword [ecx - 0x10]
mov dword [eax - 8], ebx
cmp edx, 0x10
jl 0x1000d440
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f9904
mov esp, ebp
pop ebp
ret