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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 3]
mov dword [ebp - 0x2c], eax
movzx eax, byte [edi + 2]
mov dword [ebp - 0x28], eax
movzx eax, byte [edi + 1]
mov dword [ebp - 0x24], eax
movzx eax, byte [edi + 0xf]
mov dword [ebp - 8], eax
movzx eax, byte [edi + 0xe]
mov dword [ebp - 4], eax
movzx eax, byte [edi + 0xb]
mov dword [ebp - 0x14], eax
movzx eax, byte [edi + 9]
mov dword [ebp - 0x10], eax
movzx eax, byte [edi + 0xa]
mov dword [ebp - 0xc], eax
movzx eax, byte [edi + 6]
movzx ecx, byte [edi]
mov dword [ebp - 0x20], eax
movzx eax, byte [edi + 7]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 5]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
movzx ecx, byte [ecx + 0x6c0c78]
movzx ebx, byte [edi + 0xc]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
movzx edx, byte [edi + 0xd]
mov eax, dword [ebp - 0x28]
movzx esi, byte [edi + 8]
movzx edi, byte [edi + 4]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
movzx eax, byte [ebx + 0x6c0f78]
movzx ecx, byte [edx + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], al
mov eax, dword [ebp - 0xc]
movzx ecx, byte [esi + 0x6c0d78]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x18]
movzx ecx, byte [edi + 0x6c0e78]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], al
mov eax, dword [ebp - 0x18]
movzx ecx, byte [edi + 0x6c0c78]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x6c0f78]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
movzx eax, byte [ebx + 0x6c0d78]
movzx ecx, byte [edx + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 6], al
mov eax, dword [ebp - 0xc]
movzx ecx, byte [esi + 0x6c0e78]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 7], al
mov eax, dword [ebp - 0xc]
movzx ecx, byte [esi + 0x6c0c78]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], al
mov eax, dword [ebp - 0x18]
movzx ecx, byte [edi + 0x6c0f78]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], al
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x6c0d78]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xa], al
movzx eax, byte [ebx + 0x6c0e78]
movzx ecx, byte [edx + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xb], al
movzx eax, byte [ebx + 0x6c0c78]
movzx ecx, byte [edx + 0x6c0e78]
xor ecx, eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
movzx ecx, byte [esi + 0x6c0f78]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
movzx ecx, byte [edi + 0x6c0d78]
mov byte [edx + 0xd], al
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x6c0e78]
xor ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov byte [edx + 0xe], al
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x6c0e78]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + 0x6c0d78]
xor ecx, eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x6c0f78]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x6c0c78]
xor ecx, eax
mov al, byte [ecx + 0x6c1278]
mov byte [edx + 0xf], al
leave
ret 4