Function at 0x100012b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1000a9c8], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x100012c7
call section..text
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x1f]
mov eax, dword [ebp + 8]
shr ecx, 5
mov dword [esi + 4], ecx
mov edx, dword [eax]
mov dword [esi + 8], edx
mov edx, dword [eax + 4]
mov dword [esi + 0xc], edx
mov edx, dword [eax + 8]
mov dword [esi + 0x10], edx
mov edx, dword [eax + 0xc]
sub ecx, 4
mov dword [esi + 0x14], edx
je 0x1000145f
dec ecx
dec ecx
je 0x100013dd
dec ecx
dec ecx
jne 0x100014c9
mov ecx, dword [eax + 0x10]
mov edi, 0x100075a0
mov dword [esi + 0x18], ecx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x20], ecx
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x24], eax
lea ecx, [esi + 0x28]
mov edx, eax
ror edx, 8
mov ebx, edx
mov eax, edx
shr ebx, 0x10
shr eax, 0x18
movzx ebx, bl
mov eax, dword [eax*4 + 0x100092c8]
xor eax, dword [ebx*4 + 0x10008ec8]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
movzx edx, dl
xor eax, dword [ebx*4 + 0x10008ac8]
xor eax, dword [edx*4 + 0x100086c8]
xor eax, dword [ecx - 0x20]
xor eax, dword [edi]
add edi, 4
mov dword [ecx], eax
xor eax, dword [ecx - 0x1c]
mov dword [ecx + 4], eax
xor eax, dword [ecx - 0x18]
mov dword [ecx + 8], eax
xor eax, dword [ecx - 0x14]
mov ebx, eax
mov edx, eax
shr ebx, 0x10
shr edx, 0x18
movzx ebx, bl
mov dword [ecx + 0xc], eax
mov edx, dword [edx*4 + 0x100092c8]
xor edx, dword [ebx*4 + 0x10008ec8]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
movzx eax, al
xor edx, dword [ebx*4 + 0x10008ac8]
add ecx, 0x20
xor edx, dword [eax*4 + 0x100086c8]
xor edx, dword [ecx - 0x30]
mov eax, edx
mov dword [ecx - 0x10], eax
xor eax, dword [ecx - 0x2c]
mov dword [ecx - 0xc], eax
xor eax, dword [ecx - 0x28]
mov dword [ecx - 8], eax
xor eax, dword [ecx - 0x24]
cmp edi, 0x100075bc
mov dword [ecx - 4], eax
jl 0x10001326
jmp 0x100014c9
mov ecx, dword [eax + 0x10]
mov edi, 0x100075a0
mov dword [esi + 0x18], ecx
mov eax, dword [eax + 0x14]
mov dword [esi + 0x1c], eax
lea ecx, [esi + 0x20]
ror eax, 8
mov ebx, eax
mov edx, eax
shr ebx, 0x10
shr edx, 0x18
movzx ebx, bl
mov edx, dword [edx*4 + 0x100092c8]
xor edx, dword [ebx*4 + 0x10008ec8]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
movzx eax, al
xor edx, dword [ebx*4 + 0x10008ac8]
xor edx, dword [eax*4 + 0x100086c8]
xor edx, dword [ecx - 0x18]
xor edx, dword [edi]
add edi, 4
mov eax, edx
mov dword [ecx], eax
xor eax, dword [ecx - 0x14]
mov dword [ecx + 4], eax
xor eax, dword [ecx - 0x10]
mov dword [ecx + 8], eax
xor eax, dword [ecx - 0xc]
mov dword [ecx + 0xc], eax
xor eax, dword [ecx - 8]
mov dword [ecx + 0x10], eax
xor eax, dword [ecx - 4]
mov dword [ecx + 0x14], eax
add ecx, 0x18
cmp edi, 0x100075c0
jl 0x100013f1
jmp 0x100014c9
mov eax, edx
mov edi, 0x100075a0
lea ecx, [esi + 0x18]
ror eax, 8
mov ebx, eax
mov edx, eax
shr ebx, 0x10
shr edx, 0x18
movzx ebx, bl
mov edx, dword [edx*4 + 0x100092c8]
xor edx, dword [ebx*4 + 0x10008ec8]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
movzx eax, al
xor edx, dword [ebx*4 + 0x10008ac8]
xor edx, dword [eax*4 + 0x100086c8]
xor edx, dword [ecx - 0x10]
xor edx, dword [edi]
add edi, 4
mov eax, edx
mov dword [ecx], eax
xor eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
xor eax, dword [ecx - 8]
mov dword [ecx + 8], eax
xor eax, dword [ecx - 4]
mov dword [ecx + 0xc], eax
add ecx, 0x10
cmp edi, 0x100075c8
jl 0x10001469
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x14]
push 4
mov dword [esi + 0x114], eax
pop eax
lea ecx, [ecx*4 + 0x18]
cmp ecx, eax
mov dword [ebp + 8], eax
jbe 0x1000159d
lea eax, [esi + 0x18]
mov dword [ebp - 4], eax
mov edi, dword [eax]
mov ebx, 0x1010101
mov eax, edi
mov ecx, edi
shr eax, 7
and eax, ebx
and ecx, 0xff7f7f7f
imul eax, eax, 0x1b
shl ecx, 1
xor eax, ecx
mov ecx, eax
mov edx, eax
shr ecx, 7
and ecx, ebx
and edx, 0xff7f7f7f
imul ecx, ecx, 0x1b
shl edx, 1
xor ecx, edx
mov edx, ecx
shr edx, 7
and edx, ebx
mov ebx, ecx
imul edx, edx, 0x1b
and ebx, 0xff7f7f7f
shl ebx, 1
xor edx, ebx
mov ebx, ecx
xor edi, edx
mov dword [ebp + 0xc], edi
xor ebx, edi
mov edi, eax
xor edi, dword [ebp + 0xc]
ror ebx, 0x10
ror edi, 8
xor ebx, edi
mov edi, dword [ebp + 0xc]
ror edi, 0x18
xor ebx, edi
xor ebx, edx
xor ebx, ecx
xor ebx, eax
mov eax, dword [ebp - 4]
inc dword [ebp + 8]
mov dword [eax + 0x100], ebx
mov ecx, dword [esi + 4]
add eax, 4
lea ecx, [ecx*4 + 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], ecx
jb 0x1000150b
pop edi
pop esi
pop ebx
leave
ret 8