Function at 0x11280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
mov edi, ecx
cmp dword [0xb2208], ebx
jne 0x112a4
call section..text
mov dword [0xb2208], 1
mov edx, dword [ebp + 8]
cmp edx, 0x10
je 0x112ba
cmp edx, 0x18
je 0x112ba
cmp edx, 0x20
jne 0x117fa
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edi + 4], eax
lea eax, [edi + 8]
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov dword [edi], edx
mov dword [edi + 0x10], ecx
cmp edx, 0x10
je 0x11571
cmp edx, 0x18
je 0x113c9
cmp edx, 0x20
jne 0x1172e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x14], edx
mov dword [edi + 0x20], eax
lea ecx, [edi + 0x24]
xor esi, esi
lea ecx, [ecx]
mov edx, eax
ror edx, 8
mov ebx, edx
shr ebx, 0x10
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0xb0d08]
movzx ebx, bl
xor eax, dword [ebx*4 + 0xb0908]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0xb0508]
movzx edx, dl
xor eax, dword [edx*4 + 0xb0108]
add esi, 4
xor eax, dword [esi + 0xaffdc]
add ecx, 0x20
xor eax, dword [ecx - 0x40]
mov dword [ecx - 0x20], eax
xor eax, dword [ecx - 0x3c]
mov dword [ecx - 0x1c], eax
xor eax, dword [ecx - 0x38]
mov dword [ecx - 0x18], eax
xor eax, dword [ecx - 0x34]
mov ebx, eax
mov dword [ecx - 0x14], eax
mov edx, eax
shr ebx, 0x10
shr edx, 0x18
mov edx, dword [edx*4 + 0xb0d08]
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0908]
mov ebx, eax
shr ebx, 8
movzx eax, al
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0508]
xor edx, dword [eax*4 + 0xb0108]
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]
mov dword [ecx - 4], eax
cmp esi, 0x1c
jb 0x11310
jmp 0x1172b
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x14], ecx
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x18], ecx
xor esi, esi
mov edx, ecx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xb0d08]
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0908]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0508]
movzx edx, dl
xor ecx, dword [edx*4 + 0xb0108]
xor ecx, dword [esi + 0xaffe0]
xor ecx, dword [eax - 4]
mov dword [eax + 0x14], ecx
xor ecx, dword [eax]
mov dword [eax + 0x18], ecx
xor ecx, dword [eax + 4]
mov dword [eax + 0x1c], ecx
xor ecx, dword [eax + 8]
mov dword [eax + 0x20], ecx
xor ecx, dword [eax + 0xc]
mov dword [eax + 0x24], ecx
xor ecx, dword [eax + 0x10]
mov dword [eax + 0x28], ecx
ror ecx, 8
mov ebx, ecx
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + 0xb0d08]
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0908]
mov ebx, ecx
shr ebx, 8
movzx ecx, cl
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0508]
xor edx, dword [ecx*4 + 0xb0108]
xor edx, dword [esi + 0xaffe4]
xor edx, dword [eax + 0x14]
mov dword [eax + 0x2c], edx
xor edx, dword [eax + 0x18]
mov dword [eax + 0x30], edx
xor edx, dword [eax + 0x1c]
mov dword [eax + 0x34], edx
xor edx, dword [eax + 0x20]
mov dword [eax + 0x38], edx
xor edx, dword [eax + 0x24]
mov dword [eax + 0x3c], edx
xor edx, dword [eax + 0x28]
mov dword [eax + 0x40], edx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xb0d08]
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0908]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0508]
movzx edx, dl
xor ecx, dword [edx*4 + 0xb0108]
xor ecx, dword [esi + 0xaffe8]
xor ecx, dword [eax + 0x2c]
mov dword [eax + 0x44], ecx
xor ecx, dword [eax + 0x30]
mov dword [eax + 0x48], ecx
xor ecx, dword [eax + 0x34]
mov dword [eax + 0x4c], ecx
xor ecx, dword [eax + 0x38]
mov dword [eax + 0x50], ecx
xor ecx, dword [eax + 0x3c]
mov dword [eax + 0x54], ecx
xor ecx, dword [eax + 0x40]
mov dword [eax + 0x58], ecx
ror ecx, 8
mov ebx, ecx
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + 0xb0d08]
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0908]
mov ebx, ecx
shr ebx, 8
movzx ecx, cl
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0508]
add esi, 0x10
xor edx, dword [ecx*4 + 0xb0108]
add eax, 0x60
xor edx, dword [esi + 0xaffdc]
xor edx, dword [eax - 0x1c]
mov ecx, edx
mov dword [eax - 4], ecx
xor ecx, dword [eax - 0x18]
mov dword [eax], ecx
xor ecx, dword [eax - 0x14]
mov dword [eax + 4], ecx
xor ecx, dword [eax - 0x10]
mov dword [eax + 8], ecx
xor ecx, dword [eax - 0xc]
mov dword [eax + 0xc], ecx
xor ecx, dword [eax - 8]
mov dword [eax + 0x10], ecx
cmp esi, 0x20
jb 0x113d7
jmp 0x1172b
xor esi, esi
mov edx, ecx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xb0d08]
xor ecx, dword [ebx*4 + 0xb0908]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0508]
movzx edx, dl
xor ecx, dword [edx*4 + 0xb0108]
xor ecx, dword [esi + 0xaffe0]
xor ecx, dword [eax - 4]
mov dword [eax + 0xc], ecx
xor ecx, dword [eax]
mov dword [eax + 0x10], ecx
xor ecx, dword [eax + 4]
mov dword [eax + 0x14], ecx
xor ecx, dword [eax + 8]
mov dword [eax + 0x18], ecx
ror ecx, 8
mov ebx, ecx
shr ebx, 0x10
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + 0xb0d08]
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0908]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0508]
movzx ecx, cl
xor edx, dword [ecx*4 + 0xb0108]
xor edx, dword [esi + 0xaffe4]
xor edx, dword [eax + 0xc]
mov dword [eax + 0x1c], edx
xor edx, dword [eax + 0x10]
mov dword [eax + 0x20], edx
xor edx, dword [eax + 0x14]
mov dword [eax + 0x24], edx
xor edx, dword [eax + 0x18]
mov dword [eax + 0x28], edx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xb0d08]
xor ecx, dword [ebx*4 + 0xb0908]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0508]
movzx edx, dl
xor ecx, dword [edx*4 + 0xb0108]
xor ecx, dword [esi + 0xaffe8]
xor ecx, dword [eax + 0x1c]
mov dword [eax + 0x2c], ecx
xor ecx, dword [eax + 0x20]
mov dword [eax + 0x30], ecx
xor ecx, dword [eax + 0x24]
mov dword [eax + 0x34], ecx
xor ecx, dword [eax + 0x28]
mov dword [eax + 0x38], ecx
ror ecx, 8
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + 0xb0d08]
xor edx, dword [ebx*4 + 0xb0908]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0xb0508]
movzx ecx, cl
xor edx, dword [ecx*4 + 0xb0108]
add esi, 0x14
xor edx, dword [esi + 0xaffd8]
add eax, 0x50
xor edx, dword [eax - 0x24]
mov dword [eax - 0x14], edx
xor edx, dword [eax - 0x20]
mov dword [eax - 0x10], edx
xor edx, dword [eax - 0x1c]
mov dword [eax - 0xc], edx
xor edx, dword [eax - 0x18]
mov dword [eax - 8], edx
ror edx, 8
mov ebx, edx
shr ebx, 0x10
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xb0d08]
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0908]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0xb0508]
movzx edx, dl
xor ecx, dword [edx*4 + 0xb0108]
xor ecx, dword [esi + 0xaffdc]
xor ecx, dword [eax - 0x14]
mov dword [eax - 4], ecx
xor ecx, dword [eax - 0x10]
mov dword [eax], ecx
xor ecx, dword [eax - 0xc]
mov dword [eax + 4], ecx
xor ecx, dword [eax - 8]
mov dword [eax + 8], ecx
cmp esi, 0x28
jb 0x11573
mov edx, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 0xf4], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0xfc], eax
mov dword [edi + 0xf8], ecx
mov ecx, dword [edi + 0x10]
lea eax, [edx + 0x18]
mov dword [edi + 0x100], ecx
cmp eax, 4
jbe 0x117ec
add edi, 0x14
add eax, 0xfffffffc
mov dword [ebp - 4], eax
mov esi, dword [edi]
mov eax, esi
shr eax, 7
and eax, 0x1010101
imul eax, eax, 0x1b
mov edx, esi
and edx, 0xff7f7f7f
add edx, edx
xor eax, edx
mov ecx, eax
shr ecx, 7
and ecx, 0x1010101
imul ecx, ecx, 0x1b
mov edx, eax
and edx, 0xff7f7f7f
add edx, edx
xor ecx, edx
mov edx, ecx
shr edx, 7
and edx, 0x1010101
imul edx, edx, 0x1b
mov ebx, ecx
and ebx, 0xff7f7f7f
add ebx, ebx
xor edx, ebx
xor esi, edx
mov dword [ebp + 8], esi
mov ebx, ecx
xor ebx, esi
ror ebx, 0x10
mov esi, eax
xor esi, dword [ebp + 8]
add edi, 4
ror esi, 8
xor ebx, esi
mov esi, dword [ebp + 8]
ror esi, 0x18
xor ebx, esi
xor ebx, edx
xor ebx, ecx
xor ebx, eax
dec dword [ebp - 4]
mov dword [edi + 0xec], ebx
jne 0x11767
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4