Function at 0x100cb390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx edx, byte [ecx + 2]
push ebx
push esi
movzx esi, byte [ecx + 6]
push edi
movzx edi, byte [ecx + 3]
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 1]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx ebx, byte [ecx + 0xb]
shl edi, 8
or edi, edx
movzx edx, byte [ecx]
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 7]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 5]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 4]
shl edx, 8
or edx, esi
xor edx, dword [eax + 4]
movzx esi, byte [ecx + 0xf]
mov dword [ebp - 4], edx
movzx edx, byte [ecx + 0xa]
shl ebx, 8
or ebx, edx
movzx edx, byte [ecx + 9]
xor edi, dword [eax]
shl ebx, 8
or ebx, edx
movzx edx, byte [ecx + 8]
shl ebx, 8
or ebx, edx
movzx edx, byte [ecx + 0xe]
xor ebx, dword [eax + 8]
shl esi, 8
or esi, edx
movzx edx, byte [ecx + 0xd]
movzx ecx, byte [ecx + 0xc]
shl esi, 8
or esi, edx
mov edx, dword [ebp + 8]
shl esi, 8
or esi, ecx
mov ecx, dword [edx]
xor esi, dword [eax + 0xc]
sar ecx, 1
dec ecx
add eax, 0x10
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x100cb680
mov ecx, ebx
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff
shr ebx, 8
shr ecx, 0x10
and ebx, 0xff
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10459bb8]
xor ecx, dword [edx*4 + 0x10459fb8]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x104597b8]
mov edx, edi
and edx, 0xff
xor ecx, dword [edx*4 + 0x1045a3b8]
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x10459bb8]
xor edx, dword [ebx*4 + 0x10459fb8]
mov ebx, edi
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x104597b8]
mov ebx, dword [ebp - 4]
and ebx, 0xff
xor edx, dword [ebx*4 + 0x1045a3b8]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x10459fb8]
xor esi, dword [ebx*4 + 0x10459bb8]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x104597b8]
mov ebx, dword [ebp - 8]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x1045a3b8]
mov ebx, dword [ebp - 4]
shr edi, 8
and edi, 0xff
shr ebx, 0x10
mov dword [ebp + 8], edi
xor esi, dword [eax + 8]
and ebx, 0xff
mov edi, dword [ebx*4 + 0x10459bb8]
mov ebx, dword [ebp + 8]
xor edi, dword [ebx*4 + 0x10459fb8]
mov ebx, dword [ebp - 8]
xor edx, dword [eax + 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x104597b8]
mov ebx, dword [ebp - 0x10]
xor ecx, dword [eax]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x1045a3b8]
mov ebx, edx
xor edi, dword [eax + 0xc]
shr ebx, 8
mov dword [ebp + 8], edi
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x10459bb8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x10459fb8]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x104597b8]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x1045a3b8]
mov ebx, esi
xor edi, dword [eax + 0x10]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 8]
shr edi, 0x10
and edi, 0xff
shr ebx, 8
mov edi, dword [edi*4 + 0x10459bb8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x10459fb8]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x104597b8]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x1045a3b8]
mov ebx, ecx
xor edi, dword [eax + 0x14]
shr ebx, 0x10
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x10459fb8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x10459bb8]
mov ebx, edx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x10459bb8]
shr ecx, 8
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x104597b8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x10459fb8]
mov ecx, dword [ebp + 8]
mov ebx, esi
shr esi, 0x18
xor edx, dword [esi*4 + 0x104597b8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x1045a3b8]
mov ecx, dword [ebp - 0x14]
xor edx, dword [eax + 0x1c]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x1045a3b8]
dec ecx
xor edi, dword [eax + 0x18]
mov esi, edx
mov ebx, edi
mov edi, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
test ecx, ecx
jg 0x100cb444
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10459bb8]
xor ecx, dword [edx*4 + 0x10459fb8]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x104597b8]
mov edx, edi
and edx, 0xff
xor ecx, dword [edx*4 + 0x1045a3b8]
mov edx, ebx
xor ecx, dword [eax]
shr edx, 8
mov dword [ebp - 0x14], ecx
and edx, 0xff
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10459bb8]
xor ecx, dword [edx*4 + 0x10459fb8]
mov edx, edi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x104597b8]
mov edx, dword [ebp - 4]
and edx, 0xff
xor ecx, dword [edx*4 + 0x1045a3b8]
mov edx, edi
xor ecx, dword [eax + 4]
shr edx, 0x10
mov dword [ebp + 8], ecx
mov ecx, esi
and edx, 0xff
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10459fb8]
xor ecx, dword [edx*4 + 0x10459bb8]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x104597b8]
mov edx, ebx
and edx, 0xff
xor ecx, dword [edx*4 + 0x1045a3b8]
mov edx, dword [ebp - 4]
xor ecx, dword [eax + 8]
shr edi, 8
shr edx, 0x10
and edi, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x10459bb8]
xor edx, dword [edi*4 + 0x10459fb8]
and esi, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x104597b8]
xor edx, dword [esi*4 + 0x1045a3b8]
mov esi, ecx
xor edx, dword [eax + 0xc]
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x10458690]
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi + 0x10458690]
shl edi, 8
xor esi, edi
mov edi, dword [ebp + 8]
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x10458690]
shl esi, 8
xor esi, edi
mov edi, dword [ebp - 0x14]
mov ebx, edi
and ebx, 0xff
movzx ebx, byte [ebx + 0x10458690]
shl esi, 8
xor esi, ebx
xor esi, dword [eax + 0x10]
mov dword [ebp - 0xc], esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x10458690]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x10458690]
shl ebx, 8
xor esi, ebx
shl esi, 8
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x10458690]
xor esi, ebx
mov ebx, dword [ebp + 8]
and ebx, 0xff
movzx ebx, byte [ebx + 0x10458690]
shl esi, 8
xor esi, ebx
xor esi, dword [eax + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x10458690]
shl ebx, 8
mov esi, edi
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x10458690]
xor esi, ebx
mov ebx, edx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x10458690]
shl esi, 8
xor esi, ebx
mov ebx, ecx
and ebx, 0xff
movzx ebx, byte [ebx + 0x10458690]
shl esi, 8
xor esi, ebx
xor esi, dword [eax + 0x18]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x10458690]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
shr esi, 0x10
and esi, 0xff
movzx ebx, byte [esi + 0x10458690]
shl ecx, 8
xor ebx, ecx
and edx, 0xff
movzx edx, byte [edx + 0x10458690]
shr edi, 8
and edi, 0xff
movzx ecx, byte [edi + 0x10458690]
shl ebx, 8
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
shl ebx, 8
xor ebx, edx
xor ebx, dword [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
mov byte [eax], cl
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov edx, ecx
shr edx, 8
mov byte [eax + 5], dl
mov edx, ecx
mov byte [eax + 4], cl
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 6], dl
mov byte [eax + 7], cl
mov ecx, dword [ebp - 8]
mov edx, ecx
shr edx, 8
mov byte [eax + 9], dl
mov edx, ecx
mov byte [eax + 8], cl
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 0xa], dl
mov byte [eax + 0xb], cl
mov ecx, ebx
mov edx, ebx
mov byte [eax + 0xc], bl
shr ecx, 8
shr edx, 0x10
pop edi
shr ebx, 0x18
pop esi
mov byte [eax + 0xf], bl
mov byte [eax + 0xd], cl
mov byte [eax + 0xe], dl
pop ebx
mov esp, ebp
pop ebp
ret