Function at 0x40006006
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
movzx ebx, byte [eax + 5]
xor edx, edx
mov dh, byte [eax]
push esi
mov esi, ecx
movzx ecx, byte [eax + 1]
xor edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 3]
shl edx, 8
xor edx, ecx
xor ecx, ecx
mov ch, byte [eax + 4]
xor edx, dword [esi]
mov dword [ebp - 0x18], edx
xor ecx, ebx
movzx ebx, byte [eax + 6]
shl ecx, 8
xor ecx, ebx
movzx ebx, byte [eax + 7]
shl ecx, 8
xor ecx, ebx
xor ecx, dword [esi + 4]
movzx ebx, byte [eax + 9]
mov dword [ebp - 4], ecx
xor ecx, ecx
mov ch, byte [eax + 8]
xor ecx, ebx
movzx ebx, byte [eax + 0xa]
shl ecx, 8
xor ecx, ebx
movzx ebx, byte [eax + 0xb]
shl ecx, 8
xor ecx, ebx
xor ecx, dword [esi + 8]
movzx ebx, byte [eax + 0xd]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov ch, byte [eax + 0xc]
xor ecx, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl ecx, 8
xor ecx, ebx
movzx ebx, byte [ebp - 2]
shl ecx, 8
xor ecx, eax
xor ecx, dword [esi + 0xc]
movzx eax, byte [ebp - 7]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax*4 + 0x400281f0]
xor ecx, dword [ebx*4 + 0x40027df0]
mov ebx, dword [ebp - 0x14]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x400279f0]
mov eax, 0xff
and ebx, eax
xor ecx, dword [ebx*4 + 0x400285f0]
movzx ebx, byte [ebp - 6]
xor ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
movzx ecx, byte [ebp - 0x13]
mov ecx, dword [ecx*4 + 0x400281f0]
xor ecx, dword [ebx*4 + 0x40027df0]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x400279f0]
mov ebx, edx
and ebx, eax
xor ecx, dword [ebx*4 + 0x400285f0]
movzx edx, dh
xor ecx, dword [esi + 0x14]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [ebp - 0x12]
mov ecx, dword [ecx*4 + 0x40027df0]
xor ecx, dword [edx*4 + 0x400281f0]
mov edx, dword [ebp - 8]
movzx ebx, byte [ebp - 0x16]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x400279f0]
mov edx, dword [ebp - 4]
and edx, eax
xor ecx, dword [edx*4 + 0x400285f0]
movzx edx, byte [ebp - 3]
mov edx, dword [edx*4 + 0x400281f0]
xor edx, dword [ebx*4 + 0x40027df0]
xor ecx, dword [esi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x14]
shr edx, 0x18
mov dword [ebp - 0x14], edx
mov edx, dword [edx*4 + 0x400279f0]
xor dword [ebp - 0x18], edx
mov edx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 0x14], edx
mov edx, dword [edx*4 + 0x400285f0]
xor dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x18]
xor edx, dword [esi + 0x1c]
add esi, 0x20
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
sar edx, 1
dec edx
mov dword [ebp - 0x1c], ecx
je 0x40006342
mov dword [ebp + 8], edx
movzx ebx, byte [ebp - 0xe]
movzx edx, ch
mov edx, dword [edx*4 + 0x400281f0]
xor edx, dword [ebx*4 + 0x40027df0]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x400279f0]
mov ebx, dword [ebp - 0x14]
and ebx, eax
xor edx, dword [ebx*4 + 0x400285f0]
movzx ebx, byte [ebp - 0x1a]
xor edx, dword [esi]
mov dword [ebp - 0x18], edx
movzx edx, byte [ebp - 0x13]
mov edx, dword [edx*4 + 0x400281f0]
xor edx, dword [ebx*4 + 0x40027df0]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x400279f0]
mov ebx, dword [ebp - 0xc]
and ebx, eax
xor edx, dword [ebx*4 + 0x400285f0]
movzx ebx, byte [ebp - 0xb]
xor edx, dword [esi + 4]
mov dword [ebp - 4], edx
movzx edx, byte [ebp - 0x12]
mov edx, dword [edx*4 + 0x40027df0]
xor edx, dword [ebx*4 + 0x400281f0]
mov ebx, ecx
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x400279f0]
mov ebx, dword [ebp - 0x10]
and ebx, eax
xor edx, dword [ebx*4 + 0x400285f0]
movzx ebx, byte [ebp - 0xa]
xor edx, dword [esi + 8]
and ecx, eax
mov dword [ebp - 8], edx
movzx edx, byte [ebp - 0xf]
mov edx, dword [edx*4 + 0x400281f0]
xor edx, dword [ebx*4 + 0x40027df0]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x400279f0]
movzx ebx, byte [ebp - 2]
xor edx, dword [ecx*4 + 0x400285f0]
movzx ecx, byte [ebp - 7]
mov ecx, dword [ecx*4 + 0x400281f0]
xor ecx, dword [ebx*4 + 0x40027df0]
xor edx, dword [esi + 0xc]
mov ebx, dword [ebp - 0x18]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x400279f0]
mov ebx, edx
and ebx, eax
xor ecx, dword [ebx*4 + 0x400285f0]
mov dword [ebp - 0x14], edx
xor ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x400281f0]
movzx edx, byte [ebp - 6]
xor ecx, dword [edx*4 + 0x40027df0]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x400279f0]
mov edx, dword [ebp - 0x18]
and edx, eax
xor ecx, dword [edx*4 + 0x400285f0]
movzx edx, byte [ebp - 0x17]
xor ecx, dword [esi + 0x14]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [ebp - 0x12]
mov ecx, dword [ecx*4 + 0x40027df0]
xor ecx, dword [edx*4 + 0x400281f0]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x400279f0]
mov edx, dword [ebp - 4]
and edx, eax
xor ecx, dword [edx*4 + 0x400285f0]
movzx edx, byte [ebp - 3]
movzx ebx, byte [ebp - 0x16]
mov edx, dword [edx*4 + 0x400281f0]
xor edx, dword [ebx*4 + 0x40027df0]
xor ecx, dword [esi + 0x18]
mov ebx, edx
mov edx, dword [ebp - 0x14]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x400279f0]
mov edx, dword [ebp - 8]
and edx, eax
xor ebx, dword [edx*4 + 0x400285f0]
add esi, 0x20
xor ebx, dword [esi - 4]
dec dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ebx
jne 0x40006194
movzx edx, byte [ebp - 0xe]
mov edx, dword [edx*4 + str.ccccwwww]
and edx, 0xff0000
movzx ebx, ch
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 0x14]
and ebx, eax
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, eax
xor edx, ebx
xor edx, dword [esi]
mov ebx, edx
shr ebx, 0x18
mov byte [edi], bl
mov ebx, edx
shr ebx, 0x10
mov byte [edi + 1], bl
mov byte [edi + 3], dl
mov ebx, edx
shr ebx, 8
mov byte [edi + 2], bl
movzx edx, byte [ebp - 0x1a]
mov edx, dword [edx*4 + str.ccccwwww]
movzx ebx, byte [ebp - 0x13]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 0xc]
and ebx, eax
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, eax
xor edx, ebx
xor edx, dword [esi + 4]
mov ebx, edx
shr ebx, 0x18
mov byte [edi + 4], bl
mov ebx, edx
shr ebx, 0x10
mov byte [edi + 5], bl
mov ebx, edx
shr ebx, 8
mov byte [edi + 6], bl
movzx ebx, byte [ebp - 0xb]
mov byte [edi + 7], dl
mov ebx, dword [ebx*4 + str.ccccwwww]
movzx edx, byte [ebp - 0x12]
mov edx, dword [edx*4 + str.ccccwwww]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, ecx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, eax
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, eax
xor edx, ebx
xor edx, dword [esi + 8]
mov ebx, edx
shr ebx, 0x18
mov byte [edi + 8], bl
mov ebx, edx
shr ebx, 0x10
mov byte [edi + 9], bl
mov ebx, edx
shr ebx, 8
mov byte [edi + 0xa], bl
movzx ebx, byte [ebp - 0xf]
mov byte [edi + 0xb], dl
mov ebx, dword [ebx*4 + str.ccccwwww]
movzx edx, byte [ebp - 0xa]
mov edx, dword [edx*4 + str.ccccwwww]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp - 0x14]
and ecx, eax
mov ecx, dword [ecx*4 + str.ccccwwww]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, eax
and ebx, 0xff000000
xor edx, ebx
xor edx, ecx
xor edx, dword [esi + 0xc]
pop esi
mov eax, edx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [edi + 0xe], al
mov byte [edi + 0xf], dl
pop ebx
leave
ret