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

Disassembly:
movzx edx, byte [eax]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx]
mov byte [eax], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 1]
mov byte [eax + 1], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 4]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 4]
mov byte [eax + 4], dl
movzx edx, byte [eax + 5]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 5]
mov byte [eax + 5], dl
movzx edx, byte [eax + 6]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 7]
mov byte [eax + 7], dl
movzx edx, byte [eax + 8]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 8]
mov byte [eax + 8], dl
movzx edx, byte [eax + 9]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 9]
mov byte [eax + 9], dl
movzx edx, byte [eax + 0xa]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 0xa]
mov byte [eax + 0xa], dl
movzx edx, byte [eax + 0xb]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 0xb]
mov byte [eax + 0xb], dl
movzx edx, byte [eax + 0xc]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 0xc]
mov byte [eax + 0xc], dl
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 0xe]
mov byte [eax + 0xe], dl
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x41a998]
xor dl, byte [ecx + 0xf]
mov byte [eax + 0xf], dl
ret
mov eax, dword [esp + 4]
movzx ecx, word [0x426708]
xor word [eax], cx
movzx edx, word [0x42670a]
xor word [eax + 2], dx
movzx ecx, word [0x42670c]
xor word [eax + 4], cx
movzx edx, word [0x42670e]
xor word [eax + 6], dx
movzx ecx, word [0x426710]
xor word [eax + 8], cx
movzx edx, word [0x426712]
xor word [eax + 0xa], dx
movzx ecx, word [0x426714]
xor word [eax + 0xc], cx
movzx edx, word [0x426716]
xor word [eax + 0xe], dx
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x4266f8
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x4266e8
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x4266d8
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x4266c8
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x4266b8
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x4266a8
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x426698
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x426688
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov ecx, 0x426678
mov byte [eax + 0xb], dl
call 0x413f70
call fcn.00413ad0
movzx edx, byte [eax + 9]
mov cl, byte [eax + 0xd]
mov byte [eax + 0xd], dl
movzx edx, byte [eax + 5]
mov byte [eax + 9], dl
movzx edx, byte [eax + 1]
mov byte [eax + 5], dl
movzx edx, byte [eax + 0xa]
mov byte [eax + 1], cl
mov cl, byte [eax + 2]
mov byte [eax + 2], dl
movzx edx, byte [eax + 0xe]
mov byte [eax + 0xa], cl
mov cl, byte [eax + 6]
mov byte [eax + 6], dl
movzx edx, byte [eax + 7]
mov byte [eax + 0xe], cl
mov cl, byte [eax + 3]
mov byte [eax + 3], dl
movzx edx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 0xf]
mov byte [eax + 0xf], cl
mov byte [eax + 0xb], dl
mov ecx, 0x426668
jmp 0x413f70