Function at 0x4010b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x3c], ecx
push edi
mov dword [ebp - 0x38], ebx
xor edi, edi
mov esi, edi
mov eax, edi
and eax, 3
shr esi, 2
lea ecx, [eax + esi*4]
mov eax, dword [ebx + edi*4]
inc edi
mov dword [ebp + ecx*4 - 0x7c], eax
cmp edi, 0x10
jl 0x4010c3
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x34], 0xa
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], eax
add eax, edi
mov edi, dword [ebp - 0x30]
rol eax, 7
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
rol eax, 9
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
rol eax, 0xd
xor edi, eax
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x30], edi
ror eax, 0xe
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
rol eax, 7
xor dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
rol eax, 9
xor esi, eax
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add eax, esi
rol eax, 0xd
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, esi
ror eax, 0xe
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
add eax, edi
rol eax, 7
xor edx, eax
mov eax, dword [ebp - 4]
add eax, edx
rol eax, 9
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, edx
rol eax, 0xd
xor edi, eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x24]
ror eax, 0xe
xor dword [ebp - 4], eax
lea eax, [ebx + ecx]
rol eax, 7
xor edi, eax
mov dword [ebp - 0x24], edi
lea eax, [edi + ecx]
mov edi, dword [ebp - 0x2c]
rol eax, 9
xor edi, eax
mov eax, dword [ebp - 0x24]
add eax, edi
mov dword [ebp - 0x2c], edi
rol eax, 0xd
xor ebx, eax
lea eax, [edi + ebx]
ror eax, 0xe
xor ecx, eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
rol eax, 7
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x78], eax
add eax, dword [ebp - 0x18]
rol eax, 9
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
add eax, dword [ebp - 8]
rol eax, 0xd
mov edi, dword [ebp - 0x24]
xor edi, eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x24], edi
ror eax, 0xe
mov dword [ebp - 0x70], edi
mov edi, dword [ebp - 0x18]
xor edi, eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x10]
rol eax, 7
xor dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
add eax, dword [ebp - 0x1c]
rol eax, 9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x7c], edi
mov edi, dword [ebp - 0x2c]
xor edi, eax
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x2c], edi
rol eax, 0xd
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x6c], eax
add eax, edi
ror eax, 0xe
mov dword [ebp - 0x60], edi
mov edi, dword [ebp - 0x1c]
xor edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x20]
add eax, edi
rol eax, 7
xor ebx, eax
mov eax, dword [ebp - 4]
add eax, ebx
rol eax, 9
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
add eax, ebx
rol eax, 0xd
xor edi, eax
mov eax, edi
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
add eax, dword [ebp - 0x14]
ror eax, 0xe
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
lea eax, [ecx + edx]
rol eax, 7
xor edi, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x4c], edi
lea eax, [ecx + edi]
rol eax, 9
xor esi, eax
lea eax, [esi + edi]
rol eax, 0xd
xor edx, eax
lea eax, [edx + esi]
ror eax, 0xe
xor ecx, eax
sub dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x18]
jne 0x401138
mov dword [ebp - 0x50], ebx
mov eax, 1
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], esi
lea edi, [ebx + 0xc]
mov dword [ebp - 0x44], edx
sub ebx, ecx
lea esi, [ecx + 4]
nop dword [eax]
lea edx, [eax - 1]
shr edx, 2
lea ecx, [eax - 1]
and ecx, 3
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
lea ecx, [ecx + edx*4]
mov edx, eax
mov ecx, dword [ebp + ecx*4 - 0x7c]
add ecx, dword [edi - 0x1c]
mov dword [esi - 0x14], ecx
mov ecx, eax
and ecx, 3
shr edx, 2
lea ecx, [ecx + edx*4]
mov ecx, dword [ebp + ecx*4 - 0x7c]
lea edx, [eax + 1]
add ecx, dword [ebx + esi - 0x10]
mov dword [esi - 0x10], ecx
lea ecx, [eax + 1]
and ecx, 3
shr edx, 2
lea ecx, [ecx + edx*4]
mov ecx, dword [ebp + ecx*4 - 0x7c]
lea edx, [eax + 2]
add ecx, dword [edi - 0x14]
mov dword [esi - 0xc], ecx
lea ecx, [eax - 2]
and ecx, 3
shr edx, 2
add eax, 4
lea ecx, [ecx + edx*4]
mov ecx, dword [ebp + ecx*4 - 0x7c]
add ecx, dword [edi - 0x10]
mov dword [esi - 8], ecx
lea ecx, [eax - 1]
cmp ecx, 0x10
jl 0x401310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret