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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 2]
movzx esi, byte [edi + 3]
movzx ecx, byte [eax + 0x58a2d8]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 0x58a4d8]
xor ecx, eax
mov dword [ebp - 0x28], edx
movzx eax, byte [ebx + 0x58a3d8]
xor ecx, eax
movzx edx, byte [edi + 0xc]
movzx eax, byte [esi + 0x58a5d8]
xor ecx, eax
mov dword [ebp - 0x2c], ebx
movzx ebx, byte [edi + 0xe]
mov dword [ebp - 0x30], esi
movzx esi, byte [edi + 0xf]
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x40], al
movzx eax, byte [edi + 0xd]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
movzx ecx, byte [eax + 0x58a2d8]
movzx eax, byte [edx + 0x58a5d8]
xor ecx, eax
movzx edx, byte [edi + 9]
movzx eax, byte [ebx + 0x58a4d8]
xor ecx, eax
movzx ebx, byte [edi + 0xb]
movzx eax, byte [esi + 0x58a3d8]
xor ecx, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ebx
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x3f], al
movzx eax, byte [edi + 0xa]
movzx edi, byte [edi + 8]
mov dword [ebp - 0x18], eax
movzx eax, byte [eax + 0x58a2d8]
movzx ecx, byte [edi + 0x58a3d8]
xor ecx, eax
movzx eax, byte [edx + 0x58a5d8]
xor ecx, eax
movzx eax, byte [ebx + 0x58a4d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x3e], al
movzx esi, byte [ecx + 5]
movzx eax, byte [ecx + 6]
movzx edx, byte [ecx + 4]
movzx ebx, byte [ecx + 7]
mov dword [ebp - 4], eax
movzx eax, byte [esi + 0x58a3d8]
movzx ecx, byte [edx + 0x58a4d8]
xor ecx, eax
movzx eax, byte [ebx + 0x58a2d8]
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x58a5d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
movzx ecx, byte [edx + 0x58a2d8]
mov byte [ebp - 0x3d], al
movzx eax, byte [esi + 0x58a4d8]
xor ecx, eax
movzx eax, byte [ebx + 0x58a5d8]
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x58a5d8]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x58a4d8]
xor ecx, eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x3b], al
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x58a5d8]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x58a4d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0x18]
movzx ecx, byte [edi + 0x58a4d8]
movzx eax, byte [eax + 0x58a5d8]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
movzx ecx, byte [edi + 0x58a2d8]
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x58a4d8]
xor ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x58a5d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
movzx ecx, byte [edx + 0x58a5d8]
mov byte [ebp - 0x38], al
movzx eax, byte [esi + 0x58a2d8]
xor ecx, eax
movzx eax, byte [ebx + 0x58a3d8]
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x58a4d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x58a3d8]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x58a5d8]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax + 0x58a4d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x58a3d8]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x58a4d8]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x58a5d8]
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x58a4d8]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x58a5d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
movzx ecx, byte [edi + 0x58a5d8]
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x18]
pop edi
movzx eax, byte [eax + 0x58a4d8]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
movzx ecx, byte [edx + 0x58a3d8]
mov byte [ebp - 0x33], al
movzx eax, byte [esi + 0x58a5d8]
xor ecx, eax
movzx eax, byte [ebx + 0x58a4d8]
xor ecx, eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x58a4d8]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x58a3d8]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x58a5d8]
xor ecx, eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax + 0x58a2d8]
xor ecx, eax
movzx eax, byte [ecx + 0x58a8d8]
mov byte [ebp - 0x31], al
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax], xmm0
mov esp, ebp
pop ebp
ret 4