Function at 0x52fc90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov ecx, 0x65acdc
call fcn.0053954a
mov dword [ebp - 4], 0
jmp 0x52fccd
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x52fd23
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4]
mov byte [edx + ecx*4], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4 + 1]
mov byte [edx + ecx*4 + 1], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4 + 2]
mov byte [edx + ecx*4 + 2], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov al, byte [esi + eax*4 + 3]
mov byte [edx + ecx*4 + 3], al
jmp 0x52fcc4
mov dword [ebp - 4], 4
jmp 0x52fd35
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x2c
jae 0x52ff58
mov edx, dword [ebp - 4]
lea eax, [edx*4 - 4]
mov dword [ebp - 0xc], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp + edx - 0x14], cl
mov edx, 1
shl edx, 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax + 1]
mov byte [ebp + edx - 0x14], cl
mov edx, 1
shl edx, 1
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax + 2]
mov byte [ebp + edx - 0x14], cl
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 3]
mov byte [ebp + eax - 0x14], dl
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
jne 0x52feb8
mov edx, 1
imul eax, edx, 0
mov cl, byte [ebp + eax - 0x14]
mov byte [ebp - 0x19], cl
mov edx, 1
shl edx, 0
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + edx - 0x14]
mov byte [ebp + ecx - 0x14], dl
mov eax, 1
shl eax, 1
mov ecx, 1
shl ecx, 0
mov dl, byte [ebp + eax - 0x14]
mov byte [ebp + ecx - 0x14], dl
mov eax, 1
imul ecx, eax, 3
mov edx, 1
shl edx, 1
mov al, byte [ebp + ecx - 0x14]
mov byte [ebp + edx - 0x14], al
mov ecx, 1
imul edx, ecx, 3
mov al, byte [ebp - 0x19]
mov byte [ebp + edx - 0x14], al
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 0x14]
mov ecx, 1
imul edx, ecx, 0
mov al, byte [eax + str.cw]
mov byte [ebp + edx - 0x14], al
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 0x14]
mov eax, 1
shl eax, 0
mov cl, byte [edx + str.cw]
mov byte [ebp + eax - 0x14], cl
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 0x14]
mov ecx, 1
shl ecx, 1
mov dl, byte [eax + str.cw]
mov byte [ebp + ecx - 0x14], dl
mov eax, 1
imul ecx, eax, 3
movzx edx, byte [ebp + ecx - 0x14]
mov eax, 1
imul ecx, eax, 3
mov dl, byte [edx + str.cw]
mov byte [ebp + ecx - 0x14], dl
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x14]
mov eax, dword [ebp - 4]
shr eax, 2
movzx ecx, byte [eax + 0x601320]
xor edx, ecx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x14], dl
mov edx, dword [ebp - 4]
shl edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
lea ecx, [eax*4 - 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
movzx ecx, byte [ebp + edx - 0x14]
xor eax, ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], al
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 0x14]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx + 1], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 2]
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 0x14]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx + 2], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 3]
mov edx, 1
imul eax, edx, 3
movzx edx, byte [ebp + eax - 0x14]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax + 3], cl
jmp 0x52fd2c
push edx
mov ecx, ebp
push eax
lea edx, [0x52ff78]
call fcn.005394c7
pop eax
pop edx
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.0053951b
mov esp, ebp
pop ebp
ret