Function at 0x41c850
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 0x10]
xor edx, dword [eax]
push ebx
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 0x14]
xor edx, dword [eax + 4]
mov ebx, dword [ecx + 0x1c]
xor ebx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 0xc], edx
mov eax, dword [eax*4 + 0x57d900]
push esi
mov esi, dword [ebp - 0x14]
mov edx, esi
shr edx, 0x18
add ecx, 0x20
xor eax, dword [edx*4 + 0x57e100]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx - 0x20]
xor edx, dword [eax*4 + 0x57dd00]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor edx, dword [eax*4 + 0x57d500]
mov eax, dword [ebp - 0xc]
xor edx, dword [ecx + 8]
shr eax, 0x10
mov dword [ebp - 4], edx
movzx eax, al
mov edx, ebx
shr edx, 0x18
mov edx, dword [edx*4 + 0x57e100]
xor edx, dword [eax*4 + 0x57dd00]
mov eax, esi
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x57d500]
mov eax, esi
xor edx, dword [ecx]
shr eax, 0x10
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
movzx eax, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x57e100]
xor edx, dword [eax*4 + 0x57dd00]
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x57d900]
movzx eax, bl
shr ebx, 0x10
xor edx, dword [eax*4 + 0x57d500]
mov eax, dword [ebp - 0xc]
xor edx, dword [ecx + 0xc]
shr eax, 8
mov dword [ebp + 8], edx
movzx eax, al
movzx edx, bl
mov edx, dword [edx*4 + 0x57dd00]
xor edx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x57e100]
mov eax, esi
movzx eax, al
xor edx, dword [eax*4 + 0x57d500]
xor edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
dec edi
je 0x41cb9f
jmp 0x41c990
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shr edx, 0x18
add ecx, 0x20
mov edx, dword [edx*4 + 0x57e100]
xor edx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x57dd00]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x57d500]
mov eax, dword [ebp - 0xc]
xor edx, dword [ecx - 8]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x10], edx
mov ebx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
shr edx, 0x18
xor ebx, dword [edx*4 + 0x57e100]
xor ebx, dword [eax*4 + 0x57dd00]
mov eax, dword [ebp - 8]
movzx eax, al
xor ebx, dword [eax*4 + 0x57d500]
mov eax, dword [ebp - 0xc]
xor ebx, dword [ecx - 0x10]
shr eax, 0x10
movzx edx, al
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x57dd00]
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
xor edx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 4]
shr eax, 0x18
mov dword [ebp - 8], ebx
xor edx, dword [eax*4 + 0x57e100]
mov eax, dword [ebp + 8]
movzx eax, al
xor edx, dword [eax*4 + 0x57d500]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor edx, dword [ecx - 4]
mov ebx, dword [eax*4 + 0x57dd00]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], edx
xor ebx, dword [eax*4 + 0x57e100]
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ebx, dword [eax*4 + 0x57d500]
mov eax, edx
xor ebx, dword [ecx - 0xc]
shr eax, 8
movzx eax, al
mov edx, ebx
mov eax, dword [eax*4 + 0x57d900]
shr edx, 0x18
xor eax, dword [edx*4 + 0x57e100]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x57dd00]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x57d500]
xor edx, dword [ecx + 8]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
movzx eax, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x57e100]
xor edx, dword [eax*4 + 0x57dd00]
mov eax, ebx
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor edx, dword [eax*4 + 0x57d500]
mov eax, ebx
xor edx, dword [ecx]
shr eax, 0x10
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
movzx eax, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x57e100]
xor edx, dword [eax*4 + 0x57dd00]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x57d900]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
movzx eax, dl
shr edx, 0x10
xor esi, dword [eax*4 + 0x57d500]
movzx edx, dl
mov eax, esi
xor eax, dword [ecx + 0xc]
mov edx, dword [edx*4 + 0x57dd00]
mov dword [ebp + 8], esi
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x57d900]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor edx, dword [eax*4 + 0x57e100]
movzx eax, bl
xor edx, dword [eax*4 + 0x57d500]
xor edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
dec edi
jne 0x41c990
mov eax, dword [ebp + 8]
shr eax, 0x18
mov ebx, dword [ebp - 4]
movzx edx, byte [eax + str.cw]
shl edx, 8
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov esi, dword [ebp - 0x1c]
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [ebp - 8]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
xor edx, dword [ecx + 0x10]
mov eax, dword [ebp - 8]
shr eax, 0x18
mov dword [esi], edx
movzx edx, byte [eax + str.cw]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
shl edx, 8
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [ebp - 0xc]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
xor edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov dword [esi + 4], edx
movzx edx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
xor edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
mov dword [esi + 8], edx
movzx eax, al
shr ebx, 0x18
movzx eax, byte [eax + str.cw]
movzx edx, byte [ebx + str.cw]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [ebp + 8]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
xor edx, dword [ecx + 0x1c]
pop edi
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret