Function at 0x66718582
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, 0xff
mov eax, dword [edi]
xor eax, dword [ecx]
xor ecx, ecx
mov dword [ebp + 8], eax
mov dl, ah
mov cl, byte [ebp + 0xa]
mov ecx, dword [ecx*4 + 0x66794648]
xor ecx, dword [edx*4 + 0x66794a48]
mov edx, eax
shr edx, 0x18
and eax, esi
xor ecx, dword [edx*4 + 0x66794248]
xor edx, edx
xor ecx, dword [eax*4 + 0x66794e48]
xor eax, eax
xor ecx, dword [edi + 4]
mov dword [ebp + 8], ecx
mov dl, ch
mov al, byte [ebp + 0xa]
mov eax, dword [eax*4 + 0x66794648]
xor eax, dword [edx*4 + 0x66794a48]
mov edx, ecx
shr edx, 0x18
and ecx, esi
xor eax, dword [edx*4 + 0x66794248]
xor eax, dword [ecx*4 + 0x66794e48]
mov ecx, dword [ebp + 0xc]
xor eax, dword [edi + 8]
cmp ecx, 3
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0xc]
cmp ecx, 4
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x10]
cmp ecx, 5
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x14]
cmp ecx, 6
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x18]
cmp ecx, 7
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x1c]
cmp ecx, 8
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x20]
cmp ecx, 9
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x24]
cmp ecx, 0xa
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x28]
cmp ecx, 0xb
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x2c]
cmp ecx, 0xc
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x30]
cmp ecx, 0xd
mov eax, edx
mov dword [ebp + 8], eax
jle 0x66718898
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + 0x66794648]
xor edx, dword [ebx*4 + 0x66794a48]
mov ebx, eax
shr ebx, 0x18
and eax, esi
xor edx, dword [ebx*4 + 0x66794248]
xor edx, dword [eax*4 + 0x66794e48]
xor edx, dword [edi + 0x34]
mov eax, edx
mov dword [ebp + 8], eax
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp + 0xa]
mov bl, ah
mov edx, dword [edx*4 + str.ccccwwww]
mov ebx, dword [ebx*4 + str.ccccwwww]
and edx, 0xff0000
and ebx, 0xff00
xor edx, ebx
mov ebx, eax
shr ebx, 0x18
and eax, esi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov eax, dword [eax*4 + str.ccccwwww]
and ebx, 0xff000000
xor edx, ebx
and eax, esi
xor edx, eax
mov eax, dword [ebp + 0x14]
xor edx, dword [edi + ecx*4 + 4]
pop edi
pop esi
pop ebx
mov dword [eax], edx
pop ebp
ret