Function at 0xb0e1236
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0xb0e1715
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0xb0e1715
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x10
je 0xb0e126e
cmp ecx, 0x18
je 0xb0e126e
cmp ecx, 0x20
je 0xb0e126e
push 3
jmp 0xb0e1717
cmp dword [ebp + 0x10], 0
je 0xb0e1292
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax*2 + 6]
cmp dword [ebp + 0x10], eax
je 0xb0e1292
push 4
jmp 0xb0e1717
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax*2 + 6]
mov dword [ebx + 0x1e0], eax
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
or edx, eax
mov dword [ebx], edx
movzx eax, byte [esi + 5]
mov dword [ebp + 8], edx
movzx edx, byte [esi + 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 6]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 7]
shl edx, 8
or edx, eax
mov dword [ebx + 4], edx
movzx edi, byte [esi + 8]
movzx eax, byte [esi + 9]
shl edi, 8
or edi, eax
mov dword [ebp - 4], edx
movzx eax, byte [esi + 0xa]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 0xb]
shl edi, 8
or edi, eax
mov dword [ebx + 8], edi
movzx edx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0xe]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0xf]
shl edx, 8
or edx, eax
mov dword [ebp - 8], edx
mov dword [ebx + 0xc], edx
cmp ecx, 0x10
jne 0xb0e13ae
mov ecx, edx
call fcn.0b0e11fd
xor eax, dword [ebp + 8]
lea ecx, [ebx + 0x10]
xor eax, 0x1000000
mov dword [ebp + 8], 0xb0a17b4
mov dword [ecx], eax
xor eax, dword [ebp - 4]
xor edi, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], edi
xor edi, dword [ebp - 8]
mov dword [ebx + 0x1c], edi
mov ebx, ecx
mov ecx, dword [ebx + 0xc]
mov esi, ebx
add ebx, 0x10
call fcn.0b0e11fd
mov edx, dword [ebp + 8]
xor eax, dword [edx]
add edx, 4
xor eax, dword [esi]
mov dword [ebx], eax
mov ecx, dword [ebx - 0xc]
xor ecx, eax
mov dword [ebp + 8], edx
mov dword [ebx + 4], ecx
mov eax, dword [ebx - 8]
xor eax, ecx
mov dword [ebx + 8], eax
xor eax, dword [ebx - 4]
mov dword [ebx + 0xc], eax
cmp edx, 0xb0a17d8
jne 0xb0e136c
mov ebx, dword [ebp + 0x14]
jmp 0xb0e15af
cmp ecx, 0x18
jne 0xb0e1483
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 [ebx + 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 [ebx + 0x14], ecx
call fcn.0b0e11fd
xor eax, dword [ebp + 8]
lea esi, [ebx + 0x28]
xor eax, 0x1000000
mov dword [ebx + 0x18], eax
xor eax, dword [ebp - 4]
xor edi, eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 8]
push 0xffffffffffffffd8
xor eax, edi
mov dword [ebx + 0x20], edi
pop edx
sub edx, ebx
mov dword [ebx + 0x24], eax
mov edi, 0xb0a17b4
mov dword [ebp + 8], edx
mov ecx, dword [esi - 0x18]
xor ecx, dword [esi - 4]
mov eax, dword [esi - 0x14]
xor eax, ecx
mov dword [esi], ecx
mov dword [esi + 4], eax
lea esi, [esi + 0x18]
lea ecx, [esi + edx]
sar ecx, 2
mov ecx, dword [ebx + ecx*4 + 0x14]
call fcn.0b0e11fd
xor eax, dword [esi - 0x28]
xor eax, dword [edi]
add edi, 4
mov dword [esi - 0x10], eax
mov ecx, dword [esi - 0x24]
xor ecx, eax
mov dword [esi - 0xc], ecx
mov edx, dword [esi - 0x20]
xor edx, ecx
mov dword [esi - 8], edx
mov eax, dword [esi - 0x1c]
xor eax, edx
mov edx, dword [ebp + 8]
mov dword [esi - 4], eax
cmp edi, 0xb0a17d0
jne 0xb0e142e
jmp 0xb0e15af
cmp ecx, 0x20
jne 0xb0e1710
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 [ebx + 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 [ebx + 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 [ebx + 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 [ebx + 0x1c], ecx
call fcn.0b0e11fd
xor eax, dword [ebp + 8]
lea esi, [ebx + 0x30]
xor eax, 0x1000000
mov dword [ebx + 0x20], eax
xor eax, dword [ebp - 4]
xor edi, eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 8]
xor eax, edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], eax
mov edi, 0xb0a17b4
push 0xffffffffffffffd0
pop eax
sub eax, ebx
mov dword [ebp + 8], eax
mov ecx, dword [esi - 4]
ror ecx, 8
call fcn.0b0e11fd
xor eax, dword [esi - 0x20]
mov ecx, dword [esi - 0x1c]
mov edx, dword [esi - 0x18]
xor ecx, eax
xor edx, ecx
mov dword [esi], eax
mov eax, dword [esi - 0x14]
lea esi, [esi + 0x20]
mov dword [esi - 0x1c], ecx
xor eax, edx
mov ecx, dword [ebp + 8]
mov dword [esi - 0x18], edx
mov dword [esi - 0x14], eax
lea ecx, [ecx + esi]
sar ecx, 2
mov ecx, dword [ebx + ecx*4 + 0x1c]
call fcn.0b0e11fd
xor eax, dword [esi - 0x30]
xor eax, dword [edi]
add edi, 4
mov dword [esi - 0x10], eax
mov ecx, dword [esi - 0x2c]
xor ecx, eax
mov dword [esi - 0xc], ecx
mov edx, dword [esi - 0x28]
xor edx, ecx
mov dword [esi - 8], edx
mov eax, dword [esi - 0x24]
xor eax, edx
mov dword [esi - 4], eax
cmp edi, 0xb0a17cc
jne 0xb0e1547
mov eax, dword [ebp + 0xc]
lea esi, [ebx + 0xf0]
add eax, 0x18
mov edx, esi
lea edi, [ebx + eax*4]
mov ecx, edi
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
xor eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebx + 0x1e0], eax
jle 0xb0e16e9
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 + 0xb0a13b0]
xor ecx, dword [eax*4 + 0xb0a2920]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a0bb0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a1be0]
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 + 0xb0a13b0]
xor ecx, dword [eax*4 + 0xb0a2920]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a0bb0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a1be0]
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 + 0xb0a13b0]
xor ecx, dword [eax*4 + 0xb0a2920]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a0bb0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a1be0]
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 + 0xb0a13b0]
xor ecx, dword [eax*4 + 0xb0a2920]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb0a0bb0]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb0a1be0]
mov eax, dword [ebp + 8]
inc eax
mov dword [esi + 0xc], ecx
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0x1e0]
jl 0xb0e15ea
sub edi, 0x10
add esi, 0x10
push 4
pop ecx
mov eax, dword [edi]
add edi, ecx
mov dword [esi], eax
add esi, ecx
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + ecx]
mov dword [esi + ecx], eax
mov eax, dword [edi + ecx + 4]
mov dword [esi + ecx + 4], eax
xor eax, eax
jmp 0xb0e1718
xor eax, eax
inc eax
jmp 0xb0e1718
push 0x10
pop eax
pop edi
pop esi
pop ebx
leave
ret