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

Disassembly:
push esi
push edi
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
xor edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
xor edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
xor edx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], edx
movzx edx, byte [ecx + 4]
shl edx, 8
movzx esi, byte [ecx + 5]
xor edx, esi
movzx esi, byte [ecx + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 7]
shl edx, 8
xor edx, esi
mov dword [eax + 4], edx
movzx edx, byte [ecx + 8]
movzx esi, byte [ecx + 9]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0xb]
shl edx, 8
xor edx, esi
mov dword [eax + 8], edx
movzx edx, byte [ecx + 0xc]
movzx esi, byte [ecx + 0xd]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0xe]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0xf]
shl edx, 8
xor edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x14]
cmp edx, 0x80
jne 0x4011b3
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
xor ecx, 0x1000000
mov esi, edx
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
and esi, 0xff0000
mov edi, dword [eax + 4]
and ecx, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
movzx esi, byte [esi*4 + str.ccccwwww]
xor ecx, esi
mov esi, edx
and esi, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
and esi, 0xff00
xor ecx, esi
xor ecx, dword [eax]
lea esi, [eax + 0x10]
xor edi, ecx
mov dword [esi], ecx
mov ecx, dword [eax + 8]
xor ecx, edi
xor edx, ecx
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov edi, 0x414a1c
mov ecx, esi
mov edx, dword [ecx + 0xc]
mov eax, edx
shr eax, 8
mov esi, edx
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
and eax, 0xff0000
and esi, 0xff000000
xor eax, esi
mov esi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr esi, 0x18
movzx esi, byte [esi*4 + str.ccccwwww]
xor eax, esi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx]
lea esi, [ecx + 0x10]
xor eax, dword [edi]
add edi, 4
mov dword [esi], eax
mov edx, dword [ecx + 4]
xor edx, eax
mov dword [ecx + 0x14], edx
mov eax, dword [ecx + 8]
xor eax, edx
mov dword [ecx + 0x18], eax
mov edx, dword [ecx + 0xc]
xor edx, eax
mov dword [ecx + 0x1c], edx
cmp edi, 0x414a40
jne 0x401122
pop edi
mov eax, 0xa
pop esi
ret
movzx esi, byte [ecx + 0x10]
movzx edi, byte [ecx + 0x11]
shl esi, 8
xor esi, edi
movzx edi, byte [ecx + 0x12]
shl esi, 8
xor esi, edi
movzx edi, byte [ecx + 0x13]
shl esi, 8
xor esi, edi
mov dword [eax + 0x10], esi
movzx esi, byte [ecx + 0x14]
movzx edi, byte [ecx + 0x15]
shl esi, 8
xor esi, edi
movzx edi, byte [ecx + 0x16]
shl esi, 8
xor esi, edi
movzx edi, byte [ecx + 0x17]
shl esi, 8
xor esi, edi
mov dword [eax + 0x14], esi
cmp edx, 0xc0
jne 0x401324
mov edx, esi
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
xor ecx, 0x1000000
and ecx, 0xff000000
and esi, 0xff0000
xor ecx, esi
mov esi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr esi, 0x18
movzx esi, byte [esi*4 + str.ccccwwww]
xor ecx, esi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov esi, 0x414a1c
mov ecx, dword [eax + 0x10]
xor ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x14]
xor edx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov edx, dword [eax + 0x2c]
add eax, 0x18
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor ecx, edi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [esi]
add esi, 4
xor ecx, dword [eax]
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x20], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x24], edx
cmp esi, 0x414a38
jne 0x401281
pop edi
mov eax, 0xc
pop esi
ret
movzx esi, byte [ecx + 0x18]
movzx edi, byte [ecx + 0x19]
shl esi, 8
xor esi, edi
movzx edi, byte [ecx + 0x1a]
shl esi, 8
xor esi, edi
movzx edi, byte [ecx + 0x1b]
shl esi, 8
xor esi, edi
mov dword [eax + 0x18], esi
movzx esi, byte [ecx + 0x1c]
movzx edi, byte [ecx + 0x1d]
shl esi, 8
xor esi, edi
movzx edi, byte [ecx + 0x1e]
movzx ecx, byte [ecx + 0x1f]
shl esi, 8
xor esi, edi
shl esi, 8
xor esi, ecx
mov dword [eax + 0x1c], esi
cmp edx, 0x100
jne 0x4014fc
mov edx, esi
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
xor ecx, 0x1000000
and ecx, 0xff000000
and esi, 0xff0000
xor ecx, esi
mov esi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr esi, 0x18
movzx esi, byte [esi*4 + str.ccccwwww]
xor ecx, esi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov esi, 0x414a1c
mov edx, dword [eax + 0x2c]
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, edx
shr edi, 8
and ecx, 0xff0000
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff00
xor ecx, edi
mov edi, edx
and edx, 0xff
movzx edx, byte [edx*4 + str.ccccwwww]
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff000000
xor ecx, edi
xor ecx, edx
xor ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x1c]
xor edx, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov edx, dword [eax + 0x3c]
add eax, 0x20
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor ecx, edi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [eax]
add esi, 4
xor ecx, dword [esi - 4]
mov dword [eax + 0x20], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x24], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x28], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x2c], edx
cmp esi, 0x414a34
jne 0x4013f2
pop edi
mov eax, 0xe
pop esi
ret
pop edi
xor eax, eax
pop esi
ret