Function at 0x41def8
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi + 0xf0]
shr eax, 1
mov dword [ebp - 0x20], eax
cmp eax, 7
ja 0x41e3e9
test eax, eax
je 0x41e3e9
mov ecx, dword [edi + 4]
push ebx
call fcn.0041ddc7
xor eax, dword [esi + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0xc], eax
call fcn.0041ddc7
xor eax, dword [esi + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 8], eax
call fcn.0041ddc7
xor eax, dword [esi + 0xc]
mov ecx, dword [edi]
mov dword [ebp - 0x1c], eax
call fcn.0041ddc7
mov ebx, eax
xor ebx, dword [esi]
call fcn.0041dedb
mov edi, dword [ebp - 8]
or ebx, eax
mov ecx, edi
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [edx*4 + 0x45a868]
mov edx, dword [ebp - 0x1c]
xor ecx, dword [eax*4 + 0x45a468]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45a068]
movzx eax, dl
xor ecx, dword [eax*4 + 0x45ac68]
mov eax, esi
xor ecx, dword [eax + 0x10]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x14], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x45a868]
xor ecx, dword [eax*4 + 0x45a468]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45a068]
movzx eax, bl
xor ecx, dword [eax*4 + 0x45ac68]
mov eax, edx
xor ecx, dword [esi + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x10], ecx
mov ecx, edi
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x45a468]
xor eax, dword [ecx*4 + 0x45a068]
mov dword [ebp - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 4]
shr eax, 8
mov edx, dword [edx*4 + 0x45a068]
movzx eax, al
xor ecx, dword [eax*4 + 0x45a868]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
xor edi, dword [eax*4 + 0x45ac68]
mov eax, edi
mov dword [ebp - 4], edi
xor eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
movzx eax, cl
xor edx, dword [eax*4 + 0x45a868]
shr ebx, 0x10
movzx eax, bl
xor edx, dword [eax*4 + 0x45a468]
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x20]
movzx eax, al
jmp 0x41e252
mov esi, dword [ebp - 4]
mov eax, esi
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x45a868]
mov edx, dword [ebp - 0x14]
xor ecx, dword [eax*4 + 0x45a468]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45a068]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x45ac68]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax]
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x45a868]
xor ecx, dword [eax*4 + 0x45a468]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45a068]
movzx eax, dl
xor ecx, dword [eax*4 + 0x45ac68]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + 4]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x1c], ecx
mov ecx, esi
shr dword [ebp - 8], 0x18
shr ecx, 0x18
mov ebx, dword [eax*4 + 0x45a468]
mov esi, dword [ebp - 0xc]
xor ebx, dword [ecx*4 + 0x45a068]
mov ecx, edx
mov edx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
xor ebx, dword [eax*4 + 0x45a868]
movzx eax, dl
shr edx, 8
xor ebx, dword [eax*4 + 0x45ac68]
xor ebx, dword [esi + 8]
movzx eax, dl
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x45a068]
xor edx, dword [eax*4 + 0x45a868]
movzx eax, cl
xor edx, dword [eax*4 + 0x45a468]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x45ac68]
mov eax, ebx
xor edx, dword [esi + 0xc]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x45a868]
xor ecx, dword [eax*4 + 0x45a468]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45a068]
movzx eax, dl
xor ecx, dword [eax*4 + 0x45ac68]
mov eax, esi
xor ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x45a868]
xor ecx, dword [eax*4 + 0x45a468]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45a068]
mov eax, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x45ac68]
mov eax, esi
xor ecx, dword [eax + 0x14]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x10], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0x45a468]
xor eax, dword [ecx*4 + 0x45a068]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x45a068]
xor ecx, dword [eax*4 + 0x45a868]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
xor esi, dword [eax*4 + 0x45ac68]
mov dword [ebp - 4], esi
mov eax, esi
mov esi, dword [ebp - 0xc]
xor eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
movzx eax, cl
xor edx, dword [eax*4 + 0x45a868]
mov eax, dword [ebp - 0x18]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x45a468]
movzx eax, bl
xor edx, dword [eax*4 + 0x45ac68]
xor edx, dword [esi + 0x1c]
add esi, 0x20
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
sub edi, 1
jne 0x41e05b
mov eax, dword [ebp - 4]
mov edi, 0xff000000
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x45ac68]
mov eax, edx
shr eax, 8
and ecx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x45a068]
and eax, 0xff00
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov eax, dword [eax*4 + 0x45a868]
and eax, edi
xor ecx, eax
mov eax, dword [ebp - 0x14]
movzx eax, al
movzx eax, byte [eax*4 + 0x45a468]
xor ecx, eax
xor ecx, dword [esi + 4]
call fcn.0041ddc7
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [ebp - 0x14]
shr ecx, 0x10
movzx ecx, cl
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x45ac68]
mov ecx, dword [ebp - 4]
and edx, 0xff0000
mov eax, dword [eax*4 + 0x45a068]
shr ecx, 0x18
and eax, 0xff00
mov ecx, dword [ecx*4 + 0x45a868]
and ecx, edi
xor ecx, edx
xor ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, al
movzx eax, byte [eax*4 + 0x45a468]
xor ecx, eax
xor ecx, dword [esi + 8]
call fcn.0041ddc7
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x10]
shr ecx, 0x10
movzx ecx, cl
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x45ac68]
mov ecx, dword [ebp - 8]
and edx, 0xff0000
mov eax, dword [eax*4 + 0x45a068]
shr ecx, 0x18
and eax, 0xff00
mov ecx, dword [ecx*4 + 0x45a868]
and ecx, 0xff000000
xor ecx, edx
xor ecx, eax
mov eax, dword [ebp - 4]
movzx eax, al
movzx eax, byte [eax*4 + 0x45a468]
xor ecx, eax
xor ecx, dword [esi + 0xc]
call fcn.0041ddc7
mov esi, eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, dword [ecx*4 + 0x45ac68]
movzx ecx, al
and edx, 0xff0000
mov ecx, dword [ecx*4 + 0x45a068]
and ecx, 0xff00
xor ecx, edx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov eax, dword [eax*4 + 0x45a868]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, al
movzx eax, byte [eax*4 + 0x45a468]
xor ecx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax]
call fcn.0041ddc7
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [ecx], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret