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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x595be0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp + 8], eax
mov ecx, 4
imul ecx, ecx, 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx]
xor ecx, dword [esi + edx]
mov edx, 4
imul edx, edx, 0
mov dword [ebp + edx - 0x24], ecx
mov eax, 4
shl eax, 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx]
mov ecx, 4
shl ecx, 0
mov dword [ebp + ecx - 0x24], eax
mov edx, 4
shl edx, 1
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [ecx + edx]
xor edx, dword [esi + eax]
mov eax, 4
shl eax, 1
mov dword [ebp + eax - 0x24], edx
mov ecx, 4
imul ecx, ecx, 3
mov edx, 4
imul edx, edx, 3
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx]
xor ecx, dword [esi + edx]
mov edx, 4
imul edx, edx, 3
mov dword [ebp + edx - 0x24], ecx
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp + 8], eax
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x24]
and edx, 0xff
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 8
and ecx, 0xff
mov edx, dword [edx*4 + 0x59e548]
xor edx, dword [ecx*4 + 0x59e948]
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59ed48]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59f148]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
xor edx, dword [ecx + eax]
mov eax, 4
shl eax, 1
mov dword [ebp + eax - 0x14], edx
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + ecx - 0x24]
and edx, 0xff
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 8
and ecx, 0xff
mov edx, dword [edx*4 + 0x59e548]
xor edx, dword [ecx*4 + 0x59e948]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59ed48]
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59f148]
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp + 8]
xor edx, dword [ecx + eax]
mov eax, 4
imul eax, eax, 0
mov dword [ebp + eax - 0x14], edx
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + ecx - 0x24]
and edx, 0xff
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 8
and ecx, 0xff
mov edx, dword [edx*4 + 0x59e548]
xor edx, dword [ecx*4 + 0x59e948]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59ed48]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59f148]
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp + 8]
xor edx, dword [ecx + eax]
mov eax, 4
imul eax, eax, 3
mov dword [ebp + eax - 0x14], edx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x24]
and edx, 0xff
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 8
and ecx, 0xff
mov edx, dword [edx*4 + 0x59e548]
xor edx, dword [ecx*4 + 0x59e948]
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59ed48]
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp + eax - 0x24]
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [ecx*4 + 0x59f148]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
xor edx, dword [ecx + eax]
mov eax, 4
shl eax, 0
mov dword [ebp + eax - 0x14], edx
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jne 0x422237
jmp 0x422458
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x14]
and eax, 0xff
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + ecx - 0x14]
shr edx, 8
and edx, 0xff
mov eax, dword [eax*4 + 0x59e548]
xor eax, dword [edx*4 + 0x59e948]
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x10
and edx, 0xff
xor eax, dword [edx*4 + 0x59ed48]
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x18
and edx, 0xff
xor eax, dword [edx*4 + 0x59f148]
mov ecx, 4
imul ecx, ecx, 6
mov edx, dword [ebp + 8]
xor eax, dword [edx + ecx]
mov ecx, 4
shl ecx, 1
mov dword [ebp + ecx - 0x24], eax
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp + edx - 0x14]
and eax, 0xff
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 8
and edx, 0xff
mov eax, dword [eax*4 + 0x59e548]
xor eax, dword [edx*4 + 0x59e948]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x10
and edx, 0xff
xor eax, dword [edx*4 + 0x59ed48]
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x18
and edx, 0xff
xor eax, dword [edx*4 + 0x59f148]
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
xor eax, dword [edx + ecx]
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x24], eax
mov edx, 4
imul edx, edx, 3
mov eax, dword [ebp + edx - 0x14]
and eax, 0xff
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 8
and edx, 0xff
mov eax, dword [eax*4 + 0x59e548]
xor eax, dword [edx*4 + 0x59e948]
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x10
and edx, 0xff
xor eax, dword [edx*4 + 0x59ed48]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x18
and edx, 0xff
xor eax, dword [edx*4 + 0x59f148]
mov ecx, 4
imul ecx, ecx, 7
mov edx, dword [ebp + 8]
xor eax, dword [edx + ecx]
mov ecx, 4
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x24], eax
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x14]
and eax, 0xff
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x14]
shr edx, 8
and edx, 0xff
mov eax, dword [eax*4 + 0x59e548]
xor eax, dword [edx*4 + 0x59e948]
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x10
and edx, 0xff
xor eax, dword [edx*4 + 0x59ed48]
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x18
and edx, 0xff
xor eax, dword [edx*4 + 0x59f148]
mov ecx, 4
imul ecx, ecx, 5
mov edx, dword [ebp + 8]
xor eax, dword [edx + ecx]
mov ecx, 4
shl ecx, 0
mov dword [ebp + ecx - 0x24], eax
mov edx, dword [ebp + 8]
add edx, 0x20
mov dword [ebp + 8], edx
jmp 0x422011
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp + 8], eax
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + ecx - 0x14]
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 8
and edx, 0xff
movzx ecx, byte [edx + str.cw]
shl ecx, 8
or eax, ecx
mov edx, 4
shl edx, 1
mov ecx, dword [ebp + edx - 0x14]
shr ecx, 0x10
and ecx, 0xff
movzx edx, byte [ecx + str.cw]
shl edx, 0x10
or eax, edx
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x18
and edx, 0xff
movzx ecx, byte [edx + str.cw]
shl ecx, 0x18
or eax, ecx
mov edx, 4
imul edx, edx, 0
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + edx]
mov edx, 4
imul edx, edx, 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x14]
and eax, 0xff
movzx ecx, byte [eax + str.cw]
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x14]
shr eax, 8
and eax, 0xff
movzx edx, byte [eax + str.cw]
shl edx, 8
or ecx, edx
mov eax, 4
imul eax, eax, 3
mov edx, dword [ebp + eax - 0x14]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
shl eax, 0x10
or ecx, eax
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp + edx - 0x14]
shr eax, 0x18
and eax, 0xff
movzx edx, byte [eax + str.cw]
shl edx, 0x18
or ecx, edx
mov eax, 4
shl eax, 0
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
mov eax, 4
shl eax, 0
mov edx, dword [ebp + 0xc]
mov dword [edx + eax], ecx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x14]
and ecx, 0xff
movzx edx, byte [ecx + str.cw]
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp + eax - 0x14]
shr ecx, 8
and ecx, 0xff
movzx eax, byte [ecx + str.cw]
shl eax, 8
or edx, eax
mov ecx, 4
imul ecx, ecx, 0
mov eax, dword [ebp + ecx - 0x14]
shr eax, 0x10
and eax, 0xff
movzx ecx, byte [eax + str.cw]
shl ecx, 0x10
or edx, ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0x14]
shr ecx, 0x18
and ecx, 0xff
movzx eax, byte [ecx + str.cw]
shl eax, 0x18
or edx, eax
mov ecx, 4
shl ecx, 1
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
mov ecx, 4
shl ecx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax + ecx], edx
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + ecx - 0x14]
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + ecx - 0x14]
shr edx, 8
and edx, 0xff
movzx ecx, byte [edx + str.cw]
shl ecx, 8
or eax, ecx
mov edx, 4
shl edx, 0
mov ecx, dword [ebp + edx - 0x14]
shr ecx, 0x10
and ecx, 0xff
movzx edx, byte [ecx + str.cw]
shl edx, 0x10
or eax, edx
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x14]
shr edx, 0x18
and edx, 0xff
movzx ecx, byte [edx + str.cw]
shl ecx, 0x18
or eax, ecx
mov edx, 4
imul edx, edx, 3
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + edx]
mov edx, 4
imul edx, edx, 3
mov ecx, dword [ebp + 0xc]
mov dword [ecx + edx], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fdc6a
mov esp, ebp
pop ebp
ret