Function at 0x100cb950
Capabilities:
Encode data using xor

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