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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0x3c]
mov ecx, 0xf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x421004
call fcn.00411361
mov dword [ebp - 8], 0
jmp 0x4131d7
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jae 0x41322d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4]
mov byte [ecx + eax*4], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4 + 1]
mov byte [ecx + eax*4 + 1], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4 + 2]
mov byte [ecx + eax*4 + 2], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4 + 3]
mov byte [ecx + eax*4 + 3], dl
jmp 0x4131ce
mov dword [ebp - 8], 8
jmp 0x41323f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3c
jae 0x4134ed
mov eax, dword [ebp - 8]
lea ecx, [eax*4 - 4]
mov dword [ebp - 0x20], ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ebp + ecx - 0x2c], al
mov eax, 1
shl eax, 0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 1]
mov byte [ebp + eax - 0x2c], dl
mov eax, 1
shl eax, 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 2]
mov byte [ebp + eax - 0x2c], dl
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 3]
mov byte [ebp + ecx - 0x2c], al
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 8
div ecx
test edx, edx
jne 0x4133c2
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + ecx - 0x2c]
mov byte [ebp - 0x35], dl
mov eax, 1
shl eax, 0
mov ecx, 1
imul edx, ecx, 0
mov al, byte [ebp + eax - 0x2c]
mov byte [ebp + edx - 0x2c], al
mov eax, 1
shl eax, 1
mov ecx, 1
shl ecx, 0
mov dl, byte [ebp + eax - 0x2c]
mov byte [ebp + ecx - 0x2c], dl
mov eax, 1
imul ecx, eax, 3
mov edx, 1
shl edx, 1
mov al, byte [ebp + ecx - 0x2c]
mov byte [ebp + edx - 0x2c], al
mov eax, 1
imul ecx, eax, 3
mov dl, byte [ebp - 0x35]
mov byte [ebp + ecx - 0x2c], dl
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x2c]
mov eax, 1
imul ecx, eax, 0
mov dl, byte [edx + str.cw]
mov byte [ebp + ecx - 0x2c], dl
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 0x2c]
mov edx, 1
shl edx, 0
mov al, byte [ecx + str.cw]
mov byte [ebp + edx - 0x2c], al
mov eax, 1
shl eax, 1
movzx ecx, byte [ebp + eax - 0x2c]
mov edx, 1
shl edx, 1
mov al, byte [ecx + str.cw]
mov byte [ebp + edx - 0x2c], al
mov eax, 1
imul ecx, eax, 3
movzx edx, byte [ebp + ecx - 0x2c]
mov eax, 1
imul ecx, eax, 3
mov dl, byte [edx + str.cw]
mov byte [ebp + ecx - 0x2c], dl
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x2c]
mov eax, dword [ebp - 8]
shr eax, 3
movzx ecx, byte [eax + 0x41cd30]
xor edx, ecx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x2c], dl
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 8
div ecx
cmp edx, 4
jne 0x41344d
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x2c]
mov eax, 1
imul ecx, eax, 0
mov dl, byte [edx + str.cw]
mov byte [ebp + ecx - 0x2c], dl
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 0x2c]
mov edx, 1
shl edx, 0
mov al, byte [ecx + str.cw]
mov byte [ebp + edx - 0x2c], al
mov eax, 1
shl eax, 1
movzx ecx, byte [ebp + eax - 0x2c]
mov edx, 1
shl edx, 1
mov al, byte [ecx + str.cw]
mov byte [ebp + edx - 0x2c], al
mov eax, 1
imul ecx, eax, 3
movzx edx, byte [ebp + ecx - 0x2c]
mov eax, 1
imul ecx, eax, 3
mov dl, byte [edx + str.cw]
mov byte [ebp + ecx - 0x2c], dl
mov eax, dword [ebp - 8]
shl eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
lea ecx, [eax*4 - 0x20]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
movzx edx, byte [ebp + eax - 0x2c]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov byte [eax], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 1]
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 0x2c]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
mov byte [edx + 1], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 2]
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 0x2c]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
mov byte [edx + 2], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 3]
mov edx, 1
imul eax, edx, 3
movzx edx, byte [ebp + eax - 0x2c]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov byte [eax + 3], cl
jmp 0x413236
push edx
mov ecx, ebp
push eax
lea edx, [0x413514]
call fcn.00411208
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.0041126c
mov esp, ebp
pop ebp
ret