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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], 0
jmp 0x442a8b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x442ae1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4]
mov byte [ecx + eax*4], dl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4 + 1]
mov byte [ecx + eax*4 + 1], dl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4 + 2]
mov byte [ecx + eax*4 + 2], dl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + edx*4 + 3]
mov byte [ecx + eax*4 + 3], dl
jmp 0x442a82
mov dword [ebp - 4], 4
jmp 0x442af3
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2c
jae 0x442c2f
mov eax, dword [ebp - 4]
lea ecx, [eax*4 - 4]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 0x10], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax + 1]
mov byte [ebp - 0xf], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax + 2]
mov byte [ebp - 0xe], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax + 3]
mov byte [ebp - 0xd], cl
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
jne 0x442bb2
movzx eax, byte [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0xf]
mov byte [ebp - 0x10], al
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0x10]
mov cl, byte [eax + str.cw]
mov byte [ebp - 0x10], cl
movzx eax, byte [ebp - 0xf]
mov cl, byte [eax + str.cw]
mov byte [ebp - 0xf], cl
movzx eax, byte [ebp - 0xe]
mov cl, byte [eax + str.cw]
mov byte [ebp - 0xe], cl
movzx eax, byte [ebp - 0xd]
mov cl, byte [eax + str.cw]
mov byte [ebp - 0xd], cl
movzx eax, byte [ebp - 0x10]
mov ecx, dword [ebp - 4]
shr ecx, 2
movzx edx, byte [ecx + 0x4b89a8]
xor eax, edx
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 4]
shl eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
lea ecx, [eax*4 - 0x10]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x10]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
movzx edx, byte [ebp - 0xf]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax + 1], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 2]
movzx edx, byte [ebp - 0xe]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax + 2], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 3]
movzx edx, byte [ebp - 0xd]
xor ecx, edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax + 3], cl
jmp 0x442aea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret