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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [eax + 4]
xor edx, dword [ecx + 4]
push ebx
mov ebx, dword [eax + 8]
xor ebx, dword [ecx + 8]
push esi
mov esi, dword [eax]
xor esi, dword [ecx]
mov eax, dword [eax + 0xc]
xor eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0xc], edx
mov edi, esi
shr edi, 0x10
mov dword [ebp - 4], eax
mov edx, eax
shr edx, 8
mov eax, 0xff
and edi, eax
and edx, eax
mov edx, dword [edx*4 + 0x44f8b8]
xor edx, dword [edi*4 + 0x44fcb8]
mov edi, dword [ebp - 0xc]
shr edi, 0x18
xor edx, dword [edi*4 + 0x4500b8]
mov edi, ebx
and edi, eax
xor edx, dword [edi*4 + 0x44f4b8]
mov edi, dword [ebp - 0xc]
xor edx, dword [ecx + 0x18]
add ecx, 0x10
shr edi, 8
mov dword [ebp - 0x18], edx
and edi, eax
mov edx, ebx
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x44fcb8]
xor edx, dword [edi*4 + 0x44f8b8]
mov edi, dword [ebp - 4]
shr edi, 0x18
xor edx, dword [edi*4 + 0x4500b8]
mov edi, esi
and edi, eax
xor edx, dword [edi*4 + 0x44f4b8]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
shr esi, 8
and esi, eax
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x44fcb8]
xor edi, dword [esi*4 + 0x44f8b8]
mov esi, ebx
shr esi, 0x18
xor edi, dword [esi*4 + 0x4500b8]
mov esi, dword [ebp - 4]
xor edx, dword [ecx]
and esi, eax
xor edi, dword [esi*4 + 0x44f4b8]
mov esi, dword [ebp - 4]
xor edi, dword [ecx + 0xc]
shr esi, 0x10
shr ebx, 8
and esi, eax
mov esi, dword [esi*4 + 0x44fcb8]
and ebx, eax
xor esi, dword [ebx*4 + 0x44f8b8]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x4500b8]
mov ebx, dword [ebp - 0xc]
and ebx, eax
xor esi, dword [ebx*4 + 0x44f4b8]
mov dword [ebp - 0x14], edi
xor esi, dword [ecx + 4]
dec dword [ebp + 0xc]
je 0x41ecfc
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x44f8b8]
mov ebx, edx
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x44fcb8]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4500b8]
mov ebx, dword [ebp - 0x18]
and ebx, eax
xor edi, dword [ebx*4 + 0x44f4b8]
mov ebx, dword [ebp - 0x18]
xor edi, dword [ecx + 0x18]
shr ebx, 0x10
mov dword [ebp - 8], edi
mov edi, esi
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x44f8b8]
and ebx, eax
xor edi, dword [ebx*4 + 0x44fcb8]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4500b8]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + 0x44f4b8]
mov ebx, edx
xor edi, dword [ecx + 0x10]
shr ebx, 8
mov dword [ebp - 0x10], edi
mov edi, esi
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x44fcb8]
and ebx, eax
xor edi, dword [ebx*4 + 0x44f8b8]
mov ebx, dword [ebp - 0x18]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4500b8]
mov ebx, dword [ebp - 0x14]
and ebx, eax
xor edi, dword [ebx*4 + 0x44f4b8]
mov ebx, dword [ebp - 0x18]
xor edi, dword [ecx + 0x1c]
shr edx, 0x18
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x14]
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x44fcb8]
shr ebx, 8
and esi, eax
and ebx, eax
xor edi, dword [ebx*4 + 0x44f8b8]
add ecx, 0x20
xor edi, dword [edx*4 + 0x4500b8]
mov edx, dword [ebp - 4]
xor edi, dword [esi*4 + 0x44f4b8]
mov esi, dword [ebp - 0x10]
xor edi, dword [ecx - 0xc]
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x44f8b8]
shr esi, 0x10
and esi, eax
xor edx, dword [esi*4 + 0x44fcb8]
mov esi, edi
shr esi, 0x18
xor edx, dword [esi*4 + 0x4500b8]
mov esi, dword [ebp - 8]
and esi, eax
xor edx, dword [esi*4 + 0x44f4b8]
mov esi, edi
xor edx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x44fcb8]
shr esi, 8
and esi, eax
xor edx, dword [esi*4 + 0x44f8b8]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
shr esi, 0x18
xor edx, dword [esi*4 + 0x4500b8]
mov esi, dword [ebp - 0x10]
and esi, eax
xor edx, dword [esi*4 + 0x44f4b8]
shr ebx, 8
and ebx, eax
mov esi, edi
shr esi, 0x10
and esi, eax
mov esi, dword [esi*4 + 0x44fcb8]
xor esi, dword [ebx*4 + 0x44f8b8]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x4500b8]
mov ebx, dword [ebp - 4]
and ebx, eax
xor esi, dword [ebx*4 + 0x44f4b8]
mov ebx, dword [ebp - 4]
xor esi, dword [ecx + 0xc]
xor edx, dword [ecx]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 8]
shr ebx, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x44fcb8]
shr esi, 8
and esi, eax
xor ebx, dword [esi*4 + 0x44f8b8]
mov esi, dword [ebp - 0x10]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x4500b8]
and edi, eax
xor ebx, dword [edi*4 + 0x44f4b8]
mov edi, dword [ebp - 0x14]
xor ebx, dword [ecx + 4]
mov esi, ebx
jmp 0x41eb1d
shr edi, 0x18
movzx edi, byte [edi + str.cw]
mov ebx, dword [ebp - 0x18]
shr ebx, 0x10
shl edi, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
or ebx, edi
shl ebx, 8
mov edi, esi
shr edi, 8
and edi, eax
movzx edi, byte [edi + str.cw]
or ebx, edi
shl ebx, 8
mov edi, edx
and edi, eax
movzx edi, byte [edi + str.cw]
or ebx, edi
mov edi, dword [ebp + 8]
add ecx, 0x10
xor ebx, dword [ecx]
mov dword [edi], ebx
mov edi, dword [ebp - 0x14]
shr edi, 0x10
and edi, eax
movzx edi, byte [edi + str.cw]
mov ebx, edx
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl ebx, 8
or edi, ebx
mov ebx, dword [ebp - 0x18]
shr ebx, 8
shl edi, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
or edi, ebx
shl edi, 8
mov ebx, esi
and ebx, eax
movzx ebx, byte [ebx + str.cw]
or edi, ebx
xor edi, dword [ecx + 4]
mov ebx, dword [ebp + 8]
mov dword [ebx + 4], edi
mov edi, edx
shr edi, 0x10
and edi, eax
movzx ebx, byte [edi + str.cw]
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi + str.cw]
shl edi, 8
or ebx, edi
mov edi, dword [ebp - 0x14]
shr edi, 8
and edi, eax
movzx edi, byte [edi + str.cw]
shl ebx, 8
or ebx, edi
mov edi, dword [ebp - 0x18]
and edi, eax
movzx edi, byte [edi + str.cw]
shl ebx, 8
or ebx, edi
xor ebx, dword [ecx + 8]
mov edi, dword [ebp + 8]
shr esi, 0x10
and esi, eax
mov dword [edi + 8], ebx
movzx ebx, byte [esi + str.cw]
mov esi, dword [ebp - 0x18]
shr esi, 0x18
movzx esi, byte [esi + str.cw]
shl esi, 8
or ebx, esi
shr edx, 8
shl ebx, 8
and edx, eax
movzx edx, byte [edx + str.cw]
or ebx, edx
mov edx, dword [ebp - 0x14]
and edx, eax
movzx eax, byte [edx + str.cw]
shl ebx, 8
or ebx, eax
xor ebx, dword [ecx + 0xc]
mov dword [edi + 0xc], ebx
pop edi
pop esi
pop ebx
leave
ret 8