Function at 0xb0e7cb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0xb0e8204
cmp dword [ebp + 0x14], 0
je 0xb0e8204
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x10
je 0xb0e7cee
cmp ecx, 0x18
je 0xb0e7cee
cmp ecx, 0x20
je 0xb0e7cee
push 3
jmp 0xb0e8206
cmp dword [ebp + 0x10], 0
je 0xb0e7d12
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax*2 + 6]
cmp dword [ebp + 0x10], eax
je 0xb0e7d12
push 4
jmp 0xb0e8206
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp + 0x14]
sar eax, 3
lea edi, [edx + 0xf]
lea eax, [eax*2 + 6]
and edi, 0xfffffff0
mov dword [edx + 0x1f8], eax
mov dword [edx + 0x1f0], edi
lea eax, [edi + 0xf0]
mov dword [edx + 0x1f4], eax
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 3]
shl ebx, 8
or ebx, eax
mov dword [edi], ebx
movzx eax, byte [esi + 5]
mov dword [ebp - 4], ebx
movzx ebx, byte [esi + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 7]
shl ebx, 8
or ebx, eax
mov dword [edi + 4], ebx
movzx eax, byte [esi + 9]
mov dword [ebp - 8], ebx
movzx ebx, byte [esi + 8]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
or ebx, eax
mov dword [edi + 8], ebx
movzx eax, byte [esi + 0xc]
shl eax, 8
mov dword [ebp + 8], eax
movzx eax, byte [esi + 0xd]
or dword [ebp + 8], eax
shl dword [ebp + 8], 8
movzx eax, byte [esi + 0xe]
or dword [ebp + 8], eax
movzx eax, byte [esi + 0xf]
shl dword [ebp + 8], 8
or dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
cmp ecx, 0x10
jne 0xb0e7e55
mov ecx, eax
call fcn.0b0e7c7f
xor eax, dword [ebp - 4]
lea edx, [edi + 0x10]
xor eax, 0x1000000
mov dword [edx], eax
xor eax, dword [ebp - 8]
xor ebx, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ebx
xor ebx, dword [ebp + 8]
push 4
mov dword [edi + 0x1c], ebx
mov dword [ebp + 8], 0xb0a1fa4
pop ebx
mov edi, dword [edx + 0xc]
mov esi, edx
add edx, 0x10
mov ecx, edi
mov dword [ebp - 8], edx
call fcn.0b0e7c7f
xor eax, dword [esi]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 8]
xor eax, dword [esi]
add esi, ebx
mov dword [edx], eax
mov ecx, dword [edx - 0xc]
xor ecx, eax
mov dword [ebp + 8], esi
mov dword [edx + 4], ecx
mov eax, dword [edx - 8]
xor eax, ecx
mov dword [edx + 8], eax
xor eax, edi
mov dword [edx + 0xc], eax
cmp esi, 0xb0a1fc8
jne 0xb0e7e10
jmp 0xb0e808c
cmp ecx, 0x18
jne 0xb0e7f45
movzx ecx, byte [esi + 0x10]
movzx eax, byte [esi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x13]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x10], ecx
movzx ecx, byte [esi + 0x14]
movzx eax, byte [esi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x17]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x14], ecx
mov ecx, edi
mov eax, dword [edx + 0x1f0]
sub ecx, eax
sar ecx, 2
mov ecx, dword [eax + ecx*4 + 0x14]
call fcn.0b0e7c7f
xor eax, dword [ebp - 4]
xor eax, 0x1000000
mov dword [edi + 0x18], eax
xor eax, dword [ebp - 8]
xor ebx, eax
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 8]
xor eax, ebx
mov dword [edi + 0x20], ebx
push 4
mov dword [edi + 0x24], eax
add edi, 0x28
mov dword [ebp + 8], 0xb0a1fa4
pop ebx
mov ecx, dword [edi - 0x18]
xor ecx, dword [edi - 4]
mov eax, dword [edi - 0x14]
xor eax, ecx
mov dword [edi], ecx
mov dword [edi + 4], eax
lea edi, [edi + 0x18]
mov eax, dword [ebp + 0x14]
lea ecx, [edi - 0x28]
mov eax, dword [eax + 0x1f0]
sub ecx, eax
sar ecx, 2
mov ecx, dword [eax + ecx*4 + 0x14]
call fcn.0b0e7c7f
xor eax, dword [edi - 0x28]
mov esi, dword [ebp + 8]
xor eax, dword [esi]
add esi, ebx
mov dword [edi - 0x10], eax
mov ecx, dword [edi - 0x24]
xor ecx, eax
mov dword [ebp + 8], esi
mov dword [edi - 0xc], ecx
mov edx, dword [edi - 0x20]
xor edx, ecx
mov dword [edi - 8], edx
mov eax, dword [edi - 0x1c]
xor eax, edx
mov dword [edi - 4], eax
cmp esi, 0xb0a1fc0
jne 0xb0e7ee3
jmp 0xb0e808c
cmp ecx, 0x20
jne 0xb0e81ff
movzx ecx, byte [esi + 0x10]
movzx eax, byte [esi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x13]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x10], ecx
movzx ecx, byte [esi + 0x14]
movzx eax, byte [esi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x17]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x14], ecx
movzx ecx, byte [esi + 0x18]
movzx eax, byte [esi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1b]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x18], ecx
movzx ecx, byte [esi + 0x1c]
movzx eax, byte [esi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1f]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x1c], ecx
mov ecx, edi
mov eax, dword [edx + 0x1f0]
sub ecx, eax
sar ecx, 2
mov ecx, dword [eax + ecx*4 + 0x1c]
call fcn.0b0e7c7f
xor eax, dword [ebp - 4]
xor eax, 0x1000000
mov dword [edi + 0x20], eax
xor eax, dword [ebp - 8]
xor ebx, eax
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 8]
xor eax, ebx
mov dword [edi + 0x28], ebx
push 4
mov dword [edi + 0x2c], eax
add edi, 0x30
mov dword [ebp + 8], 0xb0a1fa4
pop ebx
mov ecx, dword [edi - 4]
ror ecx, 8
call fcn.0b0e7c7f
xor eax, dword [edi - 0x20]
mov ecx, dword [edi - 0x1c]
mov edx, dword [edi - 0x18]
xor ecx, eax
mov dword [edi], eax
xor edx, ecx
mov eax, dword [edi - 0x14]
lea edi, [edi + 0x20]
xor eax, edx
mov dword [edi - 0x1c], ecx
mov dword [edi - 0x14], eax
lea ecx, [edi - 0x30]
mov eax, dword [ebp + 0x14]
mov dword [edi - 0x18], edx
mov eax, dword [eax + 0x1f0]
sub ecx, eax
sar ecx, 2
mov ecx, dword [eax + ecx*4 + 0x1c]
call fcn.0b0e7c7f
xor eax, dword [edi - 0x30]
mov esi, dword [ebp + 8]
xor eax, dword [esi]
add esi, ebx
mov dword [edi - 0x10], eax
mov ecx, dword [edi - 0x2c]
xor ecx, eax
mov dword [ebp + 8], esi
mov dword [edi - 0xc], ecx
mov edx, dword [edi - 0x28]
xor edx, ecx
mov dword [edi - 8], edx
mov eax, dword [edi - 0x24]
xor eax, edx
mov dword [edi - 4], eax
cmp esi, 0xb0a1fbc
jne 0xb0e8017
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
mov esi, dword [eax + 0x1f4]
mov edx, esi
mov eax, dword [eax + 0x1f0]
lea edi, [eax + ecx*4]
mov ecx, edi
mov eax, dword [ecx]
add ecx, ebx
mov dword [edx], eax
add edx, ebx
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + ebx]
mov dword [edx + ebx], eax
mov eax, dword [ecx + ebx + 4]
xor ecx, ecx
mov dword [edx + ebx + 4], eax
inc ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
cmp dword [eax + 0x1f8], ecx
jle 0xb0e81db
mov ebx, eax
sub edi, 0x10
add esi, 0x10
mov edx, dword [edi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xb0a1ba0]
xor ecx, dword [eax*4 + 0xb0a30a0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a13a0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a23d0]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xb0a1ba0]
xor ecx, dword [eax*4 + 0xb0a30a0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a13a0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a23d0]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xb0a1ba0]
xor ecx, dword [eax*4 + 0xb0a30a0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a13a0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a23d0]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xb0a1ba0]
xor ecx, dword [eax*4 + 0xb0a30a0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a13a0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a23d0]
mov eax, dword [ebp + 8]
inc eax
mov dword [esi + 0xc], ecx
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0x1f8]
jl 0xb0e80d9
push 4
pop ebx
sub edi, 0x10
add esi, 0x10
mov eax, dword [edi]
add edi, ebx
mov dword [esi], eax
add esi, ebx
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + ebx]
mov dword [esi + ebx], eax
mov eax, dword [edi + ebx + 4]
mov dword [esi + ebx + 4], eax
xor eax, eax
jmp 0xb0e8207
xor eax, eax
inc eax
jmp 0xb0e8207
push 0x10
pop eax
pop edi
pop esi
pop ebx
leave
ret