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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
lea ebx, [ebp - 0x34]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], ebx
sub ecx, 6
xor edx, edx
cmp ecx, eax
mov ebx, dword [ebp + 8]
jle 0x4c4084
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx]
add ebx, 4
inc eax
mov dword [edi], esi
add dword [ebp - 0xc], 4
cmp ecx, eax
jg 0x4c4071
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x4c40b5
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x4c40a8
cmp edx, 4
jl 0x4c4095
cmp edx, 4
jne 0x4c40b5
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x4c40c4
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x4c409f
mov eax, dword [ebp - 4]
lea eax, [eax*4 + 0x542544]
mov dword [ebp - 0x14], eax
lea eax, [ebp + ecx*4 - 0x37]
mov dword [ebp - 0x10], eax
jmp 0x4c420b
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov al, byte [eax + str.cw]
xor byte [ebp - 0x34], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
mov al, byte [eax + str.cw]
xor byte [ebp - 0x33], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 2]
mov al, byte [eax + str.cw]
xor byte [ebp - 0x32], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax - 1]
mov al, byte [eax + str.cw]
xor byte [ebp - 0x31], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
xor byte [ebp - 0x34], al
add dword [ebp - 0x14], 4
cmp ecx, 8
je 0x4c414c
mov eax, 1
lea ebx, [ebp - 0x34]
cmp ecx, eax
jle 0x4c41cb
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x4c413d
jmp 0x4c41cb
mov eax, 1
lea ebx, [ebp - 0x34]
jmp 0x4c415f
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
mov esi, ecx
sar esi, 1
jns 0x4c4168
adc esi, 0
cmp eax, esi
jl 0x4c4156
mov eax, ecx
sar eax, 1
jns 0x4c4175
adc eax, 0
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x38]
mov bl, byte [ebx + str.cw]
xor byte [ebp + eax*4 - 0x34], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x37]
mov bl, byte [ebx + str.cw]
xor byte [ebp + eax*4 - 0x33], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x36]
mov bl, byte [ebx + str.cw]
xor byte [ebp + eax*4 - 0x32], bl
xor ebx, ebx
mov bl, byte [ebp + eax*4 - 0x35]
mov bl, byte [ebx + str.cw]
xor byte [ebp + eax*4 - 0x31], bl
inc eax
lea ebx, [ebp + eax*4 - 0x38]
cmp ecx, eax
jle 0x4c41cb
mov esi, dword [ebx]
inc eax
xor dword [ebx + 4], esi
add ebx, 4
cmp ecx, eax
jg 0x4c41be
xor eax, eax
mov ebx, dword [ebp - 8]
add ebx, ebx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + ebx*8]
jmp 0x4c41fc
mov esi, dword [ebp + eax*4 - 0x34]
inc eax
mov dword [ebx + edx*4 + 0x20], esi
inc edx
cmp ecx, eax
jle 0x4c41ef
cmp edx, 4
jl 0x4c41dc
cmp edx, 4
jne 0x4c41fc
inc dword [ebp - 8]
add ebx, 0x10
xor edx, edx
cmp ecx, eax
jle 0x4c420b
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x1c]
cmp esi, dword [ebp - 8]
jge 0x4c41e6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ebp - 8]
jge 0x4c40dd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret